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
|