forked from quic-go/quic-go
remove unused SetMax method on the mtuDiscoverer (#4543)
This commit is contained in:
@@ -61,10 +61,6 @@ func (f *mtuFinder) done() bool {
|
|||||||
return f.max-f.current <= maxMTUDiff+1
|
return f.max-f.current <= maxMTUDiff+1
|
||||||
}
|
}
|
||||||
|
|
||||||
func (f *mtuFinder) SetMax(max protocol.ByteCount) {
|
|
||||||
f.max = max
|
|
||||||
}
|
|
||||||
|
|
||||||
func (f *mtuFinder) Start() {
|
func (f *mtuFinder) Start() {
|
||||||
if f.max == protocol.InvalidByteCount {
|
if f.max == protocol.InvalidByteCount {
|
||||||
panic("invalid")
|
panic("invalid")
|
||||||
|
|||||||
Reference in New Issue
Block a user