httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r730951 - /httpd/httpd/trunk/server/listen.c
Date Sat, 03 Jan 2009 09:54:07 GMT
Author: rpluem
Date: Sat Jan  3 01:54:07 2009
New Revision: 730951

URL: http://svn.apache.org/viewvc?rev=730951&view=rev
Log:
* APR_TCP_DEFER_ACCEPT is always defined. So this is pointless.

Modified:
    httpd/httpd/trunk/server/listen.c

Modified: httpd/httpd/trunk/server/listen.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/listen.c?rev=730951&r1=730950&r2=730951&view=diff
==============================================================================
--- httpd/httpd/trunk/server/listen.c (original)
+++ httpd/httpd/trunk/server/listen.c Sat Jan  3 01:54:07 2009
@@ -223,14 +223,12 @@
                           accf);
         }
 #else
-#ifdef APR_TCP_DEFER_ACCEPT
         rv = apr_socket_opt_set(s, APR_TCP_DEFER_ACCEPT, 30);
         if (rv != APR_SUCCESS && !APR_STATUS_IS_ENOTIMPL(rv)) {
             ap_log_perror(APLOG_MARK, APLOG_WARNING, rv, p,
                               "Failed to enable APR_TCP_DEFER_ACCEPT");
         }
 #endif
-#endif
     }
 }
 



Mime
View raw message