8 is better than 10

It's quite common for the real pmtu to be 8 less than what was
advertised.
This commit is contained in:
Matthias Radestock committed 2014-08-26 21:11:24 +01:00
1 parent c5d39fd5bf
commit 6f30cf2daf
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -146,8 +146,8 @@ func (conn *LocalConnection) forwarderLoop(forwardCh <-chan *ForwardedFrame, sto
// to other data.
pmtuVerifyTick = nil
if !conn.isClientPMTUVerfied() {
clientPMTU -= 10
maxPayload -= 10
clientPMTU -= 8
maxPayload -= 8
updateClientPMTU()
}
case frame = <-forwardCh: