/[Apache-SVN]
ViewVC logotype

Revision 240047


Jump to revision: Previous Next
Author: jorton
Date: Thu Aug 25 12:03:51 2005 UTC (18 years, 8 months ago)
Changed paths: 4
Log Message:
Allow setting both the TCP_NODELAY and TCP_CORK socket options for
Linux >=2.6:

* build/apr_network.m4 (APR_CHECK_TCP_NODELAY_WITH_CORK): New macro.

* configure.in: Use it.

* network_io/unix/sockopt.c (apr_socket_opt_set): If
HAVE_TCP_NODELAY_WITH_CORK is defined, don't toggle TCP_NODELAY when
setting TCP_CORK.

* test/testsockopt.c (corkable): Don't test that TCP_NODELAY and
TCP_CORK are mutually exclusive; caller shouldn't care.

Reviewed by: Justin Erenkrantz


Changed paths

Path Details
Directoryapr/apr/trunk/build/apr_network.m4 modified , text changed
Directoryapr/apr/trunk/configure.in modified , text changed
Directoryapr/apr/trunk/network_io/unix/sockopt.c modified , text changed
Directoryapr/apr/trunk/test/testsockopt.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26