]> granicus.if.org Git - apache/log
apache
5 years agoFix alignment in a <highlight> block. trunk trunk
Christophe Jaillet [Sun, 27 Oct 2019 20:48:23 +0000 (20:48 +0000)]
Fix alignment in a <highlight> block.
Add directive name in <default> so that 'quickreference.html' is generated with the corresponding default value.
Avoid some duplicated words (i.e. 'to to').
Fix some incorrect directive name in some description.
Fix the description of 'AuthFormBody' which was a copy&paste of 'AuthFormMethod'.
Remove some useless <var></var> around 'On|Off'.

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

5 years agofr doc rebuild.
Lucien Gentis [Sun, 27 Oct 2019 15:36:59 +0000 (15:36 +0000)]
fr doc rebuild.

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

5 years agofr doc XML updates.
Lucien Gentis [Sun, 27 Oct 2019 15:35:57 +0000 (15:35 +0000)]
fr doc XML updates.

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

5 years agowhitespace commit for fisheye, ignore
Daniel Gruno [Sat, 26 Oct 2019 21:44:02 +0000 (21:44 +0000)]
whitespace commit for fisheye, ignore

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

5 years agoFix an incorrect NULL checked.
Christophe Jaillet [Sat, 26 Oct 2019 20:39:23 +0000 (20:39 +0000)]
Fix an incorrect NULL checked.

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

5 years agoHelp doc writer to spot places where:
Christophe Jaillet [Sat, 26 Oct 2019 19:19:03 +0000 (19:19 +0000)]
Help doc writer to spot places where:

   - a link to a directive from within its own <directivesynoptis> should be avoided
    This link is now silently removed

   - a link to a directive is missing
    Try to give some context where to find this missing link

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

5 years agoFix directive name in <syntax>
Christophe Jaillet [Sat, 26 Oct 2019 13:25:05 +0000 (13:25 +0000)]
Fix directive name in <syntax>

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

5 years agomod_ssl: follow up to r1868645 and r1868929.
Yann Ylavic [Fri, 25 Oct 2019 13:53:34 +0000 (13:53 +0000)]
mod_ssl: follow up to r1868645 and r1868929.

Merge ->protocol_set.

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

5 years agoupdate after backport of current mod_md
Stefan Eissing [Fri, 25 Oct 2019 13:28:13 +0000 (13:28 +0000)]
update after backport of current mod_md

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

5 years agomod_ssl: follow up to r1868645.
Yann Ylavic [Fri, 25 Oct 2019 13:26:14 +0000 (13:26 +0000)]
mod_ssl: follow up to r1868645.

Keep the base server's SSLProtocol if none is configured on the vhost
selected by Hello/SNI callback.

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

5 years agomod_md: fixes compiler warning about initialization, version bumb.
Stefan Eissing [Fri, 25 Oct 2019 12:40:50 +0000 (12:40 +0000)]
mod_md: fixes compiler warning about initialization, version bumb.

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

5 years agoFix a broken link and use more standard casing for On|Off
Christophe Jaillet [Wed, 23 Oct 2019 19:10:42 +0000 (19:10 +0000)]
Fix a broken link and use more standard casing for On|Off

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

5 years agoChange the position of the 'response_code_exprs' field in the 'core_dir_config' struc...
Christophe Jaillet [Wed, 23 Oct 2019 18:58:16 +0000 (18:58 +0000)]
Change the position of the 'response_code_exprs' field in the 'core_dir_config' structure.

This synch trunk with 2.4.x but it also makes the structure smaller because 2 bietfields are merged.

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

5 years agoSwap 2 modules in order to synch with 2.4.x.
Christophe Jaillet [Wed, 23 Oct 2019 11:10:14 +0000 (11:10 +0000)]
Swap 2 modules in order to synch with 2.4.x.

Keep alphabetical order.

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

5 years agomod_ssl: follow up to r1868645.
Yann Ylavic [Tue, 22 Oct 2019 10:14:53 +0000 (10:14 +0000)]
mod_ssl: follow up to r1868645.

