网络质量探测 1.1.3:自更新、HTTP/3 与中心节点
版本名 1.1.3,构建号 6。应用标识和签名未改。包含自动更新、覆盖安装、目标历史、IPv4/IPv6 开关、HTTP(含 HTTP/3)以及中心服务端一键添加节点。
This commit is contained in:
1 parent
943259774f
commit
8cdc0f436f
66 files changed
+5489
-78
No files matched your search
@@ -69,6 +69,12 @@ MetricLine _timeoutLine(ProbeSummary summary, String profileId) {
|
||||
case 'tcp-connect':
|
||||
case 'minecraft-java':
|
||||
return const MetricLine('超时', '不适用', detail: '这种探测把连不上记为失败,不单独叫探测超时。');
|
||||
case 'http':
|
||||
return const MetricLine(
|
||||
'超时',
|
||||
'不适用',
|
||||
detail: 'HTTP 把连不上记为失败。已经收到的 4xx 和 5xx 是状态码,不是丢包,也不算进超时。',
|
||||
);
|
||||
default:
|
||||
return MetricLine(
|
||||
'超时',
|
||||
@@ -97,6 +103,12 @@ MetricLine _rateLine(ProbeSummary summary, String profileId) {
|
||||
formatPct(summary.failurePct),
|
||||
detail: '未成功的正式尝试 ÷ 已完成的正式尝试。这不是物理丢包。',
|
||||
);
|
||||
case 'http':
|
||||
return MetricLine(
|
||||
'失败率',
|
||||
formatPct(summary.failurePct),
|
||||
detail: '连不上或协议不对才算失败。收到 HTTP 响应就算成功,4xx 和 5xx 只显示状态码,不叫丢包。曲线上的延迟是这一次的总时间。',
|
||||
);
|
||||
default:
|
||||
return MetricLine(
|
||||
'无应答(未知)',
|
||||
|
||||
Reference in new issue
Block a user