]> granicus.if.org Git - apache/log
apache
6 years ago *) mod_session: Strip Session header when SessionEnv is on.
Graham Leggett [Fri, 16 Feb 2018 13:41:31 +0000 (13:41 +0000)]
  *) mod_session: Strip Session header when SessionEnv is on.
     trunk patch: http://svn.apache.org/r1824390
     2.4.x patch: trunk works (modulo CHANGES)
     +1: ylavic, rpluem, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824477 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote and promote.
Graham Leggett [Fri, 16 Feb 2018 13:39:47 +0000 (13:39 +0000)]
Vote and promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824476 13f79535-47bb-0310-9956-ffa450edef68

6 years ago *) mod_cache_socache: Fix caching of empty headers up to carriage return.
Graham Leggett [Fri, 16 Feb 2018 13:34:35 +0000 (13:34 +0000)]
  *) mod_cache_socache: Fix caching of empty headers up to carriage return.
     trunk patch: http://svn.apache.org/r1824343
     2.4.x patch: trunk works (modulo CHANGES)
     +1: ylavic, rpluem, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824475 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote and promote.
Graham Leggett [Fri, 16 Feb 2018 13:32:48 +0000 (13:32 +0000)]
Vote and promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824474 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote.
Yann Ylavic [Fri, 16 Feb 2018 13:32:09 +0000 (13:32 +0000)]
Vote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824473 13f79535-47bb-0310-9956-ffa450edef68

6 years ago *) regex: Allow to configure global/default options for regexes, like
Graham Leggett [Fri, 16 Feb 2018 13:27:44 +0000 (13:27 +0000)]
  *) regex: Allow to configure global/default options for regexes, like
     caseless matching or extended format.
     trunk patch: http://svn.apache.org/r1824339
                  http://svn.apache.org/r1824439
     +1: ylavic, rpluem, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824472 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote and promote (with mmn bump)
Graham Leggett [Fri, 16 Feb 2018 13:26:45 +0000 (13:26 +0000)]
Vote and promote (with mmn bump)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824471 13f79535-47bb-0310-9956-ffa450edef68

6 years agocore: For consistency, ensure that read lines are NUL terminated on any
Graham Leggett [Fri, 16 Feb 2018 13:17:33 +0000 (13:17 +0000)]
core: For consistency, ensure that read lines are NUL terminated on any
error, not only on buffer full.
trunk patch: http://svn.apache.org/r1824303
+1: ylavic, rpluem, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824469 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote and promote.
Graham Leggett [Fri, 16 Feb 2018 13:16:24 +0000 (13:16 +0000)]
Vote and promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824468 13f79535-47bb-0310-9956-ffa450edef68

6 years agopropose sslpolicy backport
Stefan Eissing [Fri, 16 Feb 2018 13:10:08 +0000 (13:10 +0000)]
propose sslpolicy backport

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824467 13f79535-47bb-0310-9956-ffa450edef68

6 years agoPropose PR 54637 backport.
Joe Orton [Fri, 16 Feb 2018 13:05:30 +0000 (13:05 +0000)]
Propose PR 54637 backport.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824466 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUpdate proposal.
Graham Leggett [Fri, 16 Feb 2018 13:02:07 +0000 (13:02 +0000)]
Update proposal.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824462 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_authnz_ldap: Fix language long names detection as short name.
Graham Leggett [Fri, 16 Feb 2018 12:37:30 +0000 (12:37 +0000)]
mod_authnz_ldap: Fix language long names detection as short name.
trunk patch: http://svn.apache.org/r1824336
+1: ylavic, elukey, rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824456 13f79535-47bb-0310-9956-ffa450edef68

6 years agoproxy_util: Schemes and hostnames that are "too long" are
Graham Leggett [Fri, 16 Feb 2018 12:35:03 +0000 (12:35 +0000)]
proxy_util: Schemes and hostnames that are "too long" are
no longer automatically fatal errors but are instead logged
and truncated, at which point the admin can determine if that
is OK or not.
trunk patch: http://svn.apache.org/r1823482
+1: jim, minfrin, rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824455 13f79535-47bb-0310-9956-ffa450edef68

