fix(windows): 避免 Quick Tunnel 复用旧日志地址 - #61
Merged
Conversation
uvwt
force-pushed
the
fix/windows-quick-tunnel-log-offset
branch
from
September 4, 2026 13:12
cf9dea3 to
ad5a3bd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
说明
Windows Quick Tunnel regenerate 时 cloudflared 日志会持续追加,旧实现每次从日志开头解析,导致复用上一代 trycloudflare.com 地址。
本修复在启动新 cloudflared 前记录日志文件身份与大小,只解析本轮新增日志;若日志发生轮转/替换则从新文件开头读取。保留现有日志轮转与历史排障能力。
验证