Restore ssl_callback_ServerNameIndication() even with OpenSSL 1.1.1+, which
depends on its return value (OK/NOACK), mainly on session resumption, for
SSL_get_servername() to consider or ignore the SNI (returning NULL thus
making SSLStrictSNIVHostCheck fail for possibly legitimate cases).

This means that init_vhost() should accurately return whether the SNI exists
in the configured vhosts, even when it's called multiple times (e.g. first
from ClientHello callback and then from SNI callback), so save that state in
sslconn->vhost_found and reuse it.

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

5 years agoAxe some outdated references to httpd 1.2.x and 2.0.x.
Christophe Jaillet [Mon, 21 Oct 2019 18:56:48 +0000 (18:56 +0000)]
Axe some outdated references to httpd 1.2.x and 2.0.x.

AFAIK, in 2.4.x, references to older branches are limited to 2.2.x. and 2.0.44 is 16 years old.

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

5 years agofr doc rebuild.
Lucien Gentis [Mon, 21 Oct 2019 11:03:17 +0000 (11:03 +0000)]
fr doc rebuild.

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

5 years agofr doc adding a new translated file.
Lucien Gentis [Mon, 21 Oct 2019 11:01:21 +0000 (11:01 +0000)]
fr doc adding a new translated file.

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

5 years agoUse native EOL for intended-duplicates.
Yann Ylavic [Sun, 20 Oct 2019 16:40:39 +0000 (16:40 +0000)]
Use native EOL for intended-duplicates.

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

5 years agoPut intended duplicates AHs in their own file (outside the script).
Yann Ylavic [Sun, 20 Oct 2019 16:33:45 +0000 (16:33 +0000)]
Put intended duplicates AHs in their own file (outside the script).

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

5 years agoAH01241 is intentionally duplicated.
Yann Ylavic [Sun, 20 Oct 2019 15:39:54 +0000 (15:39 +0000)]
AH01241 is intentionally duplicated.

Depending on the configured child error output, messages go to ErrorLog or
stderr, but AH should be the same.

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

5 years agoupdate-log-msg-tags: allow to reference intended duplicate tags.
Yann Ylavic [Sun, 20 Oct 2019 15:33:19 +0000 (15:33 +0000)]
update-log-msg-tags: allow to reference intended duplicate tags.

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

5 years agomod_md: resolve duplicate tag.
Yann Ylavic [Sun, 20 Oct 2019 15:28:15 +0000 (15:28 +0000)]
mod_md: resolve duplicate tag.

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

5 years agomod_proxy_http: follow up to r1868576.
Yann Ylavic [Sun, 20 Oct 2019 13:06:29 +0000 (13:06 +0000)]
mod_proxy_http: follow up to r1868576.

Omit sending 100 continue if the body is (partly) prefetched, per
RFC 7231 (section 5.1.1).

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

5 years agomod_proxy_http: revert r1868625.
Yann Ylavic [Sun, 20 Oct 2019 12:31:45 +0000 (12:31 +0000)]
mod_proxy_http: revert r1868625.

The HTTP_IN filter handles "100 Continue" the first time it's called only,
and in spool_reqbody_cl() we have already tried to prefetch the body, so
it's too late.

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

5 years agomod_ssl: negotiate the TLS protocol version per name based vhost configuration.
Yann Ylavic [Sun, 20 Oct 2019 10:50:33 +0000 (10:50 +0000)]
mod_ssl: negotiate the TLS protocol version per name based vhost configuration.

By using the new ClientHello callback provided by OpenSSL 1.1.1, which runs at
the earliest connection stage, we can switch the SSL_CTX of the SSL connection
early enough for OpenSSL to take into account the protocol configuration of the
vhost.

In other words:
    SSL_set_SSL_CTX(c->SSL, s->SSL_CTX)
followed by:
    SSL_set_{min,max}_proto_version(SSL_CTX_get_{min,max}_proto_version(s->SSL_CTX))
