]> granicus.if.org Git - apache/log
apache
6 years agorpm: Add mod_proxy_uwsgi to the RPM package.
Graham Leggett [Mon, 26 Feb 2018 13:35:52 +0000 (13:35 +0000)]
rpm: Add mod_proxy_uwsgi to the RPM package.

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

6 years agorpm: Remove rpm build for mod_socache_dc, the dependency distcache has long since
Graham Leggett [Mon, 26 Feb 2018 13:25:03 +0000 (13:25 +0000)]
rpm: Remove rpm build for mod_socache_dc, the dependency distcache has long since
stopped being available in RPM distros.

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

6 years agoRebuild.
Lucien Gentis [Sat, 24 Feb 2018 14:33:34 +0000 (14:33 +0000)]
Rebuild.

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

6 years agoXML update.
Lucien Gentis [Sat, 24 Feb 2018 14:32:37 +0000 (14:32 +0000)]
XML update.

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

6 years agoPropose backportable fix to accept libxml2 path in the
William A. Rowe Jr [Fri, 23 Feb 2018 20:23:10 +0000 (20:23 +0000)]
Propose backportable fix to accept libxml2 path in the
base form or the absolute path to include tree form.

Nowhere does the --with-libxml2= arg suggest the path
is that of the include tree, and disagrees with httpd's
use of --with- syntax for package location.

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

6 years ago* modules/lua/config.m4: Use liblua paths from pkg-config if
Joe Orton [Fri, 23 Feb 2018 17:53:09 +0000 (17:53 +0000)]
* modules/lua/config.m4: Use liblua paths from pkg-config if
  available.

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

6 years agoFollow-up to r1825120:
Joe Orton [Fri, 23 Feb 2018 12:10:49 +0000 (12:10 +0000)]
Follow-up to r1825120:

* modules/ssl/ssl_engine_init.c (ssl_init_ca_cert_path): Since
  SSL_add_file_cert_subjects_to_stack() internally replaces the
  comparison callback with one equivalent to
  ssl_init_FindCAList_X509NameCmp, there's no point in using that
  here.
  (ssl_init_FindCAList_X509NameCmp): Removed.

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

6 years ago* modules/ssl/ssl_engine_init.c (ssl_init_PushCAList): Remove function.
Joe Orton [Fri, 23 Feb 2018 11:51:49 +0000 (11:51 +0000)]
* modules/ssl/ssl_engine_init.c (ssl_init_PushCAList): Remove function.
  (ssl_init_ca_cert_path): Use SSL_add_file_cert_subjects_to_stack()
  instead.

[Edit: This does change behaviour: the acceptable client CA list is now
 always be sent in sorted order rather than configured/file order.
 In the case of SSLCACertificatePath and SSLCADNRequestPath, the
 order will be stable rather than non-determistic as previously.]

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

6 years agoCorrectly identify origin of util_pcre.c/ap_regex.h as pcreposix[.ch]
William A. Rowe Jr [Wed, 21 Feb 2018 14:56:01 +0000 (14:56 +0000)]
Correctly identify origin of util_pcre.c/ap_regex.h as pcreposix[.ch]
and correct LICENSE/NOTICE to match.

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

6 years agompm_event: follow up to r1823047 and r1824862.
Yann Ylavic [Tue, 20 Feb 2018 13:32:48 +0000 (13:32 +0000)]
mpm_event: follow up to r1823047 and r1824862.

Revert (broken) functional change from r1824862.

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

6 years agompm_event: follow up to r1823047 and r1824464.
Yann Ylavic [Tue, 20 Feb 2018 12:30:59 +0000 (12:30 +0000)]
mpm_event: follow up to r1823047 and r1824464.

MMN bump for CONN_STATE_NUM, plus don't consider CONN_STATE_LINGER_* as valid
states returned process_connection (never have been).

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

6 years ago10 years after r567503 , fix this properly.
Eric Covener [Mon, 19 Feb 2018 20:54:58 +0000 (20:54 +0000)]
10 years after r567503 , fix this properly.

The lock is created in post_config, so we can't copy it
around in a merge_server_config() callback.

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

6 years agoTransforms.
Joe Orton [Mon, 19 Feb 2018 16:52:28 +0000 (16:52 +0000)]
Transforms.

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

6 years agoFix description of SSLProxyMachineCertificatePath to match the
Joe Orton [Mon, 19 Feb 2018 16:51:19 +0000 (16:51 +0000)]
Fix description of SSLProxyMachineCertificatePath to match the
implementation.

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

