drop maxpayload in conjunction with clientPMTU
Seems odd to do the latter w/o the former. And wrong.
This commit is contained in:
1 parent
c6a796675d
commit
c5d39fd5bf
1 file changed
+1
@@ -147,6 +147,7 @@ func (conn *LocalConnection) forwarderLoop(forwardCh <-chan *ForwardedFrame, sto
|
||||
pmtuVerifyTick = nil
|
||||
if !conn.isClientPMTUVerfied() {
|
||||
clientPMTU -= 10
|
||||
maxPayload -= 10
|
||||
updateClientPMTU()
|
||||
}
|
||||
case frame = <-forwardCh:
|
||||
|
||||
Reference in new issue
Block a user