drop maxpayload in conjunction with clientPMTU

Seems odd to do the latter w/o the former. And wrong.
This commit is contained in:
Matthias Radestock committed 2014-08-26 21:09:23 +01:00
1 parent c6a796675d
commit c5d39fd5bf
1 file changed
+1
+1
View File
@@ -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: