]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
DTLS MTU detection fixes
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 14 Sep 2016 16:22:45 +0000 (17:22 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 14 Sep 2016 16:25:50 +0000 (17:25 +0100)
commit8adb493b318232b8a916c65362a756b46b54a4e1
tree0fad5f7629f7ab7e3f05def162402d787bfa3f02
parentb514985cdd5559c85b067a6df6de8a008ea1a211
DTLS MTU detection fixes

Most importantly, in some circumstances it was setting the "detected"
MTU to the value of the first *failing* packet size, not the last
working one. But also fix up various other issues too, and optimise it
for the common case where the negotiated MTU *is* actually working.

There are still issues with the way we choose the next candidate address,
and it might never reach the actual best MTU. But it's better than it was.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
dtls.c