works as expected at this stage (while the same from the SNI callback is
ignored by/due to OpenSSL's state machine).

Extracting the SNI (to select the relevant vhost) in the ClientHello callback
is not as easy as calling SSL_get_servername() though, we have to work with
the raw TLS extensions helpers provided by OpenSSL. I stole this code from a
test in the OpenSSL source code (i.e. client_hello_select_server_ctx() in
test/handshake_helper.c).

We can then call init_vhost() as with the SNI callback (in use only for OpenSSL
versions earlier than 1.1.1 now), and pass it the extracted SNI.

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

5 years agoSynch 2.4.x and trunk.
Christophe Jaillet [Sun, 20 Oct 2019 06:58:29 +0000 (06:58 +0000)]
Synch 2.4.x and trunk.

There is an extra space on trunk. Axe it.

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

5 years agomod_proxy_http: follow up to r1868576.
Yann Ylavic [Sat, 19 Oct 2019 13:58:16 +0000 (13:58 +0000)]
mod_proxy_http: follow up to r1868576.

As suggested by Ruediger, let the HTTP_IN filter handle the 100 continue from
spool_reqbody_cl().

Also, according to rfc7231#section-5.1.1, we don't need the interim response
if we "already received some or all of the message body", which is now also
taken into account.

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

5 years agofr doc new built file.
Lucien Gentis [Fri, 18 Oct 2019 11:08:26 +0000 (11:08 +0000)]
fr doc new built file.

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

5 years agofr doc adding a new file.
Lucien Gentis [Fri, 18 Oct 2019 11:04:46 +0000 (11:04 +0000)]
fr doc adding a new file.

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

5 years agomod_proxy_http: Fix 100-continue deadlock for spooled request bodies. PR 63855.
Yann Ylavic [Fri, 18 Oct 2019 07:50:59 +0000 (07:50 +0000)]
mod_proxy_http: Fix 100-continue deadlock for spooled request bodies. PR 63855.

Send "100 Continue", if needed, before fetching/blocking on the request body in
spool_reqbody_cl(), otherwise mod_proxy and the client can wait for each other,
leading to a request timeout (408).

While at it, make so that ap_send_interim_response() uses the default status
line if none is set in r->status_line.

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

5 years ago *) mod_md: Adding the several new features.
Stefan Eissing [Wed, 16 Oct 2019 12:31:43 +0000 (12:31 +0000)]
  *) mod_md: Adding the several new features.
     The module offers an implementation of OCSP Stapling that can replace fully or
     for a limited set of domains the existing one from mod_ssl. OCSP handling
     is part of mod_md's monitoring and message notifications. If can be used
     for sites that do not have ACME certificates.
     The url for a CTLog Monitor can be configured. It is used in the server-status
     to link to the external status page of a certicate.
     The MDMessageCmd is called with argument "installed" when a new certificate
     has been activated on server restart/reload. This allows for processing of
     the new certificate, for example to applications that require it in different
     locations or formats.

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

5 years agoupdate mod_md tags
Stefan Eissing [Wed, 16 Oct 2019 10:13:24 +0000 (10:13 +0000)]
update mod_md tags

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

5 years ago* Correctly initialize nomime member
Ruediger Pluem [Mon, 14 Oct 2019 20:14:58 +0000 (20:14 +0000)]
* Correctly initialize nomime member

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

5 years agoHonor "Accept-Encoding: foo;q=0" as per RFC 7231; which means 'foo' is "not acceptabl...
Christophe Jaillet [Fri, 11 Oct 2019 20:21:14 +0000 (20:21 +0000)]
Honor "Accept-Encoding: foo;q=0" as per RFC 7231; which means 'foo' is "not acceptable".  PR 58158

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

5 years agoFix pool concurrency problems
Ruediger Pluem [Fri, 11 Oct 2019 15:11:40 +0000 (15:11 +0000)]
Fix pool concurrency problems

Create a subpool of the connection pool for worker scoped DNS resolutions.
This is needed to avoid race conditions in using the connection pool by multiple
threads during ramp up.

Recheck after obtaining the lock if we still need to do things or if they
were already done by another thread while we were waiting on the lock.

* modules/proxy/proxy_util.c: Create a subpool of the connection pool for worker
  scoped DNS resolutions and use it.

