Subject: | TCP segment handling issue? |
Date: | Fri, 18 Nov 2016 20:17:07 +0900 |
To: | bind9-bugs@isc.org |
From: | "Ray Bellis" <ray@isc.org> |
Via kato@wide.ac.jp:
bind-9.11.0-p1 seems to me that it applys TCP_MAXSEG to 1220byte even
in IPv4, resulting TCP transmission a little bit less efficient. At
around line 3698 of lib/isc/unix/socket.c, the code should be executed
only if protocol family is AF_INET6:
if (NEWCONNSOCK(dev)->pf == AF_INET6) {
use_min_mtu(NEWCONNSOCK(dev));
set_tcp_maxseg(NEWCONNSOCK(dev), 1280 - 20 - 40);
}
This relates to the survey done by Geoff Huston and reported on his blog
earlier this week.