6 years agoUpdate proposal with s/strcasecmp/ap_cstr_casecmp/ as suggested by Ruediger.
Yann Ylavic [Fri, 16 Feb 2018 11:13:17 +0000 (11:13 +0000)]
Update proposal with s/strcasecmp/ap_cstr_casecmp/ as suggested by Ruediger.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824448 13f79535-47bb-0310-9956-ffa450edef68

6 years ago* Vote, promote, comment
Ruediger Pluem [Fri, 16 Feb 2018 09:46:52 +0000 (09:46 +0000)]
* Vote, promote, comment

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824438 13f79535-47bb-0310-9956-ffa450edef68

6 years agovote
Luca Toscano [Fri, 16 Feb 2018 07:38:57 +0000 (07:38 +0000)]
vote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824426 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFix duplicated proposal.
Yann Ylavic [Fri, 16 Feb 2018 00:31:27 +0000 (00:31 +0000)]
Fix duplicated proposal.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824391 13f79535-47bb-0310-9956-ffa450edef68

6 years agoNew proposals.
Yann Ylavic [Fri, 16 Feb 2018 00:10:06 +0000 (00:10 +0000)]
New proposals.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824387 13f79535-47bb-0310-9956-ffa450edef68

6 years agoPropose.
Yann Ylavic [Thu, 15 Feb 2018 21:31:24 +0000 (21:31 +0000)]
Propose.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824368 13f79535-47bb-0310-9956-ffa450edef68

6 years agoPropose.
Yann Ylavic [Thu, 15 Feb 2018 18:24:31 +0000 (18:24 +0000)]
Propose.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824342 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBackported in r1824333.
Yann Ylavic [Thu, 15 Feb 2018 18:11:19 +0000 (18:11 +0000)]
Backported in r1824333.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824341 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1667707, r1824332 from trunk:
Yann Ylavic [Thu, 15 Feb 2018 17:27:31 +0000 (17:27 +0000)]
Merge r1667707, r1824332 from trunk:

* mod_proxy: Allow setting options to globally defined balancer from
  ProxyPass used in VirtualHost. Balancers are now merged using the new
  merge_balancers method which merges the balancers options.

mod_proxy: follow up to r1667707: MMN minor bump.

Submitted by: jkaluza, ylavic
Reviewed by: icing, jim, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824333 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote, promote.
Yann Ylavic [Thu, 15 Feb 2018 14:00:57 +0000 (14:00 +0000)]
Vote, promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824309 13f79535-47bb-0310-9956-ffa450edef68

6 years agobackport vote
Jim Jagielski [Thu, 15 Feb 2018 13:43:58 +0000 (13:43 +0000)]
backport vote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824308 13f79535-47bb-0310-9956-ffa450edef68

6 years agopropose backport of r1667707
Stefan Eissing [Thu, 15 Feb 2018 13:36:15 +0000 (13:36 +0000)]
propose backport of r1667707

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824307 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAdd CHANGES entry
Christophe Jaillet [Wed, 14 Feb 2018 22:17:44 +0000 (22:17 +0000)]
Add CHANGES entry

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824271 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAnother comment
Christophe Jaillet [Wed, 14 Feb 2018 21:29:01 +0000 (21:29 +0000)]
Another comment

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824268 13f79535-47bb-0310-9956-ffa450edef68

6 years agoComment
Christophe Jaillet [Wed, 14 Feb 2018 21:19:45 +0000 (21:19 +0000)]
Comment

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824267 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBackported in r1824248.
Yann Ylavic [Wed, 14 Feb 2018 15:33:51 +0000 (15:33 +0000)]
Backported in r1824248.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824250 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1776575, r1776578, r1776624, r1776627, r1776674, r1776734, r1776740, r1778268...
Yann Ylavic [Wed, 14 Feb 2018 15:32:52 +0000 (15:32 +0000)]
Merge r1776575, r1776578, r1776624, r1776627, r1776674, r1776734, r1776740, r1778268, r1780725, r1781030, r1781031, r1781701, r1788674, r1789800, r1790169, r1790457, r1790691, r1806985, r1812332, r1818279 from trunk:

Merge new PROXY protocol code into mod_remoteip

Fix typo in mod_remoteip's doc

Shorten RemoteIPProxyProtocolEnable to RemoteIPProxyProtocol and correct references in docs

Move attribution for mod_remoteip RemoteIPProxyProtocol from file to CHANGES

