On Aug 26, 2005, at 1:59 AM, Joe Orton wrote:
On Fri, Aug 26, 2005 at 01:23:15AM -0700, Brian Pane wrote:
I didn't think it was actually possible for APR to allow TCP_CORK and
TCP_NODELAY
at the same time. From the tcp(7) manual page on my FC4
installation,
That's out of date yes, see recent thread ;)
All 2.6.x kernels do allow setting both TCP_CORK and TCP_NODELAY at
the
same time.
All current 2.6.x kernels have the bug in TCP_CORK handling which
means
that if TCP_NODELAY was ever enabled on the socket, TCP_CORK will not
take effect.
The fix for that was in the 2.6.13-rc7 release, for the curious:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/
linux-2.6.git;a=commit;h=89ebd197eb2cd31d6187db344d5117064e19fdde
Ah, thanks. With this kernel fix forthcoming, the current httpd
implementation
(sans my patch) will do the right thing for both sendfile and non-
sendfile responses.
Brian