]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Now that APR knows when TCP_NODELAY is inherited, use its setting to
authorJeff Trawick <trawick@apache.org>
Thu, 5 Apr 2001 19:04:14 +0000 (19:04 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 5 Apr 2001 19:04:14 +0000 (19:04 +0000)
know when to set that option on the listening socket.

(not that I understand to start with why we bother saving this minimal
pathlength when it isn't inherited)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88733 13f79535-47bb-0310-9956-ffa450edef68

server/listen.c

index c3926c1aef6122f79d24cb6cb18aea0ea30193b6..a525de09ba3b45aab73135cb2d2d92e362a34fb2 100644 (file)
@@ -137,7 +137,7 @@ static apr_status_t make_sock(apr_pool_t *p, ap_listen_rec *server)
        }
     }
 
-#if DISABLE_NAGLE_INHERITED
+#if APR_TCP_NODELAY_INHERITED
     ap_sock_disable_nagle(s);
 #endif