On the trunk:

* mod_remoteip: added cast to fix clang compiler error

Reinsert attribution to mod_remoteip.c for PROXY protocol

* Silence compiler warning

Set all read buckets aside in case we need to restore all during optional header processing

* modules/metadata/mod_remoteip.c: Fix GCC strict-aliasing warning
  by moving deference of header array via a different pointer type
  ("type-punning") out of line.

* modules/metadata/mod_remoteip.c (register_hooks,
  remoteip_hook_pre_connection): Reference the filter by handle rather
  than name (avoiding tree lookup by name on use).

Change tactic for PROXY processing in Optional case

Finally include feedback from Ruediger Pluem. Add slave "backoff" verified by Sander Hoentjen

Update PROXY handling by removing Optional processing

Rename RemoteIPProxyProtocolDisableHosts to RemoteIPProxyProtocolExceptions

Fix directive name in
(s/RemoteIPProxyProtocolDisableNetworks/RemoteIPProxyProtocolExceptions/)

Use cmd->cmd->name instead to be future proof.

XML update plus typo in mod_remoteip.xml.

PROXY protocol proposal corrections

Fix format pattern (%lu => %APR_SIZE_T_FMT).

Detected by maintainer mode compilation and GCC error:

.../modules/metadata/mod_remoteip.c:
In function 'remoteip_input_filter':
.../include/http_log.h:117:33:
error: format '%lu' expects argument of type
'long unsigned int', but argument 8 has type
'apr_size_t {aka unsigned int}' [-Werror=format=]

APR-ize uint types

Submitted by: druggeri, elukey, druggeri, druggeri, druggeri, icing, druggeri, rpluem, druggeri, jorton, jorton, druggeri, druggeri, druggeri, druggeri, jailletc36, lgentis, mrumph, rjung, jim
Reviewed by: druggeri, jim, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824248 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRevert r1824221: wrong backport.
Yann Ylavic [Wed, 14 Feb 2018 15:20:58 +0000 (15:20 +0000)]
Revert r1824221: wrong backport.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824246 13f79535-47bb-0310-9956-ffa450edef68

6 years agopropose T&R
Jim Jagielski [Wed, 14 Feb 2018 13:20:59 +0000 (13:20 +0000)]
propose T&R

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824240 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1745863, r1745864 from trunk:
Jim Jagielski [Wed, 14 Feb 2018 13:20:01 +0000 (13:20 +0000)]
Merge r1745863, r1745864 from trunk:

Fix segfault with logresolve -c and IPv6

Due to a logic error, there could be a NULL pointer dereference.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823259

Fix comment typo

Submitted by: sf
Reviewed by: jailletc36, minfrin, jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824239 13f79535-47bb-0310-9956-ffa450edef68

6 years agopromote
Jim Jagielski [Wed, 14 Feb 2018 13:19:01 +0000 (13:19 +0000)]
promote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824238 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBackport vote
Jim Jagielski [Wed, 14 Feb 2018 13:18:31 +0000 (13:18 +0000)]
Backport vote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824237 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_remoteip: Add PROXY protocol support
Graham Leggett [Wed, 14 Feb 2018 10:55:44 +0000 (10:55 +0000)]
mod_remoteip: Add PROXY protocol support
trunk patch: http://svn.apache.org/r1776575
             http://svn.apache.org/r1776578 (doc fix)
             http://svn.apache.org/r1776624
             http://svn.apache.org/r1776627 (shortened name + doc fix)
             http://svn.apache.org/r1776674 (attribution moved to CHANGES)
             http://svn.apache.org/r1776734
             http://svn.apache.org/r1776740 (attribution updated in mod_remotip.c)
             http://svn.apache.org/r1778268 (fix compiler warning)
             http://svn.apache.org/r1780725 (set buckets aside)
             http://svn.apache.org/r1781030 (fix strict GCC warning)
             http://svn.apache.org/r1781031 (reference the filter by handle)
             http://svn.apache.org/r1781701 (rework optional processing case)
             http://svn.apache.org/r1788674 (final edge cases/ignore slave conns)
             http://svn.apache.org/r1789800 (remove optional processing)
             http://svn.apache.org/r1790169 (rename "exception" directive)
             http://svn.apache.org/r1790457 (Update directive name in err message)
             http://svn.apache.org/r1790691
             http://svn.apache.org/r1806985
             http://svn.apache.org/r1818279