6 years agoadd mod_proxy_uwsgi.so to windows build
Steffen Land [Mon, 19 Feb 2018 11:12:41 +0000 (11:12 +0000)]
add mod_proxy_uwsgi.so to windows build

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

6 years agoMissing word.
Lucien Gentis [Mon, 19 Feb 2018 10:58:55 +0000 (10:58 +0000)]
Missing word.

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

6 years agoSave a few cycles.
Christophe Jaillet [Mon, 19 Feb 2018 06:20:26 +0000 (06:20 +0000)]
Save a few cycles.

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

6 years agocore: Create a conn_config_t structure to hold an extendable core config rather
Graham Leggett [Sat, 17 Feb 2018 21:39:53 +0000 (21:39 +0000)]
core: Create a conn_config_t structure to hold an extendable core config rather
than consuming the whole pointer with the connection socket.

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

6 years agoWire through the log message number.
Graham Leggett [Sat, 17 Feb 2018 14:35:53 +0000 (14:35 +0000)]
Wire through the log message number.

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

6 years agoMake sure ACL API support in mod_dav is not dependent on the presence
Graham Leggett [Sat, 17 Feb 2018 13:56:44 +0000 (13:56 +0000)]
Make sure ACL API support in mod_dav is not dependent on the presence
or absence of apr-util v1.6. Log a message to note that ACL support
is disabled with apr-util <= 1.5.

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

6 years agoRebuild.
Lucien Gentis [Fri, 16 Feb 2018 15:55:59 +0000 (15:55 +0000)]
Rebuild.

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

6 years agoXML update.
Lucien Gentis [Fri, 16 Feb 2018 15:54:04 +0000 (15:54 +0000)]
XML update.

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

6 years agoAxe backported entries.
Yann Ylavic [Fri, 16 Feb 2018 15:18:49 +0000 (15:18 +0000)]
Axe backported entries.

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

6 years agompm_event: follow up to r1823047: CHANGES entry.
Yann Ylavic [Fri, 16 Feb 2018 14:26:32 +0000 (14:26 +0000)]
mpm_event: follow up to r1823047: CHANGES entry.

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

6 years agoSet the notice when hostname is too long for legacy proxy modules to info level.
Graham Leggett [Fri, 16 Feb 2018 13:52:47 +0000 (13:52 +0000)]
Set the notice when hostname is too long for legacy proxy modules to info level.

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

6 years agoAdd MMN bump for AP_REG_DOLLAR_ENDONLY, ap_regcomp_get_default_cflags
Graham Leggett [Fri, 16 Feb 2018 13:23:26 +0000 (13:23 +0000)]
Add MMN bump for AP_REG_DOLLAR_ENDONLY, ap_regcomp_get_default_cflags
ap_regcomp_set_default_cflags and ap_regcomp_default_cflag_by_name

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

6 years agompm_event: follow up to r1823047: complete state validation after processing.
Yann Ylavic [Fri, 16 Feb 2018 13:04:43 +0000 (13:04 +0000)]
mpm_event: follow up to r1823047: complete state validation after processing.

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

6 years agompm_event: follow up to r1823047: simplify "clogging" logic (reentrance).
Yann Ylavic [Fri, 16 Feb 2018 13:02:27 +0000 (13:02 +0000)]
mpm_event: follow up to r1823047: simplify "clogging" logic (reentrance).

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

6 years agoTone down the message that worker hostname is too long noting it only
Graham Leggett [Fri, 16 Feb 2018 12:55:49 +0000 (12:55 +0000)]
Tone down the message that worker hostname is too long noting it only
affects legacy modules not yet using hostname_ex.

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

6 years agoMMN bump for hostname_ex in proxy_worker_shared.
Graham Leggett [Fri, 16 Feb 2018 12:44:57 +0000 (12:44 +0000)]
MMN bump for hostname_ex in proxy_worker_shared.

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

6 years agompm_event: follow up to r1823047.
Yann Ylavic [Fri, 16 Feb 2018 12:31:28 +0000 (12:31 +0000)]
mpm_event: follow up to r1823047.

Update clogged counter on read_request retry too.

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