* modules/proxy/mod_proxy.h: Define AP_VOLATILIZE_T and add dns_pool to
  struct proxy_conn_pool.

* modules/proxy/mod_proxy_ftp.c: Use dns_pool and consider that
  worker->cp->addr is volatile in this location of the code.

PR: 63503

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

5 years ago* Add back logging goodness
Ruediger Pluem [Fri, 11 Oct 2019 14:40:10 +0000 (14:40 +0000)]
* Add back logging goodness

Add back logging goodness added by covener in r1865938.

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

5 years ago* Revert r1865944 and r1865938
Ruediger Pluem [Fri, 11 Oct 2019 14:36:32 +0000 (14:36 +0000)]
* Revert r1865944 and r1865938

Revert r1865944 and r1865938 in order to provide a better patch with less
locking and thus contention.

lognos

PR63503: fix pool concurrency problems in mod_proxy

reslist and resolver related calls could concurrently access the same pool.

Submitted By: Don Poitras <Don.Poitras sas.com>
Committed By: covener

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

5 years agoFix a typo in a message.
Christophe Jaillet [Sat, 5 Oct 2019 13:42:00 +0000 (13:42 +0000)]
Fix a typo in a message.

Reported and fixed by Christian Bartolomäus (bartolin gmx.de)
PR 63806

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

5 years agoFix build broken w/o --enable-cgid-fdpassing by r1867968:
Joe Orton [Fri, 4 Oct 2019 09:56:42 +0000 (09:56 +0000)]
Fix build broken w/o --enable-cgid-fdpassing by r1867968:

* modules/generators/cgi_common.h: Only define CGI bucket type
  if WANT_CGI_BUCKET is defined.

* modules/generators/mod_cgi.c: Always include cgi_common.h, defining
  WANT_CGI_BUCKET iff APR_FILES_AS_SOCKETS is defined

* modules/generators/mod_cgid.c: Always include cgi_common.h, defining
  WANT_CGI_BUCKET iff HAVE_CGID_FDPASSING (--enable-cgid-fdpassing).

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

5 years ago* modules/generators/cgi_common.h (discard_script_output): Simplify
Joe Orton [Fri, 4 Oct 2019 09:24:07 +0000 (09:24 +0000)]
* modules/generators/cgi_common.h (discard_script_output): Simplify
  slightly and ensure constant rather than unlimited memory
  consumption when discarding CGI script output (for e.g. a redirect
  response).

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

5 years agoMove common (and near-identical) code for CGI response output handling
Joe Orton [Fri, 4 Oct 2019 09:20:33 +0000 (09:20 +0000)]
Move common (and near-identical) code for CGI response output handling
to cgi_common.h; the diff between the modules for this code was as
follows:

https://people.apache.org/~jorton/mod_cgi-to-cgid-handler.diff

Change from previous: mod_cgi will now explicitly discard output when
returning HTTP_MOVED_TEMPORARILY for relative redirects (should not be
functionally different), TRACE1 logging of ap_pass_brigade failures
for mod_cgid is dropped.

* modules/generators/cgi_common.h (cgi_handle_response): New function,
  factored out from mod_cgid.
  (discard_script_output): Copied function from mod_cgi/d unchanged.

* modules/generator/mod_cgid.c (cgid_handler),
  modules/generator/mod_cgi.c (cgi_handler): Use cgi_handle_response.

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

5 years ago* modules/generators/cgi_common.h (cgi_bucket_create):
Joe Orton [Wed, 2 Oct 2019 10:41:22 +0000 (10:41 +0000)]
* modules/generators/cgi_common.h (cgi_bucket_create):
  Disable APR timeout handling here for all callers.

* modules/generators/mod_cgi.c (cgi_handler): ... drop it here.

PR: 63797

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

5 years ago* modules/generators/mod_cgid.c (sock_readhdr): Only set up control
Joe Orton [Wed, 2 Oct 2019 09:58:01 +0000 (09:58 +0000)]
* modules/generators/mod_cgid.c (sock_readhdr): Only set up control
  message block when required; add some additional error handling.

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

