Commit fc2b243d authored by Andre Malo's avatar Andre Malo
Browse files

mod_version_for_2.0.x branch:

* Merge 239611 to 290201 from branches/2.0.x


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/mod_version_for_2.0.x@290223 13f79535-47bb-0310-9956-ffa450edef68
parent eae8ec67
Loading
Loading
Loading
Loading
+32 −4
Original line number Diff line number Diff line
@@ -8,7 +8,33 @@ Changes with Apache 2.0.55
     accompanying ap_version_t structure (minor MMN bump).
     [André Malo]
  *) Fix cases where the byterange filter would buffer responses
  *) Add ap_log_cerror() for logging messages associated with particular
     client connections.  [Jeff Trawick]
  *) Correct mod_cgid's argv[0] so that the full path can be delved by the
     invoked cgi application, to conform to the behavior of mod_cgi.
     [Pradeep Kumar S <pradeep.smani gmail.com>]
  *) mod_include: Fix possible environment variable corruption when 
     using nested includes.  PR 12655.  [Joe Orton]
  *) Support the suppress-error-charset setting, as with Apache 1.3.x.
     PR 31274.  [Jeff Trawick]
  *) EBCDIC: Handle chunked input from client or, with proxy, origin
     server.  [Jeff Trawick]
  *) Fix bad globbing comparison which could result in getting
     a directory listing when a file was requested. PR 34512.
     [sean <infamous41md hotmail.com>]
  *) Fix core dump if mod_auth_ldap's mod_auth_ldap_auth_checker()
     was called even if mod_auth_ldap_check_user_id() was not
     (or if it didn't succeed) for non-authoritative cases.
     [Jim Jagielski]
  *) SECURITY: CAN-2005-2728 (cve.mitre.org)
     Fix cases where the byterange filter would buffer responses
     into memory.  PR 29962.  [Joe Orton]
  *) mod_proxy: Fix over-eager handling of '%' for reverse proxies.
@@ -25,7 +51,7 @@ Changes with Apache 2.0.55
  *) mod_ssl: Fix build with OpenSSL 0.9.8.  PR 35757.  [William Rowe]
  *) SECURITY: CAN-2005-2088
  *) SECURITY: CAN-2005-2088 (cve.mitre.org)
     core: If a request contains both Transfer-Encoding and Content-Length
     headers, remove the Content-Length, mitigating some HTTP Request 
     Splitting/Spoofing attacks.  [Paul Querna, Joe Orton]
@@ -213,7 +239,8 @@ Changes with Apache 2.0.53
     is causing a potential problem with the LDAP shared memory cache.
     PR 31431 [Graham Leggett]
  *) mod_disk_cache: Do not store hop-by-hop headers.  [Justin Erenkrantz]
  *) SECURITY: CAN-2004-1834 (cve.mitre.org)
     mod_disk_cache: Do not store hop-by-hop headers.  [Justin Erenkrantz]
  *) Fix the re-linking issue when purging elements from the LDAP cache
     PR 24801.  [Jess Holle <jessh ptc.com>]
@@ -1239,7 +1266,8 @@ Changes with Apache 2.0.46
     names faulted the running OS2 worker process.  The fix is
     actually in APR 0.9.4.  [Brian Havard]
  *) Forward port: Escape special characters (especially control
  *) SECURITY: CAN-2003-0083 (cve.mitre.org)
     Forward port: Escape special characters (especially control
     characters) in mod_log_config to make a clear distinction between
     client-supplied strings (with special characters) and server-side
     strings. This was already introduced in version 1.3.25.
+213 −216
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ RELEASE SHOWSTOPPERS:
      httpd/branches/2.0.x/... preserving the detail of all of the individually
      backported changes.

       +1: wrowe, jim
       +1: wrowe, jim, minfrin
       -1:

      For a complete history of individual unit changes, see r230703 - r230744 in
@@ -129,17 +129,7 @@ RELEASE SHOWSTOPPERS:


PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
  [ please append new backports at the end of this list not the top. ]

    *) several changes to improve logging of connection-oriented errors, including
       ap_log_cerror() API (needs minor bump in addition to changes below)
         http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/core.c?r1=1.289&r2=1.291
         http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/log.c?r1=1.150&r2=1.151
         http://cvs.apache.org/viewcvs.cgi/httpd-2.0/include/http_log.h?r1=1.46&r2=1.48
       +1: trawick, stoddard, wrowe 
       [wrowe notes that his previous objection is moot, based on security fixes
        applied between .44 and .54 - but -please- doxygen the version of Apache
        required in the API header note, for users who adopt this alternative.]
  [ start all new proposals below, under PATCHES PROPOSED. ]

    *) mod_cgi: Added API call and overload of detached field in
       cgi_exec_info_t structure to support loading in current or new address
