In message <Pine.NEB.4.33.0207171240240.1973-100000@vespasia.home-net.internetco
nnect.net>Bill Studenmund writes:
>Turns out that the problem is that our code doesn't copy tcp options from
>the listening socket to the connected socket. As mentioned in the PR, this
>seems like a bug to me.
Bill,
As Jason said: please commit it, request a pullup for the 1.6 branch.
FWIW, FreeBSD now inherits TCP_NODELAY across accept() and has done
since approximately their 4.5 release; so compatibility with `the rest
of the BSD world' argues for it.
It does open a slippery-slope for inheriting other options, like
keepalive... and once it becomes a per-socket option, the keepalive
interval.