chen08209:Concord 主线修复零字节 MRS 缓存阻止首次下载,尚未发版
chen08209 说明,Concord 的空缓冲区提前返回曾把零字节规则缓存当作已加载;若文件修改时间较近,就会跳过首次下载。主线提交 6f6e982f 改为继续解析:空 MRS 缓存解析失败后立即下载,零字节 text 或 yaml 缓存仍可加载为空规则集。作者区分了空文件与 HTTP 304 的 nil 缓冲区,并注明修复尚未随版本发布。
作者原文@chen08209Thanks for the precise report. Fixed in
mainby 6f6e982f, not yet in a release.The rule provider returned early for an empty buffer, so a zero-byte cache counted as loaded and its recent mtime skipped the first download. mihomo skips the parser only for a nil buffer (a 304 response); an empty file still reaches it. Concord now does the same: an empty MRS cache fails to parse and the provider downloads at once. A zero-byte
textoryamlcache still loads as an empty set, as it does under mihomo.