implement server-side path validation logic (#4944)

This commit is contained in:
Marten Seemann
2025-02-12 13:50:11 +01:00
committed by GitHub
parent ca26e98781
commit 5a1a34df37
5 changed files with 520 additions and 73 deletions

View File

@@ -17,6 +17,7 @@ type mtuDiscoverer interface {
ShouldSendProbe(now time.Time) bool
CurrentSize() protocol.ByteCount
GetPing(now time.Time) (ping ackhandler.Frame, datagramSize protocol.ByteCount)
Reset(now time.Time, start, max protocol.ByteCount)
}
const (