5 years agoMerge r1866760 from ^/httpd/apreq/trunk:
Joe Orton [Mon, 30 Sep 2019 09:50:44 +0000 (09:50 +0000)]
Merge r1866760 from ^/httpd/apreq/trunk:

parser_multipart: fix NULL pointer dereference in nested multipart

create_multipart_context() can return NULL if the given Content-Type
was not recognized (if there is no "boundary" attribute).  This
crashes libapreq2.

This bug was introduced by SVN commit 227276.  Prior to this commit,
there was a NULL check, but the commit removed it:

 http://svn.apache.org/viewvc/httpd/apreq/trunk/library/parser_multipart.c?r1=227276&r2=227275&pathrev=227276

Submitted by: max

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

5 years agofr doc rebuild.
Lucien Gentis [Sat, 28 Sep 2019 13:21:42 +0000 (13:21 +0000)]
fr doc rebuild.

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

5 years agofr doc XML file update.
Lucien Gentis [Sat, 28 Sep 2019 13:20:38 +0000 (13:20 +0000)]
fr doc XML file update.

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

5 years agoRefresh prettify.js to update some missing syntax highlight
Christophe Jaillet [Sat, 28 Sep 2019 11:38:54 +0000 (11:38 +0000)]
Refresh prettify.js to update some missing syntax highlight
(mostly related to mod_md)

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

5 years ago* modules/ssl/ssl_engine_log.c (ssl_log_cert_error): Use string
Joe Orton [Thu, 26 Sep 2019 09:17:58 +0000 (09:17 +0000)]
* modules/ssl/ssl_engine_log.c (ssl_log_cert_error): Use string
  length returned by apr_vsnprintf.  No functional change.

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

5 years agoFix a typo
Christophe Jaillet [Fri, 20 Sep 2019 20:53:56 +0000 (20:53 +0000)]
Fix a typo

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

5 years agoFix a typo
Christophe Jaillet [Fri, 20 Sep 2019 20:52:56 +0000 (20:52 +0000)]
Fix a typo

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

5 years agoFix a typo
Christophe Jaillet [Fri, 20 Sep 2019 20:51:26 +0000 (20:51 +0000)]
Fix a typo

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

5 years agoFix a typo
Christophe Jaillet [Fri, 20 Sep 2019 20:46:08 +0000 (20:46 +0000)]
Fix a typo

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

5 years agoFix a typo
Christophe Jaillet [Fri, 20 Sep 2019 20:44:47 +0000 (20:44 +0000)]
Fix a typo

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

5 years agoReverse the order of the test... if clang, then use clang, because some clangs also...
Jim Jagielski [Thu, 19 Sep 2019 15:50:43 +0000 (15:50 +0000)]
Reverse the order of the test... if clang, then use clang, because some clangs also represent as GNUC.

This fixes breaking the macOS builds due to r1864435 under maint-mode

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

5 years agofr doc rebuild.
Lucien Gentis [Mon, 16 Sep 2019 16:31:41 +0000 (16:31 +0000)]
fr doc rebuild.

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

5 years agofr doc XML files updates.
Lucien Gentis [Mon, 16 Sep 2019 16:22:17 +0000 (16:22 +0000)]
fr doc XML files updates.

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

5 years agoMissing </p> tag.
Lucien Gentis [Mon, 16 Sep 2019 16:19:52 +0000 (16:19 +0000)]
Missing </p> tag.

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

5 years agoap_http_header_filter: avoid double encoding of output headers in traces.
Yann Ylavic [Mon, 16 Sep 2019 11:46:27 +0000 (11:46 +0000)]
ap_http_header_filter: avoid double encoding of output headers in traces.

When output headers are logged (TRACE4) in send_all_header_fields(), we don't
need to explicitely ap_escape_logitem() them since ap_log_rerror() takes care
of log files escaping already.

Otherwise, characters like '"' are unncesseralily encoded, and '\\' is doubly
encoded (including for controls).

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