@@ -172,7 +162,7 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
          nd: I'm going to reverse the default
          jerenkrantz, striker: I'm confused as to the status of this backport.

    * support/check_forensic: Fix tempfile usage
    *) support/check_forensic: Fix tempfile usage
       svn rev 125495, 126224
       jerenkrantz says: r126224 fixes brokenness with r125495 on Solaris.
       +1: thommay, jerenkrantz, trawick
@@ -183,49 +173,43 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
                    mod_log_forensic), I think it's still worth it to backport
                    it as-is.  For the one or two platforms that don't like 
                    which, they can write their own version of the script.
       (jorton agrees)

    * Win32: Move call to mpm_service_install to the rewrite_args hook
    *) Win32: Move call to mpm_service_install to the rewrite_args hook
       from the post_config hook.
         http://svn.apache.org/viewcvs?view=rev&rev=154319
       +1: stoddard, striker, wrowe (as corrected in subsequent patches)

    * mod_version: New Module, Backport from trunk. Requires Minor MMN Bump.
      http://svn.apache.org/repos/asf/httpd/httpd/branches/mod_version_for_2.0.x
      +1: pquerna, nd
      Votes from before the integration branch:
          +1: jerenkrantz, wrowe (trivial, would even be cool in 1.3)

     *) proxy FTP: Fix confusion about globbing characters which could lead
        to getting a directory listing when a file was requested.  PR 34512.
        2.1 patch was http://svn.apache.org/viewcvs?rev=179704&view=rev
        2.0 version: http://people.apache.org/~trawick/179704-20.txt
        +1: trawick, jorton, wrowe

    *) Prevent bad dereferencing of non-existent req struct in
       mod_auth_ldap's mod_auth_ldap_auth_checker() if
       mod_auth_ldap_check_user_id() was never (fully) called.
       Similar behavior to that in 2.1/2.2.
         http://people.apache.org/~jim/mod_auth_ldap-2.0.patch
       +1: jim, minfrin, bnicholes

    *) Add httxt2dbm for creating RewriteMap DBM Files.
       http://svn.apache.org/viewcvs.cgi?rev=209539&view=rev
       +1: pquerna, jorton, trawick

PATCHES PROPOSED TO BACKPORT FROM TRUNK:
  [ please place SVN revisions from trunk here, so it is easy to
    identify exactly what the proposed changes are! ]
    *) Remove the base href tag from mod_proxy_ftp, as it breaks relative
       links for clients not using an Authorization header.
         modules/proxy/mod_proxy_ftp.c: r231044
       +1: minfrin, jim, nd

    *) mod_version: New Module, Backport from trunk. Requires Minor MMN Bump.
       http://svn.apache.org/repos/asf/httpd/httpd/branches/mod_version_for_2.0.x
       +1: pquerna, nd, wrowe
       Votes from before the integration branch: +1: jerenkrantz

    *) Fix CAN-2005-2491, integer overflow in pcre.
         http://svn.apache.org/viewcvs?rev=233493&view=rev
       rediff for 2.0: http://people.apache.org/~jorton/CAN-2005-2491.patch
       test case: perl-framework/t/security/CAN-2005-2491.t
       +1: jorton, nd
       +1: jorton, nd, wrowe

    *) Remove the base href tag from mod_proxy_ftp, as it breaks relative
       links for clients not using an Authorization header.
         modules/proxy/mod_proxy_ftp.c: r231044
       +1: minfrin, jim, nd
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
  [ please place SVN revisions from trunk here, so it is easy to
    identify exactly what the proposed changes are!  Add all new
    proposals to the end of this list. ]

    *) Fix CAN-2005-2700, mod_ssl SSLVerifyClient bug
         http://svn.apache.org/viewcvs?rev=264800&view=rev
       test case: perl-framework/t/security/CAN-2005-2700.t
       +1: jorton, wrowe
       wrowe cautions to backport to 2.2.x branch as well.

    *) Correct RFC 2616 non-compliance by refusing to proxy a request body 
       in a TRACE request, unless TraceEnable extended is configured.
@@ -233,7 +217,11 @@ PATCHES PROPOSED TO BACKPORT FROM TRUNK:
       full control of TRACE request handling.  RFC 2616 does NOT require
       TRACE (although to disable remains silly).  Current patch at;
          http://people.apache.org/~wrowe/httpd-2.0-trace.patch
       +1 wrowe, jimjag
       +1 wrowe, jimjag, colm
         colm notes: There are some \n's in apr_table_setn calls that are
                     not consistent with other calls to apr_table_setn.
                     There is no documentation for TraceEnable in trunk to 
                     backport, shouldn't release while still undocumented.

    *) mod_headers: Support {...}s tag for SSL variable lookup.
       http://www.apache.org/~jorton/mod_headers-2.0-ssl.diff
@@ -287,50 +275,26 @@ PATCHES PROPOSED TO BACKPORT FROM TRUNK:
        rediffed for 2.0.x as:
        http://issues.apache.org/bugzilla/attachment.cgi?id=14804
        PR: 34452
        +1: jorton

     *) EBCDIC: Handle chunked input from client or, with proxy, origin
        server.
        http://svn.apache.org/viewcvs?rev=178262&view=rev
        (With 2.0.x it is the same code in the same function, but in 
        a different source file.)
        +1: trawick, wrowe, nd

     *) Support the suppress-error-charset setting, as with Apache 1.3.x.
        PR 31274. (current docs say it works with Apache from 2.0.40 ;) )
        http://svn.apache.org/viewcvs?rev=170354&view=rev
        +1: trawick, jorton, nd
        +1: jorton, trawick

     *) mod_mime_magic: Handle CRLF-format magic files so that it works with
        the default installation on Windows. 
     *) mod_mime_magic: Handle CRLF-format^H^H^H^H^H^H^H magic files 
        with any trailing whitespace so that it works with the
        default installation on Windows.
        http://svn.apache.org/viewcvs?rev=179622&view=rev
        http://svn.apache.org/viewcvs?rev=280114&view=rev
        +1: trawick, wrowe
        wrowe asks: is it possible to simply strip trailing whitespace instead
                    of special handling for the end of line characters?  
                    Seems more portable.
        trawick says: makes sense; searching for bandwidth
         backported 280114 to 2.2.x branch already

     *) mod_cache: Fix handling of 'Vary: *". PR 16125.
        Trunk: r180341
        2.0.x Patch: http://issues.apache.org/bugzilla/attachment.cgi?id=15297
        +1: pquerna
        +1: pquerna, jerenkrantz, colm
        jerenkrantz notes: I do prefer the version from r190033 (own if check).

     *) mod_ssl: Fix buffering in SSL output filter.
        http://svn.apache.org/viewcvs?rev=189971&view=rev
        PR: 35279
        +1: jorton

     *) mod_include: Fix possible variable corruption with nested
        includes.
        http://svn.apache.org/viewcvs?rev=179763&view=rev
        2.0.x patch: http://people.apache.org/~jorton/ap_pr12655.patch
        test case in perl-framework/t/modules/include.t
        PR: 12655
        +1: jorton, nd

     *) mod_auth_digest: Fix hostinfo validation for CONNECT requests.
        http://svn.apache.org/viewcvs.cgi?rev=193127&view=rev
        +1: jorton, nd
        +1: jorton, jerenkrantz

     *) Reverse Proxy fixes: <Location> bug and Cookie support
        Patch is at
@@ -338,6 +302,39 @@ PATCHES PROPOSED TO BACKPORT FROM TRUNK:
        and is in production with Clients.
        +1: niq, nd
          niq: I'm seeing *a lot* of demand for this.
          jerenkrantz: Didn't a variant of this get committed to trunk?
                       If so, what revision?  And, is there a clean patch for
                       2.0?  (The patch in that message isn't clean.)

    *) Block mod_cgid usage on Solaris 10 due to OS bugs.  PR 34264.
       http://svn.apache.org/viewcvs?view=rev&rev=264866
       +1: jerenkrantz, colm

    *) mod_cgid: Fix PR 36410. Invoke the set_suexec_identity hook from
       the non-cgid side of the handler, where the full per-server/dir/etc
       configuration is available instead of using two mod_suexec and
       mod_userdir specific hacks. See mod_vhost_ldap for an example
       third-party get_suexec_identity implementation.
         http://people.apache.org/~colm/2.0.x-suexec-cgid.patch
       +1: colm
  
    *) Add ReceiveBufferSize directive to control the TCP receive buffer. 
       code: http://svn.apache.org/viewcvs?view=rev&rev=157583
             http://svn.apache.org/viewcvs?rev=280401&view=rev
       docs: http://svn.apache.org/viewcvs?rev=280384&view=rev
       +1: stas
       -0: colm
           colm: It's a useful feature, but TCP window size selection 
                 algorithims can be pretty "interesting", probably more
                 2.2. 

    *) mod_ldap: Fix PR 36563. Keep track of the number of attributes
       retrieved from LDAP so that all of the values can be properly 
       cached even if the value is NULL.
         http://issues.apache.org/bugzilla/attachment.cgi?id=16429
	 or 
	 http://svn.apache.org/viewcvs.cgi?rev=156587&view=rev
       +1: bnicholes

PATCHES TO BACKPORT THAT ARE ON HOLD OR NOT GOING ANYWHERE SOON:

@@ -376,7 +373,7 @@ PATCHES TO BACKPORT THAT ARE ON HOLD OR NOT GOING ANYWHERE SOON:
              2.0, just let 'em in
       -1: wrowe (as nd suggests, leave the dead horse in peace.)

    * Replace some of the mutex locking in the worker MPM with
    *) Replace some of the mutex locking in the worker MPM with
       atomic operations for higher concurrency.
         server/mpm/worker/fdqueue.c 1.24, 1.25
       +1: brianp, ianh, jjclar
@@ -389,12 +386,12 @@ PATCHES TO BACKPORT THAT ARE ON HOLD OR NOT GOING ANYWHERE SOON:
                favour waiting for 2.2.
       -0: stoddard (at least until the performance implications are clarified)

    * Allow mod_dav to do weak entity comparison functions.
    *) Allow mod_dav to do weak entity comparison functions.
       modules/dav/main/util.c: r1.45
       [ This one is under review.  Don't merge.  ]
       +1:

    * mod_negotiation: parse quality values independent from
    *) mod_negotiation: parse quality values independent from
       the current locale and level values as integers. PR 17564.
       (essentially: get a rid of atof()) (2.0 + 1.3)
       modules/mappers/mod_negotiation.c: r1.114
@@ -405,14 +402,14 @@ PATCHES TO BACKPORT THAT ARE ON HOLD OR NOT GOING ANYWHERE SOON:
         1.0: nd
         0.0: jim (a default != an "errored" value)

    * Keep the same SSLMutex for the lifetime of the parent process
    *) Keep the same SSLMutex for the lifetime of the parent process
       (instead of having children using different mutexes and failing
       to lock the session cache across restarts.)
       New patch forthcoming - JimJag's changes make the merge ugly.
       +1: wrowe
       +1 (concept): jim (final vote when the patch is available)

    * Fix the SSLMutex config parser so that all 'mechanisms' can take
    *) Fix the SSLMutex config parser so that all 'mechanisms' can take
       a filename, even if ignored, and they are rooted to the full path
       to the server (except for posixsem locks).  This allows a very
       cross-platform default:logs/ssl_mutex to be used everywhere.  Also
@@ -422,7 +419,7 @@ PATCHES TO BACKPORT THAT ARE ON HOLD OR NOT GOING ANYWHERE SOON:
       +1: wrowe
       +1 (concept): jim (final vote when the patch is available)

    * mod_ssl: Drop SSL_EXPERIMENTAL_ENGINE test in favor of testing for the
    *) mod_ssl: Drop SSL_EXPERIMENTAL_ENGINE test in favor of testing for the
       ENGINE_init() function in config.m4, and use HAVE_ENGINE_INIT instead.
       wrowe notes that this feature is a noop until configured with SSLEngine.
       http://www.apache.org/~wrowe/have_engine_init.patch for a clean 2.0 patch.
@@ -437,7 +434,7 @@ PATCHES TO BACKPORT THAT ARE ON HOLD OR NOT GOING ANYWHERE SOON:
                  shows breakage on Solaris which can't -lcrypto -lssl without
                  the extra pkgconfig/openssl.pc Libs: * foo }

    * mod_ssl: fix a link failure when the openssl-engine libraries are
    *) mod_ssl: fix a link failure when the openssl-engine libraries are
       present but the engine headers are missing.
         modules/ssl/mod_ssl.c: r1.87
         modules/ssl/mod_ssl.h: r1.139