2.4 convenience patch (includes CHANGES):
             http://home.apache.org/~ylavic/patches/RemoteIPProxyProtocol.2.4-v3.patch
+1: druggeri, jim, minfrin

[Reverted by r1824246]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824221 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMake an explicit patch.
Graham Leggett [Wed, 14 Feb 2018 10:52:17 +0000 (10:52 +0000)]
Make an explicit patch.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824220 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFollow up to r1824187: record mergeinfo(s).
Yann Ylavic [Wed, 14 Feb 2018 10:29:01 +0000 (10:29 +0000)]
Follow up to r1824187: record mergeinfo(s).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824214 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFollow up to r1824180: record mergeinfo(s).
Yann Ylavic [Wed, 14 Feb 2018 10:25:47 +0000 (10:25 +0000)]
Follow up to r1824180: record mergeinfo(s).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824212 13f79535-47bb-0310-9956-ffa450edef68

6 years agov3 of RemoteIPProxyProtocol.2.4 accepted.
Yann Ylavic [Wed, 14 Feb 2018 10:21:10 +0000 (10:21 +0000)]
v3 of RemoteIPProxyProtocol.2.4 accepted.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824211 13f79535-47bb-0310-9956-ffa450edef68

6 years agoPropose.
Graham Leggett [Wed, 14 Feb 2018 00:50:29 +0000 (00:50 +0000)]
Propose.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824191 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote, and note we need an extra backport.
Graham Leggett [Wed, 14 Feb 2018 00:35:48 +0000 (00:35 +0000)]
Vote, and note we need an extra backport.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824190 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_proxy, mod_ssl: Handle SSLProxy* directives in <Proxy> sections,
Graham Leggett [Tue, 13 Feb 2018 23:43:36 +0000 (23:43 +0000)]
mod_proxy, mod_ssl: Handle SSLProxy* directives in <Proxy> sections,
allowing per backend TLS configuration.
trunk patch: http://svn.apache.org/r1740928
             http://svn.apache.org/r1740960
             http://svn.apache.org/r1740967
             http://svn.apache.org/r1740987
             http://svn.apache.org/r1740998
             http://svn.apache.org/r1742697
             http://svn.apache.org/r1756976
             http://svn.apache.org/r1781313
             http://svn.apache.org/r1812193
2.4.x patch: https://svn.apache.org/repos/asf/httpd/httpd/patches/2.4.x/httpd-2.4.x-r1740928_and_co-v6.patch
+1: ylavic, icing, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824187 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote, promote.
Graham Leggett [Tue, 13 Feb 2018 23:41:37 +0000 (23:41 +0000)]
Vote, promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824186 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_proxy_uwsgi: Add in UWSGI proxy (sub)module
Graham Leggett [Tue, 13 Feb 2018 22:38:48 +0000 (22:38 +0000)]
mod_proxy_uwsgi: Add in UWSGI proxy (sub)module
trunk patch: http://svn.apache.org/r1810358
             http://svn.apache.org/r1810362
             http://svn.apache.org/r1810363
             http://svn.apache.org/r1810365
             http://svn.apache.org/r1810447
             http://svn.apache.org/r1816919
             http://svn.apache.org/r1816922
             http://svn.apache.org/r1818013
             http://svn.apache.org/r1818280
+1: jim, icing, minfrin
icing: tested on ubuntu 16.04 with a simple uwsgi python app.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824184 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote, promote.
Graham Leggett [Tue, 13 Feb 2018 22:37:18 +0000 (22:37 +0000)]
Vote, promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824183 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBackported.
Graham Leggett [Tue, 13 Feb 2018 22:12:17 +0000 (22:12 +0000)]
Backported.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824181 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1822509, r1822511, r1823412, r1823415, r1823416, r1823564, r1823572, r1823575...
Graham Leggett [Tue, 13 Feb 2018 22:11:47 +0000 (22:11 +0000)]
Merge r1822509, r1822511, r1823412, r1823415, r1823416, r1823564, r1823572, r1823575 from trunk:

mod_slotmem_shm: Rework SHM reuse/deletion.

To fix races with graceful restarts (PR 62044).

This commit does:
1/ use a constant file name for all systems (no generation suffix which
   makes a new SHM to be created for each restart, losing previous data)
2/ maintain the list of the created SHMs accross restarts (ap_pglobal list)
3/ not unlink the files on restart anymore (otherwise we can't reuse them)
4/ not attach existing SHMs in slotmem_create() anymore (not suitable since
   those are necessarily crash remainders)
5/ add type/sizes consistency check for persisted slots on restoration
6/ unlink the files only on stop/exit or before creating them (crash recovery)

We could possibly avoid 6/ (since we don't need to re-open files now) if we
remove the file just after the SHM is created.  This would at least work for
systems with "unlink semantic" (i.e. unlink succeeds even if some descriptors
are opened, the "real" thing happening when the last one desciptor closed), but
this wouldn't work for other systems so I kept the code generic for now.

mod_slotmem_shm: follow up tp r1822509.

Please buildbot (and incidentally users of older APR) by using
apr_shm_remove() instead of the new(er) apr_shm_delete().

mod_slotmem_shm: follow up tp r1822509.

Check SHM sizes when reused, reload may have changed the needs.

mod_slotmem_shm: follow up tp r1822509.

Do not bind attached slotmems to the global list, they should be detached with
the given pool (pchild) is cleaned up, but not destroyed/removed (doubly) with
pglobal.

mod_slotmem_shm: follow up tp r1822509.

Complete layout of SHM and persited file (ascii art).
Simplify an "if" condition, no functional change.

mod_proxy_balancer: follow up tp r1822509.

Rework server_rec ID so that it doesn't change on restart (or stop/start)
unless it's Host(s)/IP(s):port(s), ServerName and/or ServerAlias(es) changed.

The goal being to reuse SHMs (and persisted files) names as much as possible,
with minimal bindings to configuration changes (as far as mod_proxy_balancer
is concerned). So if the ServerName and first Host/IP:port are unique we use
that first, otherwise the ServerAlias(es) and other Host(s)/IP(s):port(s) are
also taken into account, and finally if that's still not enough the server
index is also used (pathological case handled for correctness with regard to
the underlying mod_slotmem_shm's reuse code).

mod_slotmem_shm: follow up tp r1822509.

Fishy "unlink semantic" (description) does not apply anymore.

Follow up to r1822509: amend CHANGES entry.

Submitted by: ylavic
Reviewed by: ylavic, jim, minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824180 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote and promote.
Graham Leggett [Tue, 13 Feb 2018 22:08:30 +0000 (22:08 +0000)]
Vote and promote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824179 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote.
Graham Leggett [Tue, 13 Feb 2018 21:56:41 +0000 (21:56 +0000)]
Vote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824178 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVote.
Graham Leggett [Tue, 13 Feb 2018 21:24:51 +0000 (21:24 +0000)]
Vote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824177 13f79535-47bb-0310-9956-ffa450edef68

6 years agorebuild
Rich Bowen [Tue, 13 Feb 2018 14:53:54 +0000 (14:53 +0000)]
rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824145 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFixes quoting as per https://bz.apache.org/bugzilla/show_bug.cgi?id=62063
Rich Bowen [Tue, 13 Feb 2018 14:51:16 +0000 (14:51 +0000)]
Fixes quoting as per https://bz.apache.org/bugzilla/show_bug.cgi?id=62063
Credit: Hendrik Harms <hendrik.harms@gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1824143 13f79535-47bb-0310-9956-ffa450edef68

6 years agodocumentation rebuild
Luca Toscano [Sun, 11 Feb 2018 11:11:31 +0000 (11:11 +0000)]
documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823835 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_proxy_fcgi.xml: add more context to the conn reuse note
Luca Toscano [Sun, 11 Feb 2018 11:10:41 +0000 (11:10 +0000)]
mod_proxy_fcgi.xml: add more context to the conn reuse note

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823834 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRebuild.
Lucien Gentis [Sat, 10 Feb 2018 16:33:38 +0000 (16:33 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823785 13f79535-47bb-0310-9956-ffa450edef68

6 years agoXML updates.
Lucien Gentis [Sat, 10 Feb 2018 16:32:55 +0000 (16:32 +0000)]
XML updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823784 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOn the 2.4.x branch:
Stefan Eissing [Sat, 10 Feb 2018 15:46:12 +0000 (15:46 +0000)]
On the 2.4.x branch:

Merged /httpd/httpd/trunk:r1821371,1822502-1822503,1822624

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823781 13f79535-47bb-0310-9956-ffa450edef68

6 years agopromote
Stefan Eissing [Sat, 10 Feb 2018 15:44:01 +0000 (15:44 +0000)]
promote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823780 13f79535-47bb-0310-9956-ffa450edef68

6 years agoPropose
Christophe Jaillet [Sat, 10 Feb 2018 14:34:14 +0000 (14:34 +0000)]
Propose

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823776 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRebuilt
Christophe Jaillet [Sat, 10 Feb 2018 12:42:12 +0000 (12:42 +0000)]
Rebuilt

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823765 13f79535-47bb-0310-9956-ffa450edef68

6 years agoAdd missing idtype="section"
Christophe Jaillet [Sat, 10 Feb 2018 12:41:01 +0000 (12:41 +0000)]
Add missing idtype="section"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823764 13f79535-47bb-0310-9956-ffa450edef68

6 years agorebuild
Christophe Jaillet [Sat, 10 Feb 2018 12:32:40 +0000 (12:32 +0000)]
rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823761 13f79535-47bb-0310-9956-ffa450edef68

6 years agoFix a broken link + fix some layout to synch with trunk
Christophe Jaillet [Sat, 10 Feb 2018 12:30:36 +0000 (12:30 +0000)]
Fix a broken link + fix some layout to synch with trunk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823759 13f79535-47bb-0310-9956-ffa450edef68

6 years agodocumentation rebuild
Luca Toscano [Sat, 10 Feb 2018 12:22:16 +0000 (12:22 +0000)]
documentation rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823754 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_proxy_fcgi.xml: add a note about connection reuse
Luca Toscano [Sat, 10 Feb 2018 12:21:53 +0000 (12:21 +0000)]
mod_proxy_fcgi.xml: add a note about connection reuse

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823753 13f79535-47bb-0310-9956-ffa450edef68

6 years agobackport prop vote
Jim Jagielski [Fri, 9 Feb 2018 12:44:10 +0000 (12:44 +0000)]
backport prop vote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823649 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1821558, r1821561, r1821595 from trunk:
Yann Ylavic [Fri, 9 Feb 2018 11:19:01 +0000 (11:19 +0000)]
Merge r1821558, r1821561, r1821595 from trunk:

mod_event: Let the listener thread do its maintenance job on resources shortage.

PR 61979.

Follow up to r1821558: CHANGES typo.

mpm_event: Follow up to r1821558.

Don't crash (in listener) if we can't create the ptrans allocator.

Submitted by: ylavic
Reviewed by: ylavic, jim, icing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823644 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1819855, r1821562 from trunk:
Yann Ylavic [Fri, 9 Feb 2018 11:16:25 +0000 (11:16 +0000)]
Merge r1819855, r1821562 from trunk:

mpm_event: wakeup the listener to re-enable listening sockets.

When listening sockets are disabled (too many connections) and the number of
workers / active connections comes back below the limit, we need to wake up
the listener to re-enable them.

Add a new connections_above_limit() helper to determine when this applies.

Follow up to r1819855: CHANGES entry.

Submitted by: ylavic
Reviewed by: ylavic, jim, icing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823643 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1643279, r1703241, r1802535, r1819847, r1819848, r1819852, r1819853 from trunk:
Yann Ylavic [Fri, 9 Feb 2018 11:12:42 +0000 (11:12 +0000)]
Merge r1643279, r1703241, r1802535, r1819847, r1819848, r1819852, r1819853 from trunk:

mpm_event(opt): avoid casts/comparisons from unsigned to signed (atomics).

mpm_event/worker: make ap_queue_term() atomic (acquire/release the mutex once).

mpm_event: ap_queue_info_try_get_idler() may atomically decrement and then
re-increment the number idlers if it went under or to zero.  We can avoid
this by switching to a compare-and-swap scheme.

mpm_event: avoid unexpected compiler optimizations.

Make sure the compiler doesn't play games with our synchronization variables
by marking them volatile.

mpm_event: make sure wakeup_listener() does its minimal job.

Even if the listener thread is not created yet (i.e. about to be), we must
still tell it to leave, and terminate the worker queue in any case.

mpm_event: worker factor vs pollset.

Make sure the worker factor is at least one (w.r.t. WORKER_FACTOR_SCALE), and
use it to size the pollset appropriately (including K-A and lingering close
connections), in addition to the listening sockets.

mpm_event: remove atomics for timeout_queue's total counter.

It's always updated under the timeout_mutex lock, or read for logging and
scoreboard updates (not critical).

For the read cases a volatile access is enough, while removing the atomic ops
for the already protected write cases saves cycles and context switches.

Submitted by: ylavic
Reviewed by: ylavic, jim, icing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823642 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1605328, r1629576 from trunk:
Yann Ylavic [Fri, 9 Feb 2018 11:09:43 +0000 (11:09 +0000)]
Merge r1605328, r1629576 from trunk:

event: minify local variables scope.

event: have_idle_worker must not be cleared in every listener_thread iteration.
Fixes bug when workers were not stopped after graceful restart (introduced in
                                                                r1605328).

Submitted by: takashi, jkaluza
Reviewed by: ylavic, jim, icing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823641 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRevert r1823629 to stage backport commits too.
Yann Ylavic [Fri, 9 Feb 2018 11:04:55 +0000 (11:04 +0000)]
Revert r1823629 to stage backport commits too.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823636 13f79535-47bb-0310-9956-ffa450edef68

6 years agopromote
Stefan Eissing [Fri, 9 Feb 2018 10:31:07 +0000 (10:31 +0000)]
promote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823633 13f79535-47bb-0310-9956-ffa450edef68

6 years agovote
Stefan Eissing [Fri, 9 Feb 2018 10:30:56 +0000 (10:30 +0000)]
vote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823632 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOn the 2.4.x branch:
Stefan Eissing [Fri, 9 Feb 2018 10:30:35 +0000 (10:30 +0000)]
On the 2.4.x branch:

Merge of r1823179 from trunk.

config.layout: Add Fedora layout.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823631 13f79535-47bb-0310-9956-ffa450edef68

6 years agomerged
Stefan Eissing [Fri, 9 Feb 2018 10:28:45 +0000 (10:28 +0000)]
merged

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823630 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOn the 2.4.x branch:
Stefan Eissing [Fri, 9 Feb 2018 10:28:07 +0000 (10:28 +0000)]
On the 2.4.x branch:

Merge of r1605328,r1629576,r1643279,r1703241,r1802535,r1819847,r1819848,r1819852,r1819853,r1819855,r1821562,r1821558,r1821561,r1821595 from trunk

  *) event: staging changes (incremental patches) to sync 2.4.x with trunk.

[Reverted by r1823636]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823629 13f79535-47bb-0310-9956-ffa450edef68

6 years agopromote
Stefan Eissing [Fri, 9 Feb 2018 10:26:30 +0000 (10:26 +0000)]
promote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823628 13f79535-47bb-0310-9956-ffa450edef68

6 years agovote and promote
Stefan Eissing [Fri, 9 Feb 2018 10:26:06 +0000 (10:26 +0000)]
vote and promote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823627 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerged x3.
Joe Orton [Fri, 9 Feb 2018 10:21:58 +0000 (10:21 +0000)]
Merged x3.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823626 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1556473 from trunk:
Joe Orton [Fri, 9 Feb 2018 10:20:50 +0000 (10:20 +0000)]
Merge r1556473 from trunk:

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLCompression): Fail if
  enabled *and* if OpenSSL does not make any compression methods
  available.  Tweak wording for failure without SSL_OP_NO_COMPRESSION.

Submitted by: jorton
Reviewed by: jorton, jim, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823625 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1816534 from trunk:
Joe Orton [Fri, 9 Feb 2018 10:17:30 +0000 (10:17 +0000)]
Merge r1816534 from trunk:

* support/Makefile.in, acinclude.m4: Add OpenSSL libraries at the end of the
  ab link line, not the start.

[too boring for CHANGES]

Submitted by: jorton
Reviewed by: jorton, jim, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823624 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1822305 from trunk:
Joe Orton [Fri, 9 Feb 2018 10:16:22 +0000 (10:16 +0000)]
Merge r1822305 from trunk:

* modules/lua/config.m4: Link mod_lua against -lcrypt if available,
  since mk_password_hash() can use crypt().

[too boring for CHANGES]

Submitted by: jorton
Reviewed by: jorton, jim, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823623 13f79535-47bb-0310-9956-ffa450edef68

6 years agoVotes, comment
Yann Ylavic [Thu, 8 Feb 2018 20:48:23 +0000 (20:48 +0000)]
Votes, comment

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823600 13f79535-47bb-0310-9956-ffa450edef68

6 years agovotes on backprops
Jim Jagielski [Thu, 8 Feb 2018 20:21:23 +0000 (20:21 +0000)]
votes on backprops

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823599 13f79535-47bb-0310-9956-ffa450edef68

6 years agoPropose.
Yann Ylavic [Thu, 8 Feb 2018 16:18:26 +0000 (16:18 +0000)]
Propose.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823576 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBackport request... long schemes and hostnames
Jim Jagielski [Wed, 7 Feb 2018 16:51:15 +0000 (16:51 +0000)]
Backport request... long schemes and hostnames

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823501 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRebuild
Rich Bowen [Wed, 7 Feb 2018 15:07:17 +0000 (15:07 +0000)]
Rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823474 13f79535-47bb-0310-9956-ffa450edef68

6 years agoCorrect LDAP attribute quoting. Patch from hendrik.harms@gmail.com
Rich Bowen [Wed, 7 Feb 2018 13:44:27 +0000 (13:44 +0000)]
Correct LDAP attribute quoting. Patch from hendrik.harms@gmail.com

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823464 13f79535-47bb-0310-9956-ffa450edef68

6 years agoMerge r1723522 from trunk:
Joe Orton [Tue, 6 Feb 2018 09:28:34 +0000 (09:28 +0000)]
Merge r1723522 from trunk:

* mod_log_debug docs: Fix the IS_SUBREQ example

Submitted by: jkaluza
Reviewed by: jorton

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823289 13f79535-47bb-0310-9956-ffa450edef68

6 years agomod_ssl tweak.
Joe Orton [Tue, 6 Feb 2018 09:22:18 +0000 (09:22 +0000)]
mod_ssl tweak.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823286 13f79535-47bb-0310-9956-ffa450edef68

6 years agoTrio of minor build system tweaks.
Joe Orton [Mon, 5 Feb 2018 14:26:14 +0000 (14:26 +0000)]
Trio of minor build system tweaks.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1823181 13f79535-47bb-0310-9956-ffa450edef68

6 years agoOn the 2.4.x branch:
Stefan Eissing [Tue, 30 Jan 2018 10:20:50 +0000 (10:20 +0000)]
On the 2.4.x branch:

mod_md: merged copyright de-advertisements.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1822628 13f79535-47bb-0310-9956-ffa450edef68

6 years agopropose
Stefan Eissing [Tue, 30 Jan 2018 10:14:44 +0000 (10:14 +0000)]
propose

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1822627 13f79535-47bb-0310-9956-ffa450edef68

6 years agomaybe do a T&R soon??
Jim Jagielski [Mon, 22 Jan 2018 13:54:35 +0000 (13:54 +0000)]
maybe do a T&R soon??

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1821864 13f79535-47bb-0310-9956-ffa450edef68

6 years agoRebuild.
Lucien Gentis [Sat, 20 Jan 2018 13:48:49 +0000 (13:48 +0000)]
Rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1821742 13f79535-47bb-0310-9956-ffa450edef68

6 years agoXML update.
Lucien Gentis [Sat, 20 Jan 2018 13:47:31 +0000 (13:47 +0000)]
XML update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1821741 13f79535-47bb-0310-9956-ffa450edef68

6 years ago+ r1821595 to event patch 4/4.
Yann Ylavic [Fri, 19 Jan 2018 08:36:25 +0000 (08:36 +0000)]
+ r1821595 to event patch 4/4.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1821599 13f79535-47bb-0310-9956-ffa450edef68

6 years agoBetter event *merge* staging.
Yann Ylavic [Fri, 19 Jan 2018 08:04:51 +0000 (08:04 +0000)]
Better event *merge* staging.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1821594 13f79535-47bb-0310-9956-ffa450edef68