5 years ago* modules/mappers/mod_rewrite.c: Enhance trace-level logging to log
Joe Orton [Fri, 13 Sep 2019 10:43:16 +0000 (10:43 +0000)]
* modules/mappers/mod_rewrite.c: Enhance trace-level logging to log
  line numbers accurately for C99 compilers, and remove odd/awkward
  double-parentheses using the rewritelog() macro.  For non-C99
  compilers do_rewritelog() will now be defined - but as a noop - if
  REWRITELOG_DISABLED is defined at compile time.

No functional change at runtime apart from the line numbers being
fixed.

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

5 years ago * mod_md: manual updates and challenge description
Stefan Eissing [Thu, 12 Sep 2019 13:40:49 +0000 (13:40 +0000)]
 * mod_md: manual updates and challenge description

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

5 years agoFix an issue on Windows where <IfFile> looks for a file on a non-existent drive ...
Christophe Jaillet [Wed, 4 Sep 2019 19:11:28 +0000 (19:11 +0000)]
Fix an issue on Windows where <IfFile> looks for a file on a non-existent drive (on a USB key that is not plugged for example)

Issue repported by Heather Lotz <knot22 hotmail.com>

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

5 years agoPR63715: s/can/came and add a caution about REDIRECT_-prefixed envvars
Eric Covener [Sun, 1 Sep 2019 18:10:34 +0000 (18:10 +0000)]
PR63715: s/can/came and add a caution about REDIRECT_-prefixed envvars

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

5 years agoFix PR 63713 reported by WJCarpenter:
Christophe Jaillet [Sun, 1 Sep 2019 09:15:45 +0000 (09:15 +0000)]
Fix PR 63713 reported by  WJCarpenter:
  Add a small word about '\' which is used in the examples below.

Add some missing links (<module>, <directive>)
Improve some xml layout to have it readable.

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

5 years agofr doc rebuild.
Lucien Gentis [Sat, 31 Aug 2019 13:32:47 +0000 (13:32 +0000)]
fr doc rebuild.

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

5 years agofr doc XML update.
Lucien Gentis [Sat, 31 Aug 2019 13:31:39 +0000 (13:31 +0000)]
fr doc XML update.

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

5 years agorestore use of global mutex under !APR_HAS_THREADS
Eric Covener [Fri, 30 Aug 2019 11:58:41 +0000 (11:58 +0000)]
restore use of global mutex under !APR_HAS_THREADS

followup to r1852442 which appears to have been too agressive in wrapping
blocks with #if APR_HAS_THREADS.  With !APR_HAS_THREADS a global mutex
is a proc mutex.

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

5 years agoComplete mod_md CMake config by adding a _requires iterator, using the official
William A. Rowe Jr [Fri, 30 Aug 2019 08:25:13 +0000 (08:25 +0000)]
Complete mod_md CMake config by adding a _requires iterator, using the official
curl FIND_PACKAGE logic and completing the jansson detection logic.

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

5 years agoImprovement to mod_md cmake support. thanks to bill.
Stefan Eissing [Fri, 30 Aug 2019 07:13:28 +0000 (07:13 +0000)]
Improvement to mod_md cmake support. thanks to bill.

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

5 years ago* Make it obsolete to supply a starting pool
Ruediger Pluem [Thu, 29 Aug 2019 14:53:04 +0000 (14:53 +0000)]
* Make it obsolete to supply a starting pool

  Improve dump_all_pools by making it obsolete to supply a starting pool.
  If the parameter is not supplied ap_pglobal which is a global symbol is
  used as starting pool.
  The pool parameter is still accepted and considered for backwards
  compatibility or if ap_pglobal cannot be resolved.

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

5 years ago* Lock the worker, not the balancer. We even do not know if we have a balancer
Ruediger Pluem [Thu, 29 Aug 2019 11:30:56 +0000 (11:30 +0000)]
* Lock the worker, not the balancer. We even do not know if we have a balancer

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

5 years agoMore about RegexDefaultOptions.
Yann Ylavic [Thu, 29 Aug 2019 10:55:43 +0000 (10:55 +0000)]
More about RegexDefaultOptions.

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

