fix: prevent QUIC heartbeat stalls and isolate TCP retransmission counters [CI] [SKIP TESTS]
This commit is contained in:
1 parent
0066a947da
commit
0fd38b2367
14 files changed
+299
-50
No files matched your search
@@ -274,6 +274,11 @@ public sealed class AgentSimulator : IAsyncDisposable
|
||||
{
|
||||
// 已经断开
|
||||
}
|
||||
catch (OperationCanceledException) when (_stop.IsCancellationRequested)
|
||||
{
|
||||
// Canceling the receive loop may abort/dispose the transport
|
||||
// between the State check and CloseOutputAsync.
|
||||
}
|
||||
}
|
||||
|
||||
if (_loop is not null)
|
||||
|
||||
@@ -79,7 +79,7 @@ public static class ChunkFactory
|
||||
var builder = new StreamBuilder(Kinds.TcpEcho.FindStream("tcp_info")!);
|
||||
foreach ((long ts, byte side, uint srtt, uint retrans, uint segs) in samples)
|
||||
{
|
||||
builder.Add(ts, side, srtt, srtt / 4, 10, retrans, segs, segs * 100L);
|
||||
builder.Add(ts, side, srtt, srtt / 4, 10, retrans, segs, segs * 100L, null);
|
||||
}
|
||||
|
||||
return builder.Build();
|
||||
|
||||
Reference in new issue
Block a user