]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
4 years ago* modules/ssl/ssl_engine_init.c (ssl_init_server_certs): Fix use of
Joe Orton [Tue, 29 Jun 2021 11:24:17 +0000 (11:24 +0000)] 
* modules/ssl/ssl_engine_init.c (ssl_init_server_certs): Fix use of
  encrypted private keys with OpenSSL 3.0.

* test/travis_run_linux.sh: For TEST_SSL, test loading encrypted
  private keys.

Github: closes #{197}

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

4 years agoLabel duplicates introduced in r1891019.
Joe Orton [Tue, 29 Jun 2021 08:13:19 +0000 (08:13 +0000)] 
Label duplicates introduced in r1891019.

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

4 years agoAdd log tags.
Graham Leggett [Thu, 24 Jun 2021 14:17:02 +0000 (14:17 +0000)] 
Add log tags.

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

4 years agodbm: Split the loading of a dbm driver from the opening of a dbm file. When
Graham Leggett [Thu, 24 Jun 2021 10:27:49 +0000 (10:27 +0000)] 
dbm: Split the loading of a dbm driver from the opening of a dbm file. When
an attempt to load a dbm driver fails, log clearly which driver triggered
the error (not "default"), and what the error was.

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 19 Jun 2021 15:30:10 +0000 (15:30 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML file update.
Lucien Gentis [Sat, 19 Jun 2021 15:29:14 +0000 (15:29 +0000)] 
fr doc XML file update.

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

4 years ago * log-tags always win.
Stefan Eissing [Fri, 11 Jun 2021 11:40:38 +0000 (11:40 +0000)] 
 * log-tags always win.

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

4 years ago *) mod_ssl: tighten the handling of ALPN for outgoing (proxy)
Stefan Eissing [Fri, 11 Jun 2021 10:45:25 +0000 (10:45 +0000)] 
  *) mod_ssl: tighten the handling of ALPN for outgoing (proxy)
     connections. If ALPN protocols are provided and sent to the
     remote server, the received protocol selected is inspected
     and checked for a match. Without match, the peer handshake
     fails.
     An exception is the proposal of "http/1.1" where it is
     accepted if the remote server did not answer ALPN with
     a selected protocol. This accomodates for hosts that do
     not observe/support ALPN and speak http/1.x be default.

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

4 years ago *) core/mod_proxy/mod_ssl:
Stefan Eissing [Tue, 8 Jun 2021 14:37:44 +0000 (14:37 +0000)] 
  *) core/mod_proxy/mod_ssl:
     Adding `outgoing` flag to conn_rec, indicating a connection is
     initiated by the server to somewhere, in contrast to incoming
     connections from clients.
     Adding 'ap_ssl_bind_outgoing()` function that marks a connection
     as outgoing and is used by mod_proxy instead of the previous
     optional function `ssl_engine_set`. This enables other SSL
     module to secure proxy connections.
     The optional functions `ssl_engine_set`, `ssl_engine_disable` and
     `ssl_proxy_enable` are now provided by the core to have backward
     compatibility with non-httpd modules that might use them. mod_ssl
     itself no longer registers these functions, but keeps them in its
     header for backward compatibility.
     The core provided optional function wrap any registered function
     like it was done for `ssl_is_ssl`.

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

4 years agoCorrected mod_md typos + build all which results in tons of copy right notice updates
Daniel Ferradal [Mon, 7 Jun 2021 17:08:50 +0000 (17:08 +0000)] 
Corrected mod_md typos + build all which results in tons of copy right notice updates

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

4 years agomod_h2: Make h2_headers_create() constant and simplfy code using it.
Yann Ylavic [Mon, 7 Jun 2021 15:11:10 +0000 (15:11 +0000)] 
mod_h2: Make h2_headers_create() constant and simplfy code using it.

Since h2_headers_create() copies its passed in tables, make them const and
simplify the callers.

Thus create_response() in h2_from_h1 can use r->headers_out directly without
copying.

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

4 years agomod_h2: Don't strip headers from 304 responses.
Yann Ylavic [Mon, 7 Jun 2021 15:06:06 +0000 (15:06 +0000)] 
mod_h2: Don't strip headers from 304 responses.

h2 equivalent of r1889341 for h1.

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 5 Jun 2021 15:06:28 +0000 (15:06 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML files updates.
Lucien Gentis [Sat, 5 Jun 2021 15:05:31 +0000 (15:05 +0000)] 
fr doc XML files updates.

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

4 years agoAdd mapping = servlet / encoded
Jean-Frederic Clere [Fri, 4 Jun 2021 17:11:58 +0000 (17:11 +0000)] 
Add mapping = servlet / encoded

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

4 years agompm_prefork: mask signals during ap_run_child_init().
Yann Ylavic [Fri, 4 Jun 2021 13:21:28 +0000 (13:21 +0000)] 
mpm_prefork: mask signals during ap_run_child_init().

This prevents threads potentially created from the child_init hooks (e.g.
mod_watchdog workers) to catch signals needed by the MPM, like here:
https://travis-ci.com/github/apache/httpd/jobs/510821148#L5356.

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

4 years ago* We could get here again if a second thread deals with the
Ruediger Pluem [Thu, 3 Jun 2021 18:31:15 +0000 (18:31 +0000)] 
* We could get here again if a second thread deals with the
  signal as well. Should noit happen on prefork, but better
  safe than sorry.

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

4 years agoxform
Eric Covener [Thu, 3 Jun 2021 12:29:28 +0000 (12:29 +0000)] 
xform

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

4 years agoPR65073: updates to MergeSlashes related doc
Eric Covener [Thu, 3 Jun 2021 12:28:09 +0000 (12:28 +0000)] 
PR65073: updates to MergeSlashes related doc

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

4 years ago * mod_http2: using the ap_parse_request_line() unconditionally, now that it is avail...
Stefan Eissing [Thu, 27 May 2021 13:17:33 +0000 (13:17 +0000)] 
 * mod_http2: using the ap_parse_request_line() unconditionally, now that it is available in 2.4.x

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 22 May 2021 16:17:15 +0000 (16:17 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML files updates.
Lucien Gentis [Sat, 22 May 2021 16:15:49 +0000 (16:15 +0000)] 
fr doc XML files updates.

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

4 years ago<contextlist> and <compatibility> bad ordering.
Lucien Gentis [Sat, 22 May 2021 16:11:08 +0000 (16:11 +0000)] 
<contextlist> and <compatibility> bad ordering.

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

4 years agofix build with LibreSSL [Yann Ylavic]
Giovanni Bechis [Fri, 21 May 2021 15:07:38 +0000 (15:07 +0000)] 
fix build with LibreSSL [Yann Ylavic]
Github issue #188

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

4 years agomod_ssl: Switch to using OpenSSL's automatic internal DH parameter
Joe Orton [Fri, 21 May 2021 09:58:14 +0000 (09:58 +0000)] 
mod_ssl: Switch to using OpenSSL's automatic internal DH parameter
generation from OpenSSL 1.1.0 and later.  The
SSL_set_tmp_dh_callback() API is deprecated from OpenSSL 3.0 onwards.
Should not be a user-visible change (except mod_ssl gets smaller).

* modules/ssl/ssl_private.h,
  modules/ssl/ssl_engine_kernel.c,
  modules/ssl/ssl_engine_init.c (ssl_init_ctx_callbacks):
  Drop internal DH parameter generation and callback for OpenSSL 1.1+,
  use SSL_CTX_set_dh_auto(, 1) instead.

Github: closes #188
Reviewed by: rpluem

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

4 years ago * mod_log_config/mod_ssl: moved the log_handlers registered by mod_ssl
Stefan Eissing [Tue, 18 May 2021 14:42:52 +0000 (14:42 +0000)] 
  * mod_log_config/mod_ssl: moved the log_handlers registered by mod_ssl
    into mod_log_config itself. These now use the global `ap_ssl_var_lookup()`
    functions and work for all running SSL modules.
    The dependency from mod_ssl to mod_log_config and its header is removed.
    mod_ssl now provides the content of "{errstr}c" as variable "SSL_CLIENT_VERIFY_ERRSTR".
    This change should be fully compatible to all deployed configurations.

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

4 years agomod_md: removing the previous libressl workaround and adding the real
Stefan Eissing [Tue, 18 May 2021 13:41:27 +0000 (13:41 +0000)] 
mod_md: removing the previous libressl workaround and adding the real
        fix that disables ec key types not supported by libressl.

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

4 years agomod_md: workaround for missing libressl definitions. [Giovanni Bechis]
Stefan Eissing [Tue, 18 May 2021 11:34:29 +0000 (11:34 +0000)] 
mod_md: workaround for missing libressl definitions. [Giovanni Bechis]

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

4 years agoSync CHANGES entries. [skip ci]
Yann Ylavic [Mon, 17 May 2021 13:54:02 +0000 (13:54 +0000)] 
Sync CHANGES entries. [skip ci]

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

4 years agomod_md: update documentation regading private keys and message events.
Stefan Eissing [Mon, 17 May 2021 12:11:24 +0000 (12:11 +0000)] 
mod_md: update documentation regading private keys and message events.

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

4 years ago* server/mpm/event/event.c,
Joe Orton [Mon, 17 May 2021 11:56:32 +0000 (11:56 +0000)] 
* server/mpm/event/event.c,
  server/mpm/simple/simple_run.c,
  support/htcacheclean.c: Adjust use of APR_RING macros to
  ensure the APR_RING_HEAD is always embedded in a containing
  structure, to avoid warnings with GCC 11.  (apr_ring.h also
  suggests this is best practice)

See also: https://bugzilla.redhat.com/show_bug.cgi?id=1957353
          https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503
          msgid <814cca2a-1992-3fae-bb0e-c84b3d09b73b@gmail.com>
Github: closes #186

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

4 years agoFollow up to r1889938: APLOGNO().
Yann Ylavic [Sun, 16 May 2021 22:06:56 +0000 (22:06 +0000)] 
Follow up to r1889938: APLOGNO().

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

4 years agomod_ssl: coalesce using a bucket brigade and the setaside/reinstate mechanism.
Yann Ylavic [Sun, 16 May 2021 21:49:49 +0000 (21:49 +0000)] 
mod_ssl: coalesce using a bucket brigade and the setaside/reinstate mechanism.

ssl_io_filter_coalesce() now uses apr_brigade_write() to save its retained data
in a heap bucket, and ap_filter_{setaside,reinstate}_brigade() to declare them
to the output filters' write completion mechanism.

This prevents MPM event to miss them when it enters write completion state, and
will allow the tunneling loop of mod_proxy to flush them in a following commit
too.

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

4 years agomod_proxy_hcheck: Honor worker timeout settings.
Yann Ylavic [Sun, 16 May 2021 17:04:55 +0000 (17:04 +0000)] 
mod_proxy_hcheck: Honor worker timeout settings.

Daniel reported on user@ that hc connections do not timeout according to
the worker's tumeout= configuration, this fixes it.

While at it, copy the other timeout settings too.

Reported by: dferradal

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

4 years ago* Correctly record changes for the latest release in case there have been no
Ruediger Pluem [Wed, 12 May 2021 16:24:18 +0000 (16:24 +0000)] 
* Correctly record changes for the latest release in case there have been no
  changes at all for this release so far.

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

4 years agoFollow up to r1889792: CHANGES entry.
Yann Ylavic [Wed, 12 May 2021 10:16:07 +0000 (10:16 +0000)] 
Follow up to r1889792: CHANGES entry.

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

4 years agomod_proxy_wstunnel: Add ProxyWebsocketFallbackToProxyHttp.
Yann Ylavic [Wed, 12 May 2021 10:10:36 +0000 (10:10 +0000)] 
mod_proxy_wstunnel: Add ProxyWebsocketFallbackToProxyHttp.

Allows to opt-out the fallback to mod_proxy_http to handle WebSocket upgrade,
and let mod_proxy_wstunnel handle the requests as in 2.4.46 and earlier.

Update docs.

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

4 years ago * Spelling fixes after review by @bigio.
Stefan Eissing [Wed, 12 May 2021 07:25:52 +0000 (07:25 +0000)] 
 * Spelling fixes after review by @bigio.

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

4 years agoAllow the tunnelled connections to report the
Jean-Frederic Clere [Thu, 6 May 2021 06:25:09 +0000 (06:25 +0000)] 
Allow the tunnelled connections to report the
read and trasnfered to the back-end worker.

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

4 years agoAdd some missing space in HTML
Christophe Jaillet [Tue, 4 May 2021 16:39:56 +0000 (16:39 +0000)] 
Add some missing space in HTML

Sumitted by Todd Lewis <utoddl email.unc.edu>
PR 65287

[skip ci]

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

4 years ago* Do not strip any headers from 304 responses.
Ruediger Pluem [Fri, 30 Apr 2021 20:08:46 +0000 (20:08 +0000)] 
* Do not strip any headers from 304 responses.

PR: 61820

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

4 years agoFix a comment (missing '_' in 'keep_body')
Christophe Jaillet [Fri, 30 Apr 2021 12:40:54 +0000 (12:40 +0000)] 
Fix a comment (missing '_' in 'keep_body')

While at it, fix some space related style issues  and a doxygen like comment.

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

4 years agomod_htt2: fix incomplete sync with latest changes in github, adjust version number.
Stefan Eissing [Fri, 23 Apr 2021 08:01:56 +0000 (08:01 +0000)] 
mod_htt2: fix incomplete sync with latest changes in github, adjust version number.

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

4 years agomod_md: make sure its post-config hook runs before mod_watchdog. if
Stefan Eissing [Thu, 22 Apr 2021 10:17:02 +0000 (10:17 +0000)] 
mod_md: make sure its post-config hook runs before mod_watchdog. if
  not, mod_watchdog thinks it has nothing to do, if no one else installs
  any watchdog instance.

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

4 years agoPass NULL instead of a "null ACL"
Eric Covener [Wed, 21 Apr 2021 01:03:46 +0000 (01:03 +0000)] 
Pass NULL instead of a "null ACL"

Submitted By: Ivan Zhakov

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

4 years agolegacy default slash-matching behavior w/ 'MergeSlashes OFF'
Eric Covener [Wed, 21 Apr 2021 01:02:11 +0000 (01:02 +0000)] 
legacy default slash-matching behavior w/ 'MergeSlashes OFF'

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

4 years agocore/ap_ssl_*: changes after review by rpluem
Stefan Eissing [Tue, 20 Apr 2021 12:16:05 +0000 (12:16 +0000)] 
core/ap_ssl_*: changes after review by rpluem
 - removed no longer needed (char*) casts when looking
   up ssl variables.
 - move 'goto cleanup;' on separate source line
 - fixed check for wrong optional function in ap_run_ssl_var_lookup
 - remove ap_bytes_t again from httpd.h and passes now ocsp
   identifier as separate const char* and apr_size_t. This
   follows more how such data is passed in the rest of the
   server.

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

4 years agoFix some typos
Christophe Jaillet [Mon, 19 Apr 2021 13:04:25 +0000 (13:04 +0000)] 
Fix some typos

[skip ci]

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

4 years agoFix some typos
Christophe Jaillet [Mon, 19 Apr 2021 12:39:34 +0000 (12:39 +0000)] 
Fix some typos

[skip ci]

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

4 years agoFix a typo
Christophe Jaillet [Mon, 19 Apr 2021 12:21:09 +0000 (12:21 +0000)] 
Fix a typo

[skip ci]

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

4 years agoFix a typo
Christophe Jaillet [Mon, 19 Apr 2021 12:16:24 +0000 (12:16 +0000)] 
Fix a typo

[skip ci]

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

4 years agoAdd a change entry
Christophe Jaillet [Sun, 18 Apr 2021 19:05:20 +0000 (19:05 +0000)] 
Add a change entry

[skip ci]

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

4 years agofix StrictHostCheck crash w/ HTTP/1.0
Eric Covener [Sat, 17 Apr 2021 20:13:28 +0000 (20:13 +0000)] 
fix StrictHostCheck crash w/ HTTP/1.0

not released

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

4 years agoserver/protocol.c: remove old hooks links that had been moved to server/ssl.c
Stefan Eissing [Tue, 13 Apr 2021 12:26:20 +0000 (12:26 +0000)] 
server/protocol.c: remove old hooks links that had been moved to server/ssl.c

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

4 years agomod_md: fixed a conversion warning, bumped version number.
Stefan Eissing [Tue, 13 Apr 2021 11:27:09 +0000 (11:27 +0000)] 
mod_md: fixed a conversion warning, bumped version number.

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

4 years agoupdate the damn log tags.
Stefan Eissing [Tue, 13 Apr 2021 11:13:48 +0000 (11:13 +0000)] 
update the damn log tags.

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

4 years ago *) core/mod_ssl/mod_md: adding OCSP response provisioning as core feature. This
Stefan Eissing [Tue, 13 Apr 2021 11:12:00 +0000 (11:12 +0000)] 
  *) core/mod_ssl/mod_md: adding OCSP response provisioning as core feature. This
     allows modules to access and provide OCSP response data without being tied
     of each other. The data is exchanged in standard, portable formats (PEM encoded
     certificates and DER encoded responses), so that the actual SSL/crypto
     implementations used by the modules are independant of each other.
     Registration and retrieval happen in the context of a server (server_rec)
     which modules may use to decide if they are configured for this or not.
     The area of changes:
     1. core: defines 2 functions in include/http_ssl.h, so that modules may
        register a certificate, together with its issuer certificate for OCSP
        response provisioning and ask for current response data (DER bytes) later.
        Also, 2 hooks are defined that allow modules to implement this OCSP
        provisioning.
     2. mod_ssl uses the new functions, in addition to what it did already, to
        register its certificates this way. If no one is interested in providing
        OCSP, it falls back to its own (if configured) stapling implementation.
     3. mod_md registers itself at the core hooks for OCSP provisioning. Depending
        on configuration, it will accept registrations of its own certificates only,
        all certficates or none.

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

4 years agomax_attempts_set needs to be set too.
Jean-Frederic Clere [Thu, 8 Apr 2021 12:35:44 +0000 (12:35 +0000)] 
max_attempts_set needs to be set too.

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

4 years agofr doc rebuild.
Lucien Gentis [Fri, 2 Apr 2021 12:44:28 +0000 (12:44 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML files updates.
Lucien Gentis [Fri, 2 Apr 2021 12:43:27 +0000 (12:43 +0000)] 
fr doc XML files updates.

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

4 years agoApply CHANGES. [skip ci]
Yann Ylavic [Thu, 1 Apr 2021 10:28:51 +0000 (10:28 +0000)] 
Apply CHANGES. [skip ci]

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

4 years agoFollow up to r1888266, r1888268: fix PR in CHANGES entry.
Yann Ylavic [Thu, 1 Apr 2021 10:25:13 +0000 (10:25 +0000)] 
Follow up to r1888266, r1888268: fix PR in CHANGES entry.

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

4 years agoFollow up to r1888266: CHANGES entry.
Yann Ylavic [Thu, 1 Apr 2021 10:23:04 +0000 (10:23 +0000)] 
Follow up to r1888266: CHANGES entry.

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

4 years agomod_socache_shmcb: be safe from socache_shmcb_destroy() late call.
Yann Ylavic [Thu, 1 Apr 2021 09:14:34 +0000 (09:14 +0000)] 
mod_socache_shmcb: be safe from socache_shmcb_destroy() late call.

ssl_init_Module() in post_config early registers ssl_init_ModuleKill(), which
will then run after all the next cleanups registered later in post_config, thus
any shm_cleanup() registered from ssl_scache_init::socache_shmcb_init().
This can cause a double SHM cleanup when apr_shm_destroy() is called from
ssl_init_ModuleKill() as pconf is cleared.

Fix this in mod_socache_shmcb by registering a socache_shmcb_cleanup() after
the SHM is created, and by letting socache_shmcb_destroy() run the cleanup,
such that shm_cleanup() is always and ever called only once.

Ideally apr_shm_create() would be consistent accross platforms to register its
shm_cleanup() on the pool but that's not the case for now (I'm on it), so httpd
has to call apr_shm_destroy() explicitely from several places (we'll be able to
remove ssl_scache_kill() and other similar cleanups once the minimal APR
version required by httpd is fixed..).

We could also fix this by registering ssl_init_ModuleKill() late(r) in
ssl_init_Module(), though the more robust mod_socache_shmcb the better for
all the modules..

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

4 years ago *) mod_http2: Fixed a race condition that could lead to streams being
Stefan Eissing [Fri, 26 Mar 2021 14:55:22 +0000 (14:55 +0000)] 
  *) mod_http2: Fixed a race condition that could lead to streams being
     aborted (RST to the client), although a response had been produced.

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

4 years agoFixing mod_lua to use new http_ssl.h header file as well.
Stefan Eissing [Fri, 26 Mar 2021 11:44:30 +0000 (11:44 +0000)] 
Fixing mod_lua to use new http_ssl.h header file as well.

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

4 years ago *) core: provide ap_ssl_* functions in new http_ssl.h header file.
Stefan Eissing [Fri, 26 Mar 2021 11:27:34 +0000 (11:27 +0000)] 
  *) core: provide ap_ssl_* functions in new http_ssl.h header file.

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

4 years agomod_md: make certain that the post config after ssl part runs really late.
Stefan Eissing [Wed, 24 Mar 2021 13:44:10 +0000 (13:44 +0000)] 
mod_md: make certain that the post config after ssl part runs really late.
        bumped version number.

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

4 years agodrive home the purpose of forward-dns
Eric Covener [Wed, 24 Mar 2021 13:13:05 +0000 (13:13 +0000)] 
drive home the purpose of forward-dns

[skip ci]

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

4 years agopull in forward-dns example from authz_host
Eric Covener [Wed, 24 Mar 2021 12:51:59 +0000 (12:51 +0000)] 
pull in forward-dns example from authz_host

lots of people miss it reading the doc for Require in authz_core only

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

4 years agoMake sure that conn->keepalive is NOT reset after being set in ap_read_request().
Jean-Frederic Clere [Wed, 24 Mar 2021 09:37:15 +0000 (09:37 +0000)] 
Make sure that conn->keepalive is NOT reset after being set in ap_read_request().

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

4 years agoResolving gcc's "error: too many arguments for format [-Werror=format-extra-args]".
Stefan Eissing [Wed, 24 Mar 2021 08:28:58 +0000 (08:28 +0000)] 
Resolving gcc's "error: too many arguments for format [-Werror=format-extra-args]".

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

4 years agoFixing trace logging printf to have the correct args now that we number certs.
Stefan Eissing [Tue, 23 Mar 2021 15:25:34 +0000 (15:25 +0000)] 
Fixing trace logging printf to have the correct args now that we number certs.

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

4 years agomod_md:
Stefan Eissing [Mon, 22 Mar 2021 15:09:05 +0000 (15:09 +0000)] 
mod_md:
     - MDCertificateFile and MDCertificateKeyFile can now be specified several
     times to add multiple, static certificates to a MDomain.

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 20 Mar 2021 13:31:18 +0000 (13:31 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML file updates.
Lucien Gentis [Sat, 20 Mar 2021 13:30:06 +0000 (13:30 +0000)] 
fr doc XML file updates.

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

4 years agomod_ssl: Add base64-encoded DER certificate variables as alternative
Joe Orton [Fri, 19 Mar 2021 15:15:36 +0000 (15:15 +0000)] 
mod_ssl: Add base64-encoded DER certificate variables as alternative
to PEM, to avoid newline mangling issues when using PEM in header
values.

* modules/ssl/ssl_private.h (SSL_OPT_EXPORTCB64DATA): New constant.

* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_data):
  New function, replacing ssl_var_lookup_ssl_cert_PEM.
  (ssl_var_lookup_ssl): Use it, and add _B64CERT variants of
  SSL_{CLIENT,SERVER}_CERT.
  (ssl_var_lookup_ssl_cert_chain): Use it.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLOptions): Support
  "ExportBase64CertData" argument.

* modules/ssl/ssl_engine_kernel.c (extract_to_env): New function.
  (ssl_hook_Fixup): Use it, also export _B64CERT variables if
  SSL_OPT_EXPORTCB64DATA is set; simplify the client cert chain
  handling.

PR: 65169
Reviewed by: michaelo
Github: closes #177

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

4 years ago* modules/generators/mod_cgid.c (cgid_server): Register cleanup for
Joe Orton [Tue, 16 Mar 2021 15:31:58 +0000 (15:31 +0000)] 
* modules/generators/mod_cgid.c (cgid_server): Register cleanup for
  socket earlier to avoid possible leaks on error paths.  (highlighted
  by Coverity scan)

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

4 years ago* modules/proxy/proxy_util.c (ap_proxy_define_balancer):
Joe Orton [Tue, 16 Mar 2021 12:55:18 +0000 (12:55 +0000)] 
* modules/proxy/proxy_util.c (ap_proxy_define_balancer):
  Fix leak in error path in the do_malloc case, caught by covscan.

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

4 years agoAxe modules.apache.org.
Christophe Jaillet [Sun, 14 Mar 2021 15:57:21 +0000 (15:57 +0000)] 
Axe modules.apache.org.

It has been off-line for a long time now, and there is no plan to bring it up, AFAIK.

[skip ci]

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

4 years ago* build/config_vars.sh.in: Improve comment language, no functional change.
Joe Orton [Thu, 11 Mar 2021 13:48:18 +0000 (13:48 +0000)] 
* build/config_vars.sh.in: Improve comment language, no functional change.
[skip ci]

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

4 years agoFix the fixed timeout, thanks Rüdiger.
Jean-Frederic Clere [Wed, 10 Mar 2021 16:24:21 +0000 (16:24 +0000)] 
Fix the fixed timeout, thanks Rüdiger.
And set the current_thread of the connection.

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

4 years agoAdd CPING to health check logic.
Jean-Frederic Clere [Wed, 10 Mar 2021 10:36:46 +0000 (10:36 +0000)] 
Add CPING to health check logic.

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

4 years agoUsing the new ap_ssl_conn_is_ssl() and ap_ssl_var_lookup() in all internal modules.
Stefan Eissing [Tue, 9 Mar 2021 12:55:55 +0000 (12:55 +0000)] 
Using the new ap_ssl_conn_is_ssl() and ap_ssl_var_lookup() in all internal modules.

 * leaving mod_nw_ssl and mod_ssl itself untouched
 * removing mod_ssl.h includes where no longer necessary
 * some modules might skip post_config hooks, but those were left in, even when empty now.

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

4 years agolets try ASN1_STRING_data() for openssl 1.0.2
Stefan Eissing [Tue, 9 Mar 2021 09:20:24 +0000 (09:20 +0000)] 
lets try ASN1_STRING_data() for openssl 1.0.2

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

4 years agoUse an optional function as adviced by Rüdiger.
Jean-Frederic Clere [Tue, 9 Mar 2021 08:39:21 +0000 (08:39 +0000)] 
Use an optional function as adviced by Rüdiger.

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

4 years agorefrain from handling ip address alt names in pre 1.1 openssl
Stefan Eissing [Mon, 8 Mar 2021 21:51:53 +0000 (21:51 +0000)] 
refrain from handling ip address alt names in pre 1.1 openssl

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

4 years agoUse ASN1_STRING_data() if openssl verison < 1.1.
Stefan Eissing [Mon, 8 Mar 2021 20:15:01 +0000 (20:15 +0000)] 
Use ASN1_STRING_data() if openssl verison < 1.1.

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

4 years agolog tags, my nemesis
Stefan Eissing [Mon, 8 Mar 2021 19:50:54 +0000 (19:50 +0000)] 
log tags, my nemesis

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

4 years ago *) mod_md: v2.4.0 with improvements and bugfixes
Stefan Eissing [Mon, 8 Mar 2021 18:05:50 +0000 (18:05 +0000)] 
  *) mod_md: v2.4.0 with improvements and bugfixes
     - MDPrivateKeys allows the specification of several types. Beside "RSA" plus
     optional key lengths elliptic curves can be configured. This means you can
     have multiple certificates for a Managed Domain with different key types.
     With ```MDPrivateKeys secp384r1 rsa2048``` you get one ECDSA  and one RSA
     certificate and all modern client will use the shorter ECDSA, while older
     client will get the RSA certificate.
     Many thanks to @tlhackque who pushed and helped on this.
     - Support added for MDomains consisting of a wildcard. Configuring
     ```MDomain *.host.net``` will match all virtual hosts matching that pattern
     and obtain one certificate for it (assuming you have 'dns-01' challenge
     support configured). Addresses #239.
     - Removed support for ACMEv1 servers. The only known installation used to
     be Let's Encrypt which has disabled that version more than a year ago for
     new accounts.
     - Andreas Ulm (<https://github.com/root360-AndreasUlm>) implemented the
     ```renewing``` call to ```MDMessageCmd``` that can deny a certificate
     renewal attempt. This is useful in clustered installations, as
     discussed in #233).
     - New event ```challenge-setup:<type>:<domain>```, triggered when the
     challenge data for a domain has been created. This is invoked before the
     ACME server is told to check for it. The type is one of the ACME challenge
     types. This is invoked for every DNS name in a MDomain.
     - The max delay for retries has been raised to daily (this is like all
     retries jittered somewhat to avoid repeats at fixed time of day).
     - Certain error codes reported by the ACME server that indicate a problem
     with the configured data now immediately switch to daily retries. For
     example: if the ACME server rejects a contact email or a domain name,
     frequent retries will most likely not solve the problem. But daily retries
     still make sense as there might be an error at the server and un-supervised
     certificate renewal is the goal. Refs #222.
     - Test case and work around for domain names > 64 octets. Fixes #227.
     When the first DNS name of an MD is longer than 63 octets, the certificate
     request will not contain a CN field, but leave it up to the CA to choose one.
     Currently, Lets Encrypt looks for a shorter name in the SAN list given and
     fails the request if none is found. But it is really up to the CA (and what
     browsers/libs accept here) and may change over the years. That is why
     the decision is best made at the CA.
     - Retry delays now have a random +/-[0-50]% modification applied to let
     retries from several servers spread out more, should they have been
     restarted at the same time of day.
     - Fixed several places where the 'badNonce' return code from an ACME server
     was not handled correctly. The test server 'pebble' simulates this behaviour
     by default and helps nicely in verifying this behaviour. Thanks, pebble!
     - Set the default `MDActivationDelay` to 0. This was confusing to users that
     new certificates were deemed not usably before a day of delay. When clocks are
     correct, using a new certificate right away should not pose a problem.
     - When handling ACME authorization resources, the module no longer requires
     the server to return a "Location" header, as was necessary in ACMEv1.
     Fixes #216.
     - Fixed a theoretical uninitialized read when testing for JSON error responses
     from the ACME CA. Reported at <https://bz.apache.org/bugzilla/show_bug.cgi?id=64297>.
     - ACME problem reports from CAs that include parameters in the Content-Type
     header are handled correctly. (Previously, the problem text would not be
     reported and retries could exist CA limits.)
     - Account Update transactions to V2 CAs now use the correct POST-AS-GET method.
     Previously, an empty JSON object was sent - which apparently LE accepted,
     but others reject.

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

4 years agotypo in old CHANGES entry
Eric Covener [Mon, 8 Mar 2021 01:19:48 +0000 (01:19 +0000)] 
typo in old CHANGES entry

[skip ci]

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 6 Mar 2021 14:03:12 +0000 (14:03 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML file update.
Lucien Gentis [Sat, 6 Mar 2021 14:02:14 +0000 (14:02 +0000)] 
fr doc XML file update.

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

4 years agoFollow-up to r1887244.
Christophe Jaillet [Sat, 6 Mar 2021 07:18:56 +0000 (07:18 +0000)] 
Follow-up to r1887244.

Wrong version of the patch attached :(

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

4 years agoFix a potential duplicated ID generation issue under heavy load.
Christophe Jaillet [Sat, 6 Mar 2021 06:39:24 +0000 (06:39 +0000)] 
Fix a potential duplicated ID generation issue under heavy load.
This is due to a non thread safe use of a counter.

Use a counter for each thread instead to avoid the issue.

PR 65159

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

4 years ago* modules/proxy/mod_proxy_balancer.c (balancer_display_page):
Joe Orton [Fri, 5 Mar 2021 08:35:06 +0000 (08:35 +0000)] 
* modules/proxy/mod_proxy_balancer.c (balancer_display_page):
  Include nonce in XML output.

PR: 63074
Submitted by: Federico Mennite <federico.mennite lifeware.ch>

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

4 years agoAdd balancer_manage() to allow external module to fill workers for balancers.
Jean-Frederic Clere [Thu, 4 Mar 2021 14:00:45 +0000 (14:00 +0000)] 
Add balancer_manage() to allow external module to fill workers for balancers.

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

4 years agoAnd the necessary log tags added just shortly afterwards.
Stefan Eissing [Wed, 3 Mar 2021 15:52:56 +0000 (15:52 +0000)] 
And the necessary log tags added just shortly afterwards.

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

4 years agoChanged ap_ssl_answer_challenge() and its hook to provide PEM data for
Stefan Eissing [Wed, 3 Mar 2021 15:52:18 +0000 (15:52 +0000)] 
Changed ap_ssl_answer_challenge() and its hook to provide PEM data for
certificate and key instead of file names.

Added support for this in mod_ssl and verified with a local mod_md
version that uses it.

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

4 years agoSynch from mod_md github:
Joe Orton [Wed, 3 Mar 2021 14:53:12 +0000 (14:53 +0000)] 
Synch from mod_md github:

mod_md: tolerate missing revokeCert or keyChange resource

RFC 8555 §7.1 states:

  The server MUST provide "directory" and "newNonce" resources.

But RFC 8555 makes no explicit statement anywhere whether other
resources are, or are not, required (with the exception of
"newAuthz" which is optional).

Therefore it is possible that some ACME server implementations may
omit some resources; in particular those that are not an essential
part of the "order" workflow.  Indeed, I am working with one such
server implementation, which does not at this time implement
"keyChange".  mod_md refuses to interact with this server because it
is checking that a certain set of resources are defined in the
directory object - despite some of those resources not currently
being used.

Update the check to require only "newNonce", "newAccount" and
"newOrder".  Omit from the check and therefore tolerate the absense
of resources which are not always required: "revokeCert" and
"keyChange".

If mod_md implements revocation and/or key rollover in the future,
the availability of those features should be predicated on the
server's advertised capabilities.

https://github.com/icing/mod_md/commit/38ff597f3ccb3c942e68701fb185c6a68f0708e4

Submitted by: Fraser Tweedale <ftweedal redhat.com>
Github: closes #122

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