Commit Graph
5 Commits
Author SHA1 Message Date
Matthias Radestock 6f30cf2daf 8 is better than 10
It's quite common for the real pmtu to be 8 less than what was
advertised.
2014-08-26 21:11:24 +01:00
Matthias Radestock c5d39fd5bf drop maxpayload in conjunction with clientPMTU
Seems odd to do the latter w/o the former. And wrong.
2014-08-26 21:09:23 +01:00
Matthias Radestock c6a796675d pay attention to EMSGSIZE errors when sending pmtu verification packets
and drop the pmtu accordingly
This way, when we actually *do* get pmtu info from the network/kernel
we can discover the correct pmtu much more quickly. Especially in the
absence of other traffic, forwarding of which was previously the only
place where we'd check for EMSGSIZE.

Fixes #12
2014-08-26 21:05:13 +01:00
Matthias Radestock f0182ba471 refactor: reduce indentation 2014-08-23 10:32:39 +01:00
Matthias Radestock e6feefa1fc initial commit 2014-08-18 17:55:26 +01:00