6 years agoFollow up to r1824339: s/strcasecmp/ap_cstr_casecmp/ as suggested by Ruediger.
Yann Ylavic [Fri, 16 Feb 2018 10:01:13 +0000 (10:01 +0000)]
Follow up to r1824339: s/strcasecmp/ap_cstr_casecmp/ as suggested by Ruediger.

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

6 years agomod_session: Strip Session header when SessionEnv is on.
Yann Ylavic [Fri, 16 Feb 2018 00:22:38 +0000 (00:22 +0000)]
mod_session: Strip Session header when SessionEnv is on.

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

6 years agoFollow up to r1821624: CHANGES entry.
Yann Ylavic [Thu, 15 Feb 2018 23:15:16 +0000 (23:15 +0000)]
Follow up to r1821624: CHANGES entry.

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

6 years agomod_cache_socache: Fix caching of empty headers up to carriage return.
Yann Ylavic [Thu, 15 Feb 2018 18:31:25 +0000 (18:31 +0000)]
mod_cache_socache: Fix caching of empty headers up to carriage return.

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

6 years agoregex: Allow to configure global/default options for regexes.
Yann Ylavic [Thu, 15 Feb 2018 17:53:24 +0000 (17:53 +0000)]
regex: Allow to configure global/default options for regexes.

Like caseless matching or extended format, which may be useful as default
behaviour the whole configuration.

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

6 years agomod_authnz_ldap: Fix language long names detection as short name.
Yann Ylavic [Thu, 15 Feb 2018 17:42:14 +0000 (17:42 +0000)]
mod_authnz_ldap: Fix language long names detection as short name.

Make sure the long name format is relevent before converting it.

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

6 years agomod_proxy: follow up to r1667707: MMN minor bump.
Yann Ylavic [Thu, 15 Feb 2018 17:21:52 +0000 (17:21 +0000)]
mod_proxy: follow up to r1667707: MMN minor bump.

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

6 years agocore: Ensure that ap_*getline*() return NUL terminated lines on any error.
Yann Ylavic [Thu, 15 Feb 2018 12:57:14 +0000 (12:57 +0000)]
core: Ensure that ap_*getline*() return NUL terminated lines on any error.

This was done only on buffer full, so be consistent, and fail early if the
given buffer can't even hold the NUL bytes (negative or nul size).

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

6 years agoGive credit
Christophe Jaillet [Wed, 14 Feb 2018 22:19:35 +0000 (22:19 +0000)]
Give credit

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

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

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

6 years agoDocumentation rebuild
Luca Toscano [Wed, 14 Feb 2018 15:39:55 +0000 (15:39 +0000)]
Documentation rebuild

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

6 years agofixing missing rename of SSLPolicy section
Stefan Eissing [Wed, 14 Feb 2018 15:30:49 +0000 (15:30 +0000)]
fixing missing rename of SSLPolicy section

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

6 years agomod_proxy: Provide an RFC1035 compliant version of the hostname in the
Graham Leggett [Tue, 13 Feb 2018 21:22:05 +0000 (21:22 +0000)]
mod_proxy: Provide an RFC1035 compliant version of the hostname in the
proxy_worker_shared structure. PR62085

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

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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1824146 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:33 +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/trunk@1824144 13f79535-47bb-0310-9956-ffa450edef68

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

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

6 years agoOops. Mised pre-systemd syntax with systemd syntax. Trying to be consistent. I expect...
Rich Bowen [Tue, 13 Feb 2018 14:34:41 +0000 (14:34 +0000)]
Oops. Mised pre-systemd syntax with systemd syntax. Trying to be consistent. I expect someone will complain.

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

6 years agoAdding newly generated .fr docs.
Rich Bowen [Tue, 13 Feb 2018 14:24:53 +0000 (14:24 +0000)]
Adding newly generated .fr docs.

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

6 years agoRebuild from recent changes.
Rich Bowen [Tue, 13 Feb 2018 14:22:26 +0000 (14:22 +0000)]
Rebuild from recent changes.

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

6 years agoInstallation instructions, and links, for the majority of people who
Rich Bowen [Tue, 13 Feb 2018 13:51:48 +0000 (13:51 +0000)]
Installation instructions, and links, for the majority of people who
will not be building from source.

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

6 years agoFixes weird formatting issue in the output.
Rich Bowen [Mon, 12 Feb 2018 21:20:20 +0000 (21:20 +0000)]
Fixes weird formatting issue in the output.

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

6 years agomod_proxy_fcgi: prioritize the check for mayflush when using flushpackets
Luca Toscano [Sun, 11 Feb 2018 19:30:40 +0000 (19:30 +0000)]
mod_proxy_fcgi: prioritize the check for mayflush when using flushpackets

The mayflush variable should be checked before the rest
to avoid polling when not needed.

Suggested by Yann Ylavic on the dev@ mailing list.

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

6 years agoMore corrections to mod_ssl Spanish translation
Daniel Ferradal [Sun, 11 Feb 2018 19:21:43 +0000 (19:21 +0000)]
More corrections to mod_ssl Spanish translation

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

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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1823833 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:09:15 +0000 (11:09 +0000)]
mod_proxy_fcgi.xml: add more context to the conn reuse note

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

6 years agoAxe some code duplication.
Christophe Jaillet [Sun, 11 Feb 2018 10:41:33 +0000 (10:41 +0000)]
Axe some code duplication.
Use 'ap_array_str_contains()' instead of 'ctutil_in_array()'

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

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

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

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

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

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

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

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

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

6 years agoFollow up to r1822509: amend CHANGES entry.
Yann Ylavic [Thu, 8 Feb 2018 16:01:07 +0000 (16:01 +0000)]
Follow up to r1822509: amend CHANGES entry.

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

6 years agomod_slotmem_shm: follow up tp r1822509.
Yann Ylavic [Thu, 8 Feb 2018 15:42:49 +0000 (15:42 +0000)]
mod_slotmem_shm: follow up tp r1822509.

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

[Reverted by r1831868]

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

6 years agomod_proxy_balancer: follow up tp r1822509.
Yann Ylavic [Thu, 8 Feb 2018 15:08:09 +0000 (15:08 +0000)]
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).

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

6 years agotoo-long worker schemes and/or hostnames are no longer fatal errors
Jim Jagielski [Wed, 7 Feb 2018 15:38:23 +0000 (15:38 +0000)]
too-long worker schemes and/or hostnames are no longer fatal errors

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

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

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

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

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

6 years agomod_slotmem_shm: follow up tp r1822509.
Yann Ylavic [Tue, 6 Feb 2018 23:43:41 +0000 (23:43 +0000)]
mod_slotmem_shm: follow up tp r1822509.

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

[Reverted by r1831868]

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

6 years agomod_slotmem_shm: follow up tp r1822509.
Yann Ylavic [Tue, 6 Feb 2018 23:37:25 +0000 (23:37 +0000)]
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.

[Reverted by r1831868]

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

6 years agomod_slotmem_shm: follow up tp r1822509.
Yann Ylavic [Tue, 6 Feb 2018 23:30:41 +0000 (23:30 +0000)]
mod_slotmem_shm: follow up tp r1822509.

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

[Reverted by r1831868]

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

6 years ago* config.layout: Add "modern" Fedora (/RHEL) layout; different to
Joe Orton [Mon, 5 Feb 2018 14:15:54 +0000 (14:15 +0000)]
* config.layout: Add "modern" Fedora (/RHEL) layout; different to
  older layout used in "RedHat".

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

6 years agompm_event: move lingering close "sucker" from the listener to worker(s).
Yann Ylavic [Sat, 3 Feb 2018 18:10:23 +0000 (18:10 +0000)]
mpm_event: move lingering close "sucker" from the listener to worker(s).

This was the last non-constant time action performed by the listener thread.

It's now handled by the worker thread directly after entering lingering close,
which should directly address the cases when the socket is already closed
remotely at that time, hence avoid more scheduling (it may be the common case
for some scenarios).

And it's only if the above would need blocking (i.e. more data to suck) that
the socket is added to the pollset for the listener to re-schedule a worker
later when ready. If no worker is available at that time then the socket is
forcibly closed (similarly to what's done for keepalive connections in this
case).

Also, since process_lingering_close() is now called by a worker thread and
with almost no depth in the call stack, we can grow the size of the "suck"
buffer from 2K to 32K to potentially call recv() up to sixteen times less.

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

6 years ago* modules/loggers/mod_logio.c (logio_pre_config): Remove pointless
Joe Orton [Fri, 2 Feb 2018 08:35:26 +0000 (08:35 +0000)]
* modules/loggers/mod_logio.c (logio_pre_config): Remove pointless
  static in optional fn pointer variable declaration.

* modules/ssl/ssl_engine_vars.c (ssl_var_log_config_register):
  Likewise.

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

