]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backport of the 'httpready' Accept Filter changes from 2.1-dev
authorPaul Querna <pquerna@apache.org>
Wed, 18 Aug 2004 02:52:15 +0000 (02:52 +0000)
committerPaul Querna <pquerna@apache.org>
Wed, 18 Aug 2004 02:52:15 +0000 (02:52 +0000)
Reviewed by: Justin Erenkrantz, Jeff Trawick

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

CHANGES
STATUS
server/listen.c

diff --git a/CHANGES b/CHANGES
index 087c6724a472f8d0afa043c07413ecc867e27a6a..d1702bedd1f5a6b7d646acda57eabb8336bc895f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
 Changes with Apache 2.0.51
 
+  *) Use the higher performing 'httpready' Accept Filter on all platforms 
+     except FreeBSD < 4.1.1. [Paul Querna]
+
   *) mod_usertrack: Escape the cookie name before pasting into the
      regexp.  [AndrĂ© Malo]
 
diff --git a/STATUS b/STATUS
index 33feac2c2141ca0135e3e983e3b615bf90945290..d32c32a9f86cfdcaa0cd7ec6d66023ee60ef23fc 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -1,5 +1,5 @@
 APACHE 2.0 STATUS:                                              -*-text-*-
-Last modified at [$Date: 2004/08/18 02:35:05 $]
+Last modified at [$Date: 2004/08/18 02:52:14 $]
 
 Release:
 
@@ -384,10 +384,6 @@ PATCHES TO BACKPORT FROM 2.1
       which integrates the two rounds of changes)
       +1 concept: trawick, nd
 
-    * Use the httpready accept filter
-        server/listen.c: r1.96
-      +1: trawick, pquerna, jerenkrantz
-
     * Work around RedHat bug 82359 (openssl requires pkg-config):
         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=82369
       Patch (2.1 version already committed, 2.0 has diff OpenSSL config logic):
index 28933e14089a8a2d2f06af4ff8e95e4f88cece00..0cba19d6e138857d3dd974e10978a8b4313ca0e0 100644 (file)
@@ -162,7 +162,13 @@ static apr_status_t make_sock(apr_pool_t *p, ap_listen_rec *server)
 
 #if APR_HAS_SO_ACCEPTFILTER
 #ifndef ACCEPT_FILTER_NAME
+#define ACCEPT_FILTER_NAME "httpready"
+#ifdef __FreeBSD_version
+#if __FreeBSD_version < 411000 /* httpready was broken before 4.1.1 */
+#undef ACCEPT_FILTER_NAME
 #define ACCEPT_FILTER_NAME "dataready"
+#endif
+#endif
 #endif
     apr_socket_accept_filter(s, ACCEPT_FILTER_NAME, "");
 #endif