5 years agobump
Eric Covener [Mon, 26 Aug 2019 15:09:14 +0000 (15:09 +0000)]
bump

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

5 years agolognos
Eric Covener [Mon, 26 Aug 2019 15:09:00 +0000 (15:09 +0000)]
lognos

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

5 years agoPR63503: fix pool concurrency problems in mod_proxy
Eric Covener [Mon, 26 Aug 2019 14:19:31 +0000 (14:19 +0000)]
PR63503: fix pool concurrency problems in mod_proxy

reslist and resolver related calls could concurrently access the same pool.

Submitted By: Don Poitras <Don.Poitras sas.com>
Committed By: covener

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

5 years agoremove APR_HAS_THREADS check
Eric Covener [Mon, 26 Aug 2019 14:07:08 +0000 (14:07 +0000)]
remove APR_HAS_THREADS check

no need to wrap these after r1865936

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

5 years agono-op PROXY_THREAD_LOCK if !APR_HAS_THREADS
Eric Covener [Mon, 26 Aug 2019 13:55:40 +0000 (13:55 +0000)]
no-op PROXY_THREAD_LOCK if !APR_HAS_THREADS

... instead of wrapping them in #if themselves in the C code.

r1852442 is a trunk-only change to make mod_proxy compile with !APR_HAS_THREADS.

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

5 years agoleave a hint about session expiration at TRACE2
Eric Covener [Sun, 25 Aug 2019 01:54:39 +0000 (01:54 +0000)]
leave a hint about session expiration at TRACE2

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

5 years agofr doc rebuild.
Lucien Gentis [Sat, 24 Aug 2019 13:33:49 +0000 (13:33 +0000)]
fr doc rebuild.

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

5 years agofr doc XML updates.
Lucien Gentis [Sat, 24 Aug 2019 13:32:33 +0000 (13:32 +0000)]
fr doc XML updates.

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

5 years agoPR63688 balancer csrf problems
Eric Covener [Fri, 23 Aug 2019 13:06:57 +0000 (13:06 +0000)]
PR63688 balancer csrf problems

fix case-sensitive referer check

Submitted By: Armin Abfalterer

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

5 years agomod_ssl: OCSP does not apply to proxy mode, fix verify context.
Yann Ylavic [Fri, 23 Aug 2019 10:31:01 +0000 (10:31 +0000)]
mod_ssl: OCSP does not apply to proxy mode, fix verify context.

Since ssl_callback_SSLVerify() is called for both server and proxy modes,
use myCtxConfig()->ocsp_mask to check the right mode/configuration (i.e.
none for proxy in any case).

PR 63679.
Submitted by: Lubos Uhliarik <luhliari redhat.com>

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

5 years agoxforms
Jim Jagielski [Mon, 19 Aug 2019 16:15:02 +0000 (16:15 +0000)]
xforms

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

5 years agoIncrease the maximum length of strings that can be cached by the module from 100...
Christophe Jaillet [Sun, 18 Aug 2019 18:52:40 +0000 (18:52 +0000)]
Increase the maximum length of strings that can be cached by the module from 100 to 256.  PR 62149 [<thorsten.meinl knime.com>]

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

5 years agos/cacheing/caching/
Christophe Jaillet [Sun, 18 Aug 2019 18:29:09 +0000 (18:29 +0000)]
s/cacheing/caching/
Improve layout.

Add some missing <module> tags.
Add some missing <directive> tags.
Add some missing <directive module=...> links
Add the name of the directive in <default>, so that 'quickreference.html' is generated correctly.
In the AuthnCacheContext directive, fix the way 'directory' and 'server' are displayed. They are key-words and should not be in italic.

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

5 years agoFix a broken link.
Christophe Jaillet [Sat, 17 Aug 2019 16:53:04 +0000 (16:53 +0000)]
Fix a broken link.

Add a missing <module></module>
Synch with 2.4.x

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

5 years agofr doc rebuild.
Lucien Gentis [Sat, 17 Aug 2019 13:59:55 +0000 (13:59 +0000)]
fr doc rebuild.

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

