Commit 9de3996d authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

core: Support the SINGLE_LISTEN_UNSERIALIZED_ACCEPT optimization

on Linux kernel versions 3.x and above.

PR: 55121
Backports: r1496429
Submitted by: Bradley Heilbrun <apache heilbrun.org>
Reviewed by: trawick, wrowe, rjung



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1497443 13f79535-47bb-0310-9956-ffa450edef68
parent fc9a0f09
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -42,6 +42,10 @@ Changes with Apache 2.2.25
     result in a 412 Precondition Failed. PR54610 [Timothy Wood
     <tjw omnigroup.com>]

  *) core: Support the SINGLE_LISTEN_UNSERIALIZED_ACCEPT optimization
     on Linux kernel versions 3.x and above.  PR 55121.  [Bradley Heilbrun
     <apache heilbrun.org>]

Changes with Apache 2.2.24

  *) SECURITY: CVE-2012-3499 (cve.mitre.org)
+0 −6
Original line number Diff line number Diff line
@@ -112,12 +112,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
    2.2.x patch: trunk patch works (minus CHANGES)
    +1: minfrin, wrowe, rjung

  * core: Support the SINGLE_LISTEN_UNSERIALIZED_ACCEPT optimization
    on Linux kernel versions 3.x and above.  (PR 55121)
    trunk patch: http://svn.apache.org/r1496429
    2.2.x patch: trunk patch works modulo CHANGES
    +1: trawick, wrowe, rjung

  * mod_ssl/proxy: enable the SNI extension for backend TLS connections
    [Kaspar Brand]
    2.2.x patch: http://people.apache.org/~rjung/patches/r1175416-2.0-v2.patch
+3 −2
Original line number Diff line number Diff line
@@ -275,10 +275,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
      ;;