From: Jeff Trawick Date: Tue, 25 Jun 2013 11:45:19 +0000 (+0000) Subject: core: Support the SINGLE_LISTEN_UNSERIALIZED_ACCEPT optimization X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4df75c5b5284f7bf18f6440bc382be04e2494558;p=thirdparty%2Fapache%2Fhttpd.git core: Support the SINGLE_LISTEN_UNSERIALIZED_ACCEPT optimization on Linux kernel versions 3.x and above. PR: 55121 Submitted by: Bradley Heilbrun Reviewed by: trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1496429 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 5bc8bcc54f8..cba349ebace 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,10 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + *) core: Support the SINGLE_LISTEN_UNSERIALIZED_ACCEPT optimization + on Linux kernel versions 3.x and above. PR 55121. [Bradley Heilbrun + ] + *) core: merge AllowEncodedSlashes from the base configuration into virtual hosts. [Eric Covener] diff --git a/configure.in b/configure.in index 6e86cfee0f3..5e71f9a29d5 100644 --- a/configure.in +++ b/configure.in @@ -323,10 +323,11 @@ case $host in ;; *-linux-*) case `uname -r` in - 2.[[2-9]]* ) - APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1]) + # Unserialized accept() was not recommended until Linux 2.2. + [[01]].* | 2.[[01]]* ) ;; * ) + APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1]) ;; esac ;;