5 years agoXML update.
Lucien Gentis [Sat, 17 Aug 2019 13:58:41 +0000 (13:58 +0000)]
XML update.

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

5 years agofr doc rebuild.
Lucien Gentis [Tue, 13 Aug 2019 11:59:00 +0000 (11:59 +0000)]
fr doc rebuild.

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

5 years agofr doc - new translated file.
Lucien Gentis [Tue, 13 Aug 2019 11:56:27 +0000 (11:56 +0000)]
fr doc - new translated file.

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

5 years agoInclude for mod_status.h
Steffen Land [Sun, 11 Aug 2019 10:52:56 +0000 (10:52 +0000)]
Include for mod_status.h

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

5 years agoFix the directive name used in <usage> of 'RemoteIPProxyProtocolExceptions'.
Christophe Jaillet [Sun, 11 Aug 2019 06:19:01 +0000 (06:19 +0000)]
Fix the directive name used in <usage> of 'RemoteIPProxyProtocolExceptions'.

Fix some style (there is no need to have a link to the directive within its <directivesynopsis> block)

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

5 years agoRevert r1864878.
Christophe Jaillet [Sat, 10 Aug 2019 15:46:45 +0000 (15:46 +0000)]
Revert r1864878.
This breaks compilation because of a use defore definition.

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

5 years agoFix a signed/unsigned comparison in 'ap_filter_should_yield()' and 'ap_request_core_f...
Christophe Jaillet [Sat, 10 Aug 2019 15:26:01 +0000 (15:26 +0000)]
Fix a signed/unsigned comparison in 'ap_filter_should_yield()' and 'ap_request_core_filter()'.

This is harmless and only present in trunk.

Spotted by gcc 9.1 and -Wextra

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

5 years agoFix a signed/unsigned comparison that can never match.
Christophe Jaillet [Sat, 10 Aug 2019 09:52:34 +0000 (09:52 +0000)]
Fix a signed/unsigned comparison that can never match.

-1 is a valid length value (for socket, pipe and cgi buckets for example)
All path I've checked cast the -1 to (apr_size_t) in order for the comparison to work. So do it as well here.

This has been like that in trunk since r708144, about 11 years ago, so I assume that it is not really an issue.

Spotted by gcc 9.1 and -Wextra

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

5 years agoFix a signed/unsigned comparison that can never match.
Christophe Jaillet [Sat, 10 Aug 2019 08:59:13 +0000 (08:59 +0000)]
Fix a signed/unsigned comparison that can never match.
(+ add a missing space to improve formating)

Spotted by gcc 9.1 and -Wextra

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

5 years agoFix to allow the logging of SSL_CIPHER variable (instead of SSL_COPHER)
Christophe Jaillet [Sat, 10 Aug 2019 01:02:02 +0000 (01:02 +0000)]
Fix to allow the logging of SSL_CIPHER variable (instead of SSL_COPHER)

(reported by  eric-therond in GitHub issue #60)

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

5 years ago-l and -L are not exclusive.
Christophe Jaillet [Fri, 9 Aug 2019 11:57:26 +0000 (11:57 +0000)]
-l and -L are not exclusive.
Document the 'G' suffix.

See PR 63638

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

5 years ago-l and -L are not exclusive.
Christophe Jaillet [Fri, 9 Aug 2019 11:44:12 +0000 (11:44 +0000)]
-l and -L are not exclusive.
Document the 'G' suffix.
Fix some minor style issues.

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

5 years agoFix a corner case where automatic APLOGNO number generation generates invalid code...
Christophe Jaillet [Fri, 9 Aug 2019 06:49:46 +0000 (06:49 +0000)]
Fix a corner case where automatic APLOGNO number generation generates invalid code. (see r1864733 fixed in r1864736, thx Eric)

Not sure why this ,? is there, but it looks uneeded to me.
There is maybe a link with the patterns used in 'find-messages.cocci'. They seem to add some extra , after the empty APLOGNO() it generates.
I will investigate further and fix 'find-messages.cocci' accordingly if needed.

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