@@ -445,7 +442,7 @@ PATCHES TO BACKPORT THAT ARE ON HOLD OR NOT GOING ANYWHERE SOON:
       PREREQ: Blow away of SSL_EXPERIMENTAL_ENGINE (see above)
       +1: jwoolley, trawick, jim, jerenkrantz

    * When UseCanonicalName is set to OFF, allow ap_get_server_port to 
    *) When UseCanonicalName is set to OFF, allow ap_get_server_port to 
       check r->connection->local_addr->port before defaulting to 
       server->port or ap_default_port()
         server/core.c r1.247
@@ -461,11 +458,11 @@ PATCHES TO BACKPORT THAT ARE ON HOLD OR NOT GOING ANYWHERE SOON:
	    which implements this, keeping UseCanonicalName Off
 	    "as is".

    * ThreadStackSize for Win32 and threaded MPMs
    *) ThreadStackSize for Win32 and threaded MPMs
       trawick will eventually put together a patch for httpd 2.0.next
       +1 concept: trawick, nd, stoddard, wrowe
      
    * don't propagate input headers describing a body to a GET subrequest
    *) don't propagate input headers describing a body to a GET subrequest
       with no body
       http://svn.apache.org/viewcvs?view=rev&rev=158798
       http://svn.apache.org/viewcvs?view=rev&rev=159410
@@ -488,13 +485,13 @@ PATCHES TO BACKPORT THAT ARE ON HOLD OR NOT GOING ANYWHERE SOON:

CURRENT VOTES:

    * Promote mod_ldap and mod_auth_ldap from experimental to
    *) Promote mod_ldap and mod_auth_ldap from experimental to
       non experimental status.
       +1: bnicholes, wrowe
       +0: minfrin (wait till the last cache bugs are ironed out)
       -1: jerenkrantz

    * httpd-std.conf and friends;
    *) httpd-std.conf and friends;

      a) httpd-std.conf should be tailored by install (from src or
         binbuild) even if user has existing httpd.conf
@@ -527,7 +524,7 @@ CURRENT VOTES:
                 include the updated directives and inline comments
                 that explain the changes and make the 'diff' more useful.

    * If the parent process dies, should the remaining child processes
    *) If the parent process dies, should the remaining child processes
       "gracefully" self-terminate. Or maybe we should make it a runtime
       option, or have a concept of 2 parent processes (one being a 
       "hot spare").
@@ -543,7 +540,7 @@ CURRENT VOTES:
                       +0: Martin (while standing by, could it do
                                  something useful?)

    * Make the worker MPM the default MPM for threaded Unix boxes.
    *) Make the worker MPM the default MPM for threaded Unix boxes.
       +1:   Justin, Ian, Cliff, BillS, striker
       +0:   BrianP, Aaron (mutex contention is looking better with the
             latest code, let's continue tuning and testing), rederpj, jim
+1 −1
Original line number Diff line number Diff line
@@ -590,7 +590,7 @@ dnl Ensure that docs/conf is created.
test -d docs/conf||$mkdir_p docs/conf

dnl Ensure that the httpd version is included
HTTPD_VERSION=`build/get-version.sh all include/ap_release.h AP_SERVER`
HTTPD_VERSION=`$srcdir/build/get-version.sh all $srcdir/include/ap_release.h AP_SERVER`
AC_SUBST(HTTPD_VERSION)

AC_OUTPUT($APACHE_OUTPUT_FILES docs/conf/httpd-std.conf docs/conf/ssl-std.conf include/ap_config_layout.h support/apxs support/apachectl support/dbmmanage support/envvars-std support/log_server_status support/logresolve.pl support/phf_abuse_log.cgi support/split-logfile build/rules.mk build/pkg/pkginfo,[true],[
+1 −1
Original line number Diff line number Diff line
@@ -303,7 +303,7 @@
   <h3><a name="suppress-error-charset" id="suppress-error-charset">suppress-error-charset</a></h3>
       

    <p><em>Available in versions after 2.0.40</em></p>
    <p><em>Available in versions after 2.0.54</em></p>

    <p>When Apache issues a redirect in response to a client request,
    the response includes some actual text to be displayed in case
+4 −0
Original line number Diff line number Diff line
@@ -24,6 +24,10 @@
<a href="./ja/env.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="./ko/env.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
</div>
<div class="outofdate">Esta traducción podría estar
            obsoleta. Consulte la versión en inglés de la
            documentación para comprobar si se han producido cambios
            recientemente.</div>

    <p>El servidor HTTP Apache HTTP ofrece un mecanismo para almacenar
    información en variables especiales que se llaman
Loading