6 years agomod_proxy: follow up to r1822849 and r1822879.
Yann Ylavic [Thu, 1 Feb 2018 15:41:49 +0000 (15:41 +0000)]
mod_proxy: follow up to r1822849 and r1822879.

Fix my maths, thanks Stefan and RĂ¼diger!

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

6 years agomod_proxy: follow up to r1822849 and r1822878.
Yann Ylavic [Thu, 1 Feb 2018 15:01:40 +0000 (15:01 +0000)]
mod_proxy: follow up to r1822849 and r1822878.

Does r1822878's "static" APR_RETRIEVE_OPTIONAL_FN work if, say, mod_proxy is
builtin but mod_http2 isn't?

Not worth taking the risk here since it's not a fast path...

Note: if this is an issue, I'm afraid it applies elsewhere too.

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

6 years agomod_proxy: follow up to r1822849.
Yann Ylavic [Thu, 1 Feb 2018 14:42:07 +0000 (14:42 +0000)]
mod_proxy: follow up to r1822849.

Get the help(er) of mod_http2 to determine how much connections should
be handled in the reslist by default (i.e. max_threads).

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

6 years agoOn the trunk:
Stefan Eissing [Thu, 1 Feb 2018 12:37:51 +0000 (12:37 +0000)]
On the trunk:

adding AP_DECLARE for ap_parse_vhost_addrs() and minor bumb mmn. Resolves
     building mod_ssl on Windows.

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

6 years ago* Add some some comment why we do not limit hmax any longer
Ruediger Pluem [Thu, 1 Feb 2018 08:34:59 +0000 (08:34 +0000)]
* Add some some comment why we do not limit hmax any longer

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

6 years ago* Makefile.in (build/config_vars.out): Rebuild if build/config_vars.sh
Joe Orton [Thu, 1 Feb 2018 08:34:54 +0000 (08:34 +0000)]
* Makefile.in (build/config_vars.out): Rebuild if build/config_vars.sh
  has changed.

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

6 years ago* When mod_http2 is loaded more then ThreadsPerChild backend connections can
Ruediger Pluem [Thu, 1 Feb 2018 07:34:02 +0000 (07:34 +0000)]
* When mod_http2 is loaded more then ThreadsPerChild backend connections can
  be useful as mod_http2 has an additional thread pool on top of
  ThreadsPerChild.
  But leave the default with ThreadsPerChild.

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

6 years agoRevert r1822800 and r1822804.
Yann Ylavic [Wed, 31 Jan 2018 14:25:53 +0000 (14:25 +0000)]
Revert r1822800 and r1822804.

All was already there, I just misread name vs sname :/

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

6 years agomod_proxy_balancer: follow up tp r1822509 and r1822800.
Yann Ylavic [Wed, 31 Jan 2018 14:15:03 +0000 (14:15 +0000)]
mod_proxy_balancer: follow up tp r1822509 and r1822800.

Actually we already have an (per vhost) unique id for the balancer, so use it.

[Reverted by r1822806]

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

6 years agomod_proxy_balancer: follow up tp r1822509.
Yann Ylavic [Wed, 31 Jan 2018 13:55:53 +0000 (13:55 +0000)]
mod_proxy_balancer: follow up tp r1822509.

Use a unique balancer id per vhost for workers' slotmem too.

[Reverted by r1822806]

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

6 years agocore: follow up to r1822596.
Yann Ylavic [Tue, 30 Jan 2018 17:20:21 +0000 (17:20 +0000)]
core: follow up to r1822596.

We can't dereference 'f' after EOR is destroyed either.

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

6 years agoOn the trunk:
Stefan Eissing [Tue, 30 Jan 2018 10:09:36 +0000 (10:09 +0000)]
On the trunk:

mod_http2: removed obsolete stream detach code, no longer generating events
     in beam shutdown on pool destroy.

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

6 years agocore: don't send EOR bucket through request filters.
Yann Ylavic [Tue, 30 Jan 2018 02:00:33 +0000 (02:00 +0000)]
core: don't send EOR bucket through request filters.

The core request filter is the only one which should take care of it.
In theory the other request filters should have bailed out on EOS already,
but that's not always the case (and even less the case on error).
So be safe by not sending them a bucket which may destroy the request (and
their brigade) underneath them.

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

6 years agocore: fix ap_request_core_filter()'s brigade lifetime.
Yann Ylavic [Tue, 30 Jan 2018 00:58:54 +0000 (00:58 +0000)]
core: fix ap_request_core_filter()'s brigade lifetime.

The filter should pass everything up to and including EOR, then bail out.
For EOR it can't use a brigade created on r->pool, so retain one created
on c->pool in c->notes (this avoids leaking a brigades for each request
on the same connection).

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

6 years agompm_unix(es): cleanup properly on exit in one_process mode.
Yann Ylavic [Mon, 29 Jan 2018 17:00:23 +0000 (17:00 +0000)]
mpm_unix(es): cleanup properly on exit in one_process mode.

We can't destroy ap_pglobal in the MPMs because clean_child_exit() runs in
a DSO which would be unloaded under us.

So we defer an ap_terminate() with atexit() in ap_unixd_mpm_set_signals(),
all this is static/builtin code in "os/unix/unixd.c".

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

6 years agoRevert r1814112, it does not work for threaded MPMs.
Yann Ylavic [Mon, 29 Jan 2018 16:52:19 +0000 (16:52 +0000)]
Revert r1814112, it does not work for threaded MPMs.

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

6 years agomod_proxy: fix proxy connection cleanup from an n+2 pool.
Yann Ylavic [Mon, 29 Jan 2018 16:41:03 +0000 (16:41 +0000)]
mod_proxy: fix proxy connection cleanup from an n+2 pool.

When connection_destructor() is called after pchild is gone, we can't
dereference worker->cp anymore. This happens is debug/one_process mode only,
if we exit by calling apr_terminate() or clearing the process pool directly.

Fix this by NULL-ing worker->cp in conn_pool_cleanup(), and by registering it
as a pre_cleanup.

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

6 years agomod_slotmem_shm: follow up tp r1822509.
Yann Ylavic [Mon, 29 Jan 2018 14:43:21 +0000 (14:43 +0000)]
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().

[Reverted by r1831868]

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

6 years agomod_slotmem_shm: Rework SHM reuse/deletion.
Yann Ylavic [Mon, 29 Jan 2018 14:34:50 +0000 (14:34 +0000)]
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.

[Reverted by r1831868]

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

6 years agoRevert r1822341, slotmems are not reused on (graceful) restart.
Yann Ylavic [Mon, 29 Jan 2018 13:22:47 +0000 (13:22 +0000)]
Revert r1822341, slotmems are not reused on (graceful) restart.

Will follow up with an alternate fix.

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

6 years agomod_http2/mod_proxy_http2: add new module flags
Stefan Eissing [Mon, 29 Jan 2018 13:10:22 +0000 (13:10 +0000)]
mod_http2/mod_proxy_http2: add new module flags

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

6 years agoOn the trunk:
Stefan Eissing [Mon, 29 Jan 2018 13:03:49 +0000 (13:03 +0000)]
On the trunk:

mod_http2: discourage gzip/brotli content encoding on http2-status responses as
     they are inserted into the reponse when filters are already done.

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

6 years agoOn the trunk:
Stefan Eissing [Mon, 29 Jan 2018 11:40:25 +0000 (11:40 +0000)]
On the trunk:

core: adding defines to allow interworking with honggfuzz without
     further patches.

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

6 years agompm_fdqueue: follow up to r1821624.
Yann Ylavic [Sat, 27 Jan 2018 02:09:07 +0000 (02:09 +0000)]
mpm_fdqueue: follow up to r1821624.

80 colums.

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

6 years agompm_fdqueue: follow up to r1821624.
Yann Ylavic [Sat, 27 Jan 2018 02:01:47 +0000 (02:01 +0000)]
mpm_fdqueue: follow up to r1821624.

Export ap_queue_*() fonctions, so that they are accessible from MPMs, but
don't provide "mpm_fdqueue.h" in the API (include/).

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

6 years agoPR 62044: Force addition of generation number to shm filename on
Jim Jagielski [Fri, 26 Jan 2018 19:49:04 +0000 (19:49 +0000)]
PR 62044: Force addition of generation number to shm filename on
all platforms. Keep persisted filename as-was.

[Reverted by r1822505]

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

6 years ago* modules/lua/config.m4: Link mod_lua against -lcrypt if available,
Joe Orton [Fri, 26 Jan 2018 15:00:28 +0000 (15:00 +0000)]
* modules/lua/config.m4: Link mod_lua against -lcrypt if available,
  since mk_password_hash() can use crypt().

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