]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
16 months agoTrigger ci
Yann Ylavic [Sat, 27 Jul 2024 13:26:40 +0000 (13:26 +0000)] 
Trigger ci

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

16 months agomod_proxy: Allow for empty UDS URL hostname in ProxyPass workers too.
Yann Ylavic [Fri, 26 Jul 2024 14:40:44 +0000 (14:40 +0000)] 
mod_proxy: Allow for empty UDS URL hostname in ProxyPass workers too.

Using "unix:/udspath|scheme:" or "unix:/udspath|scheme://" for a ProxyPass URL
does not work currently, while it works for SetHandler "proxy:unix:...".

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

16 months ago*) mod_proxy: Avoid AH01059 parsing error for SetHandler "unix:" URLs
Yann Ylavic [Fri, 26 Jul 2024 14:36:25 +0000 (14:36 +0000)] 
*) mod_proxy: Avoid AH01059 parsing error for SetHandler "unix:" URLs
   in <Location> (incomplete fix in 2.4.62). PR 69160.

When SetHandler "unix:..." is used in a <Location "/path"> block, the path
gets appended (including $DOCUMENT_ROOT somehow) to r->filename hence the
current checks in fixup_uds_filename() to add "localhost" when missing don't
work. Fix them.

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

16 months agofr doc rebuild.
Lucien Gentis [Fri, 26 Jul 2024 12:34:19 +0000 (12:34 +0000)] 
fr doc rebuild.

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

16 months agofr doc XML file update.
Lucien Gentis [Fri, 26 Jul 2024 12:33:18 +0000 (12:33 +0000)] 
fr doc XML file update.

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

16 months agoCI: Fix OpenSSL tarball download URLs after openssl.org site refresh
Joe Orton [Fri, 26 Jul 2024 09:14:40 +0000 (09:14 +0000)] 
CI: Fix OpenSSL tarball download URLs after openssl.org site refresh
CI: Update to latest OpenSSL releases.
CI: Build OpenSSL with RPATH set so that the installed ./bin/openssl works
without LD_LIBRARY_PATH set.

Use LD_RUN_PATH during the httpd build to achieve the same with binaries
from the httpd build, but unset it after so that it doesn't affect running
e.g. php-fpm or perl later. Should fix warning from logs when php-fpm
is executed --

[26-Jul-2024 07:43:34] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/lib/php/20210902/curl.so (/lib/x86_64-linux-gnu/libcurl.so.4: undefined symbol: ENGINE_init, version OPENSSL_3.0.0), /usr/lib/php/20210902/curl.so.so (/usr/lib/php/20210902/curl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

CI: Test that php-fpm works if available before testing.
CI: For paranoia/future debugging, log the OpenSSL version from compile-time
and run-time as reported by mod_ssl.

Github: closes #466

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

16 months ago* modules/core/mod_so.c (load_module): Log the file/lineno for a
Joe Orton [Wed, 24 Jul 2024 12:48:10 +0000 (12:48 +0000)] 
* modules/core/mod_so.c (load_module): Log the file/lineno for a
  duplicated LoadModule since it's often a symptom of some deeper
  mis-configuration.

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

16 months agoReenable test class, upstream bug fixed in pebble.
Rainer Jung [Wed, 24 Jul 2024 10:42:18 +0000 (10:42 +0000)] 
Reenable test class, upstream bug fixed in pebble.

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

16 months agoxforms
Eric Covener [Tue, 23 Jul 2024 12:56:13 +0000 (12:56 +0000)] 
xforms

[skip ci]

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

16 months agouse UNCList in UNC examples
Eric Covener [Tue, 23 Jul 2024 12:55:46 +0000 (12:55 +0000)] 
use UNCList in UNC examples

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

17 months agoCMake: Use TARGET_COMPILE_DEFINITIONS to set preprocessor definitions.
Ivan Zhakov [Sun, 21 Jul 2024 07:40:54 +0000 (07:40 +0000)] 
CMake: Use TARGET_COMPILE_DEFINITIONS to set preprocessor definitions.
TARGET_COMPILE_DEFINITIONS correctly handle values with spaces, so
DEFINE_WITH_BLANKS() macro can be removed.

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

17 months ago* .github/workflows/windows.yml: Install openssl.
Ivan Zhakov [Sat, 20 Jul 2024 17:31:20 +0000 (17:31 +0000)] 
* .github/workflows/windows.yml: Install openssl.

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

17 months ago* .github/workflows/windows.yml: Fix syntax error.
Ivan Zhakov [Sat, 20 Jul 2024 16:49:15 +0000 (16:49 +0000)] 
* .github/workflows/windows.yml: Fix syntax error.

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

17 months ago* .github/workflows/windows.yml: Fix syntax error.
Ivan Zhakov [Sat, 20 Jul 2024 16:45:14 +0000 (16:45 +0000)] 
* .github/workflows/windows.yml: Fix syntax error.

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

17 months ago* .github/workflows/windows.yml: Try to use Ninja for Windows CI build.
Ivan Zhakov [Sat, 20 Jul 2024 16:44:26 +0000 (16:44 +0000)] 
* .github/workflows/windows.yml: Try to use Ninja for Windows CI build.

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

17 months agoRemove awk dependency when building using CMake. Before this awk was required
Ivan Zhakov [Sat, 20 Jul 2024 16:18:18 +0000 (16:18 +0000)] 
Remove awk dependency when building using CMake. Before this awk was required
for -DWITH_MODULES option.

* build/build-modules-c.cmake:
  (generate_builtin_modules_c): Function to generate modules.c.

* CMakeLists.txt
  (): Use generate_builtin_modules_c() instead of `awk -f build/build-modules-c.awk`
  to generate modules.c file.

* README.cmake:
  (Prerequisites, How to build): Do not mention awk as prerequisite.

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

17 months ago* .github/workflows/windows.yml: Enable VCPKG artifacts caching.
Ivan Zhakov [Sat, 20 Jul 2024 16:09:24 +0000 (16:09 +0000)] 
* .github/workflows/windows.yml: Enable VCPKG artifacts caching.

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

17 months agofr doc rebuild.
Lucien Gentis [Sat, 20 Jul 2024 13:42:50 +0000 (13:42 +0000)] 
fr doc rebuild.

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

17 months agofr doc XML files updates.
Lucien Gentis [Sat, 20 Jul 2024 13:41:51 +0000 (13:41 +0000)] 
fr doc XML files updates.

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

17 months ago* build/build-modules-c.awk: Add AP_DECLARE_DATA to ap_prelinked_modules,
Ivan Zhakov [Sat, 20 Jul 2024 13:36:20 +0000 (13:36 +0000)] 
* build/build-modules-c.awk: Add AP_DECLARE_DATA to ap_prelinked_modules,
  ap_prelinked_modules_symbols and ap_preloaded_modules to match declaration
  in ap_config.h. It doesn't change behavior because AP_DECLARE_DATA is
  empty on non-Windows platform.

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

17 months ago* .github/workflows/windows.yml: Add quotes for -DAPR_LIBRARIES argument.
Ivan Zhakov [Sat, 20 Jul 2024 13:10:14 +0000 (13:10 +0000)] 
* .github/workflows/windows.yml: Add quotes for -DAPR_LIBRARIES argument.

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

17 months ago* .github/workflows/windows.yml: Enable HTTPD private headers when installing
Ivan Zhakov [Sat, 20 Jul 2024 13:09:23 +0000 (13:09 +0000)] 
* .github/workflows/windows.yml: Enable HTTPD private headers when installing
   APR.

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

17 months agoCI: Add Windows GitHub Action job. Not really tested.
Ivan Zhakov [Sat, 20 Jul 2024 13:04:40 +0000 (13:04 +0000)] 
CI: Add Windows GitHub Action job. Not really tested.

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

17 months ago* CMakeLists.txt: By default use PCRE2 CMake package if supported.
Ivan Zhakov [Sat, 20 Jul 2024 12:51:16 +0000 (12:51 +0000)] 
* CMakeLists.txt: By default use PCRE2 CMake package if supported.

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

17 months ago* os/win32/modules.c: Include "ap_config.h" to match the file generated by
Ivan Zhakov [Sat, 20 Jul 2024 12:15:48 +0000 (12:15 +0000)] 
* os/win32/modules.c: Include "ap_config.h" to match the file generated by
  build/build-modules-c.awk. It doesn't change the behaviour because ap_config.h
  is included by httpd.h.

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

17 months ago* os/win32/modules.c: Add AP_DECLARE_DATA to ap_prelinked_module_symbols
Ivan Zhakov [Sat, 20 Jul 2024 12:13:26 +0000 (12:13 +0000)] 
* os/win32/modules.c: Add AP_DECLARE_DATA to ap_prelinked_module_symbols
  to match definition in ap_config.h.

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

17 months agoSkip more h2 tests in prefork
Rainer Jung [Wed, 17 Jul 2024 22:11:28 +0000 (22:11 +0000)] 
Skip more h2 tests in prefork

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

17 months agoSkip h2 tests on prefork
Rainer Jung [Wed, 17 Jul 2024 22:02:27 +0000 (22:02 +0000)] 
Skip h2 tests on prefork

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

17 months agoFix typo in test name
Rainer Jung [Wed, 17 Jul 2024 21:57:23 +0000 (21:57 +0000)] 
Fix typo in test name

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

17 months agomod_rewrite: Better question mark tracking to avoid UnsafeAllow3F. PR 69197.
Yann Ylavic [Wed, 17 Jul 2024 20:50:12 +0000 (20:50 +0000)] 
mod_rewrite: Better question mark tracking to avoid UnsafeAllow3F.  PR 69197.

Track in do_expand() whether a '?' in the uri-path comes from a literal in
the substitution string or from an expansion (variable, lookup, ...).
In the former case it's safe to assume that it's the query-string separator
but for the other case it's not (could be a decoded %3f from r->uri).

This allows to avoid [UnsafeAllow3F] for most cases.

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

17 months agocore: Improve AP_REQUEST_ #defines.
Yann Ylavic [Tue, 16 Jul 2024 15:56:54 +0000 (15:56 +0000)] 
core: Improve AP_REQUEST_ #defines.

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

17 months agoMake sure pytest shuts down the web server after each package
Rainer Jung [Mon, 15 Jul 2024 22:34:32 +0000 (22:34 +0000)] 
Make sure pytest shuts down the web server after each package

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

17 months agocopy the trusted flag from the subrequest
Eric Covener [Mon, 15 Jul 2024 12:06:46 +0000 (12:06 +0000)] 
copy the trusted flag from the subrequest

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

17 months agomerge leading slashes by default
Eric Covener [Mon, 15 Jul 2024 12:05:57 +0000 (12:05 +0000)] 
merge leading slashes by default

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

17 months agocore: ap_location_walk() does not deal with the filesystem
Yann Ylavic [Fri, 12 Jul 2024 15:41:42 +0000 (15:41 +0000)] 
core: ap_location_walk() does not deal with the filesystem

So it shouldn't merge slashes according to filesystem rules.

* server/request.c(ap_location_walk):
  Use ap_no2slash_ex(,0) instead of ap_no2slash() to ignore
  filesystem specifics.

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

17 months agomod_status: "Threads" span three colomns (busy, graceful, idle), not two.
Yann Ylavic [Thu, 11 Jul 2024 14:57:46 +0000 (14:57 +0000)] 
mod_status: "Threads" span three colomns (busy, graceful, idle), not two.

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

17 months agomod_status: Follow up to r1918482: Bump colspan for the new wait-io colomn
Yann Ylavic [Thu, 11 Jul 2024 14:12:31 +0000 (14:12 +0000)] 
mod_status: Follow up to r1918482: Bump colspan for the new wait-io colomn

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

17 months agotest http1, add version check for trailer tests
Stefan Eissing [Thu, 11 Jul 2024 08:10:54 +0000 (08:10 +0000)] 
test http1, add version check for trailer tests

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

17 months agosync test code with mod-h2
Stefan Eissing [Wed, 10 Jul 2024 10:55:23 +0000 (10:55 +0000)] 
sync test code with mod-h2

- shutdown server at end of h2 tests
- adapt minimum httpd versions for some tests
- add test_700_20 for load on blocked connections,
  disabled for now until mpm_event improves
- build websocket client automatically

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

17 months agomod_md: Keep compat with openssl < 1.1
Yann Ylavic [Mon, 8 Jul 2024 15:06:14 +0000 (15:06 +0000)] 
mod_md: Keep compat with openssl < 1.1

EVP_PKEY_get0_RSA() does not exist in openssl < 1.1, use EVP_PKEY_get1_RSA()
instead, hence RSA_free() the returned ref to avoid a leak.

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

17 months agoFollow up to r1919023: fix compilation.
Yann Ylavic [Mon, 8 Jul 2024 14:34:37 +0000 (14:34 +0000)] 
Follow up to r1919023: fix compilation.

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

17 months agomod_proxy: Don't mangle r->filename when ap_proxy_canon_netloc() fails.
Yann Ylavic [Mon, 8 Jul 2024 14:25:58 +0000 (14:25 +0000)] 
mod_proxy: Don't mangle r->filename when ap_proxy_canon_netloc() fails.

ap_proxy_canon_netloc() called from canon_handler hooks modifies its given
url in pace, hence &r->filename[6] passed from ap_proxy_canon_url().

This is not an issue if every canon_handler hook succeeds (or declines)
since r->filename is usually completely rewritten finally, but on failure
it gets truncated.

Avoid this by passing a copy of r->filename from the start, the proxy *url
and r->filename don't need to point to the same data.

* proxy/proxy_util.c(ap_proxy_canon_url):
  Pass a copy of r->filename to the canon_handler hooks.

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

17 months agomod_proxy: Fix canonicalisation and FCGI env (PATH_INFO, SCRIPT_NAME) for
Yann Ylavic [Mon, 8 Jul 2024 13:59:50 +0000 (13:59 +0000)] 
mod_proxy: Fix canonicalisation and FCGI env (PATH_INFO, SCRIPT_NAME) for
           "balancer:" URLs set via SetHandler, also allowing for "unix:"
           sockets with BalancerMember(s).  PR 69168.

* modules/proxy/proxy_util.h, modules/proxy/proxy_util.c:
  Move proxy_interpolate() from mod_proxy.c to ap_proxy_interpolate(),
  exported locally only (non public).
  Move proxy_fixup() from mod_proxy.c to ap_proxy_canon_url(), exported
  locally only too (non public).
  Rollback ap_proxy_fixup_uds_filename() to a local fixup_uds_filename()
  usable from proxy_util.c only. The public function will be removed in
  a following commit.

* modules/proxy/mod_proxy.h:
  Note that ap_proxy_fixup_uds_filename() is deprecated.

* modules/proxy/mod_proxy.c:
  Just use ap_proxy_canon_url() from proxy_fixup() and proxy_handler()
  for SetHandler URLs.

* modules/proxy/mod_proxy_balancer.c:
  Do not canonicalize the path from proxy_balancer_canon() anymore but
  rather from balancer_fixup() where the balancer URL is rewritten to
  the BalancerMember URL.

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

17 months agoFollow up to r1919015: fix compilation.
Yann Ylavic [Mon, 8 Jul 2024 13:07:23 +0000 (13:07 +0000)] 
Follow up to r1919015: fix compilation.

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

17 months agomod_proxy: Avoid AH01059 parsing error for SetHandler "unix:" URLs. PR 69160
Yann Ylavic [Mon, 8 Jul 2024 12:35:35 +0000 (12:35 +0000)] 
mod_proxy: Avoid AH01059 parsing error for SetHandler "unix:" URLs.  PR 69160

The hostname part of the URL is not mandated for UDS though the canon_handler
hooks will require it, so add "localhost" if it's missing (won't be used anyway
for an AF_UNIX socket).

This can trigger with SetHandler "unix:" URLs which are now also fixed up.

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

17 months agofr doc rebuild.
Lucien Gentis [Sat, 6 Jul 2024 15:23:52 +0000 (15:23 +0000)] 
fr doc rebuild.

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

17 months agofr doc XML files updates.
Lucien Gentis [Sat, 6 Jul 2024 15:22:42 +0000 (15:22 +0000)] 
fr doc XML files updates.

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

17 months ago* Check for correct OpenSSL version for mod_ssl_ct
Ruediger Pluem [Fri, 5 Jul 2024 14:50:24 +0000 (14:50 +0000)] 
* Check for correct OpenSSL version for mod_ssl_ct

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

17 months agomention quirks, add example, clarify
Eric Covener [Wed, 3 Jul 2024 22:29:46 +0000 (22:29 +0000)] 
mention quirks, add example, clarify

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

17 months agomod_ssl: Let modssl_set_io_callbacks() whether which callback is needed.
Yann Ylavic [Wed, 3 Jul 2024 15:06:32 +0000 (15:06 +0000)] 
mod_ssl: Let modssl_set_io_callbacks() whether which callback is needed.

* modules/ssl/ssl_private.h:
  Add conn_rec and server_rec args to modssl_set_io_callbacks().

* modules/ssl/ssl_engine_io.c(modssl_set_io_callbacks):
  Don't set modssl_io_cb for log levels below TRACE4.

* modules/ssl/ssl_engine_io.c(ssl_io_filter_init),
  modules/ssl/ssl_engine_kernel.c(ssl_find_vhost):
  Call modssl_set_io_callbacks() unconditionally.

* modules/ssl/ssl_engine_io.c(modssl_io_cb):
  While at it, (cmd & BIO_CB_WRITE) is enough to differentiate a
  write from read.

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

17 months ago* Changelog for r1918880
Ruediger Pluem [Wed, 3 Jul 2024 14:42:13 +0000 (14:42 +0000)] 
* Changelog for r1918880

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

17 months ago* Restore SSL dumping for OpenSSL >= 3.0.
Ruediger Pluem [Wed, 3 Jul 2024 14:37:10 +0000 (14:37 +0000)] 
* Restore SSL dumping for OpenSSL >= 3.0.

  Since r1908537 BIO_set_callback_ex is used with OpenSSL >= 3.0 instead of
  BIO_set_callback to set the BIO callback. The meaning of parameters and
  their range of values in the callback function set by BIO_set_callback_ex
  has changed compared to the callback function set by BIO_set_callback
  although parameters kept their names. Accommodate for this and adjust the
  code accordingly.
  Furthermore limit the size of dumps to APR_UINT16_MAX bytes. Given the length
  of SSL records of 16k this should not have practical implications.

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

17 months ago* Follow up to r1918814: Strings are from configuration and thus trusted
Ruediger Pluem [Tue, 2 Jul 2024 11:19:45 +0000 (11:19 +0000)] 
* Follow up to r1918814: Strings are from configuration and thus trusted

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

17 months ago* Follow up to r1918814: Always trust content types that we set literally
Ruediger Pluem [Tue, 2 Jul 2024 06:57:23 +0000 (06:57 +0000)] 
* Follow up to r1918814: Always trust content types that we set literally

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

17 months ago* Always trust content types that we set literally
Ruediger Pluem [Tue, 2 Jul 2024 06:35:53 +0000 (06:35 +0000)] 
* Always trust content types that we set literally

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

17 months agomaintain trusted flag
Eric Covener [Mon, 1 Jul 2024 19:23:40 +0000 (19:23 +0000)] 
maintain trusted flag

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

17 months agoremove openssl vs. event comment
Eric Covener [Mon, 1 Jul 2024 18:38:31 +0000 (18:38 +0000)] 
remove openssl vs. event comment

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

17 months agomatch AP_IS_SLASH macro
Eric Covener [Wed, 26 Jun 2024 13:39:59 +0000 (13:39 +0000)] 
match AP_IS_SLASH macro

followup to 1918651

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

17 months agodon't add / to / in the non-perdir
Eric Covener [Wed, 26 Jun 2024 10:27:30 +0000 (10:27 +0000)] 
don't add / to / in the non-perdir

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

17 months agofactor out IS_SLASH, perdir fix
Eric Covener [Wed, 26 Jun 2024 10:09:29 +0000 (10:09 +0000)] 
factor out IS_SLASH, perdir fix

in per-dir, the filename will be internally redirected, so / is OK too.

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

17 months agomod_proxy: follow up to r1918626: Simplify ap_proxy_fixup_uds_filename() and callers.
Yann Ylavic [Wed, 26 Jun 2024 09:19:16 +0000 (09:19 +0000)] 
mod_proxy: follow up to r1918626: Simplify ap_proxy_fixup_uds_filename() and callers.

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

17 months agomod_proxy_http2: ap_proxy_determine_connection()'s given &url is in/out.
Yann Ylavic [Wed, 26 Jun 2024 00:15:39 +0000 (00:15 +0000)] 
mod_proxy_http2: ap_proxy_determine_connection()'s given &url is in/out.

* modules/http2/mod_proxy_http2.c(proxy_http2_handler):
  Restart from the original URL on reconnect.

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

17 months agomod_proxy: Fixup UDS filename for mod_proxy called through r->handler.
Yann Ylavic [Tue, 25 Jun 2024 23:49:09 +0000 (23:49 +0000)] 
mod_proxy: Fixup UDS filename for mod_proxy called through r->handler.

* modules/proxy/proxy_util.c:
  Export ap_proxy_fixup_uds_filename() from fix_uds_filename.
  Call it from ap_proxy_pre_request() even for rewritten balancer workers.

* modules/proxy/mod_proxy.h:
  Declare ap_proxy_fixup_uds_filename()

* modules/proxy/mod_proxy.c:
  Fixup UDS filename from r->handler in proxy_handler().

* include/ap_mmn.h:
  Bump MMN minor for ap_proxy_fixup_uds_filename()

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

17 months agofix comparison of local path on Windows
Eric Covener [Tue, 25 Jun 2024 19:43:15 +0000 (19:43 +0000)] 
fix comparison of local path on Windows

Submitted By: Yann Ylavic

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

17 months agovalidate hostname
Eric Covener [Tue, 25 Jun 2024 17:29:06 +0000 (17:29 +0000)] 
validate hostname

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

17 months ago* modules/mappers/mod_rewrite.c: Fill in logno.
Joe Orton [Tue, 25 Jun 2024 15:53:33 +0000 (15:53 +0000)] 
* modules/mappers/mod_rewrite.c: Fill in logno.

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

17 months agopytest: fix asset list extraction from nghttp output
Rainer Jung [Tue, 25 Jun 2024 09:21:49 +0000 (09:21 +0000)] 
pytest: fix asset list extraction from nghttp output

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

17 months agodocs bld break
Eric Covener [Mon, 24 Jun 2024 18:21:04 +0000 (18:21 +0000)] 
docs bld break

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

17 months agoMMN bump for recent additions
Eric Covener [Mon, 24 Jun 2024 17:32:26 +0000 (17:32 +0000)] 
MMN bump for recent additions

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

17 months agoblock inadvertent subst of special filenames
Eric Covener [Mon, 24 Jun 2024 17:28:12 +0000 (17:28 +0000)] 
block inadvertent subst of special filenames

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

17 months agotighten up prefix_stat and %3f handling
Eric Covener [Mon, 24 Jun 2024 17:24:52 +0000 (17:24 +0000)] 
tighten up prefix_stat and %3f handling

Require opt-ins for unsafe substitutions

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

17 months agoadd ap_set_content_type_ex to differentiate
Eric Covener [Mon, 24 Jun 2024 17:22:51 +0000 (17:22 +0000)] 
add ap_set_content_type_ex to differentiate

trusted sources

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

17 months agomod_proxy: escape for non-proxypass configuration
Eric Covener [Mon, 24 Jun 2024 17:21:00 +0000 (17:21 +0000)] 
mod_proxy: escape for non-proxypass configuration

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

17 months agoadd UNCList directive on Windows
Eric Covener [Mon, 24 Jun 2024 17:19:44 +0000 (17:19 +0000)] 
add UNCList directive on Windows

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

17 months agomod_http2: early exit if bb is null
Eric Covener [Mon, 24 Jun 2024 17:18:11 +0000 (17:18 +0000)] 
mod_http2: early exit if bb is null

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

17 months agofr doc rebuild.
Lucien Gentis [Sat, 22 Jun 2024 15:10:21 +0000 (15:10 +0000)] 
fr doc rebuild.

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

17 months agofr doc xml file update.
Lucien Gentis [Sat, 22 Jun 2024 15:09:17 +0000 (15:09 +0000)] 
fr doc xml file update.

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

18 months agompm_event: Follow up to r1918482: CONN_STATE_LINGER* are not the last anymore.
Yann Ylavic [Fri, 21 Jun 2024 15:38:47 +0000 (15:38 +0000)] 
mpm_event: Follow up to r1918482: CONN_STATE_LINGER* are not the last anymore.

Since CONN_STATE_ASYNC_WAITIO, we cannot check for < or >= CONN_STATE_LINGER
anymore to determine if in an lingering close state, so let's add a new
CONN_STATE_IS_LINGERING_CLOSE() macro for this and use it in mpm_event.

The test for state == CONN_STATE_LINGER in process_lingering_close() is a
bit weak too in order to call ap_start_lingering_close() the first time only,
so have a conn_state->linger_started flag instead.

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

18 months agompm_event: Follow up to r1918482: CONN_STATE_ASYNC_WAITIO > CONN_STATE_LINGER.
Yann Ylavic [Fri, 21 Jun 2024 11:13:02 +0000 (11:13 +0000)] 
mpm_event: Follow up to r1918482: CONN_STATE_ASYNC_WAITIO > CONN_STATE_LINGER.

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

18 months agompm_event,mod_http2,mod_status: Follow up to r1918257: CONN_STATE_ASYNC_WAITIO.
Yann Ylavic [Fri, 21 Jun 2024 09:48:12 +0000 (09:48 +0000)] 
mpm_event,mod_http2,mod_status: Follow up to r1918257: CONN_STATE_ASYNC_WAITIO.

Per discussion on PR #449, have a separate state for returning the connection
to the MPM to wait for an IO (namely CONN_STATE_ASYNC_WAITIO), rather than
(ab)using CONN_STATE_PROCESSING.

This removes the need for AGAIN added in r1918257 (for now), and AP_MPMQ_CAN_AGAIN
is renamed to AP_MPMQ_CAN_WAITIO.

This is also the state that mod_status accounts for, so rename ->processing
to ->wait_io in process_score (shows as "wait-io" in mod_status and mod_lua).

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

18 months agomod_proxy: Follow up to r1918438: Don't cleanup conn before running the address cleanup.
Yann Ylavic [Wed, 19 Jun 2024 14:37:20 +0000 (14:37 +0000)] 
mod_proxy: Follow up to r1918438: Don't cleanup conn before running the address cleanup.

* modules/proxy/proxy_util.c(ap_proxy_determine_address):
  Move conn_cleanup() after apr_pool_cleanup_run().

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

18 months agomod_proxy: Follow up to r1918412 and r1918429: Special case WIN32/OS2 only.
Yann Ylavic [Wed, 19 Jun 2024 13:20:12 +0000 (13:20 +0000)] 
mod_proxy: Follow up to r1918412 and r1918429: Special case WIN32/OS2 only.

apr_socket_connect() on unixes does copy the passed in *addr, so limit the
liefetime workaround to Windows and OS/2 only (which don't).

* modules/proxy/proxy_util.c(ap_proxy_determine_address):
  #ifdef the relevant code for WIN32/OS2 only, and improve comment.

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

18 months agomod_proxy: Follow up to r1918412: Find if one of the conn->addr[->next] is alive.
Yann Ylavic [Wed, 19 Jun 2024 10:39:56 +0000 (10:39 +0000)] 
mod_proxy: Follow up to r1918412: Find if one of the conn->addr[->next] is alive.

ap_proxy_connect_backend() will use the first conn->addr[->next] that works, so
the current address alive can be any of them.

* modules/proxy/proxy_util.c(ap_proxy_determine_address):
  Loop for all conn->addr[->next] to determine if addr_alive.

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

18 months agoSteal two lognos.
Joe Orton [Wed, 19 Jun 2024 09:32:44 +0000 (09:32 +0000)] 
Steal two lognos.

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

18 months agomod_proxy: Keep connection alive on addressTTL expiry if the DNS didn't change.
Yann Ylavic [Tue, 18 Jun 2024 14:20:06 +0000 (14:20 +0000)] 
mod_proxy: Keep connection alive on addressTTL expiry if the DNS didn't change.

* modules/proxy/proxy_util.c(address_cleanup):
  Rename to conn_cleanup() since it also closes the socket, and run
  socket_cleanup() first to avoid dangling conn->sock->remote_addr.

* modules/proxy/proxy_util.c(ap_proxy_determine_address):
  Compare the new address with the old one and keep the socket alive
  if it did not change.

Follow up to r1918410.

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

18 months agomod_proxy: Fix DNS requests and connections closed before the configured addressTTL...
Yann Ylavic [Tue, 18 Jun 2024 14:14:08 +0000 (14:14 +0000)] 
mod_proxy: Fix DNS requests and connections closed before the configured addressTTL.  BZ 69126

* modules/proxy/proxy_util.c(ap_proxy_determine_address):
  Fix shared expiry compare-and-swap loop.

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

18 months agoFix the Japanese translation docs of the LimitRequestBody
Joe Orton [Tue, 18 Jun 2024 13:59:54 +0000 (13:59 +0000)] 
Fix the Japanese translation docs of the LimitRequestBody

Submitted by: vinyl-umbrella <61788251+vinyl-umbrella users.noreply.github.com>
Github: closes #441

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

18 months agoemphasize no default value
Eric Covener [Tue, 18 Jun 2024 13:14:42 +0000 (13:14 +0000)] 
emphasize no default value

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

18 months agosteal 2
Eric Covener [Mon, 17 Jun 2024 17:06:09 +0000 (17:06 +0000)] 
steal 2

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

18 months agofix cmake windows build of proxy lbmethod mods
Eric Covener [Fri, 14 Jun 2024 00:53:25 +0000 (00:53 +0000)] 
fix cmake windows build of proxy lbmethod mods

(for me at least, new-to-cmake on vstudio 2022)

Creating library mod_lbmethod_bybusyness.lib and object mod_lbmethod_bybusyness.exp
mod_lbmethod_bybusyness.c.obj : error LNK2019: unresolved external symbol __imp_ap_proxy_get_busy_count referenced in function is_best_bybusyness
mod_lbmethod_bybusyness.c.obj : error LNK2019: unresolved external symbol __imp_ap_proxy_set_busy_count referenced in function is_best_bybusyness
mod_lbmethod_bybusyness.so : fatal error LNK1120: 2 unresolved externals

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

18 months agofix win cmake build by prefixing local enum values
Eric Covener [Thu, 13 Jun 2024 19:00:41 +0000 (19:00 +0000)] 
fix win cmake build by prefixing local enum values

Something in the declaration is a macro, at least
in visual studio 2022.

 error C2059: syntax error: 'constant'

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

18 months ago* include/httpd.h: Fix comment.
Joe Orton [Thu, 13 Jun 2024 14:44:50 +0000 (14:44 +0000)] 
* include/httpd.h: Fix comment.

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

18 months agompm_event,mod_http2: Keep compatibility with CONN_STATE_PROCESSING + OK
Yann Ylavic [Tue, 11 Jun 2024 14:46:29 +0000 (14:46 +0000)] 
mpm_event,mod_http2: Keep compatibility with CONN_STATE_PROCESSING + OK

Before r1918022, returning OK with CONN_STATE_PROCESSING to mpm_event was
handled like/by CONN_STATE_LINGER "to not break old or third-party modules
which might return OK w/o touching the state and expect lingering close,
like with worker or prefork MPMs".

So we need a new return code to be allowed to apply the new POLLIN/POLLOUT
behaviour for CONN_STATE_PROCESSING, thus revive AGAIN as introduced by
Graham some times ago for a nonblocking WIP (moved to a branch/PR since then).

MPM event will advertise its ability to handle CONN_STATE_PROCESSING + AGAIN
with AP_MPMQ_CAN_AGAIN, and mod_http2 can use that to know how to return to
the MPM as expected. When !AP_MPMQ_CAN_AGAIN modules/mod_http2 can still use
CONN_STATE_WRITE_COMPLETION + CONN_SENSE_WANT_READ + c->clogging_input_filters
which will work in mpm_even-2.4.x still.

* include/ap_mmn.h:
  Bump MMN minor for AP_MPMQ_CAN_AGAIN and AGAIN.

* include/ap_mpm.h:
  Define AP_MPMQ_CAN_AGAIN.

* include/httpd.h:
  Define AGAIN.

* modules/http2/h2.h:
  No need for H2_USE_STATE_PROCESSING anymore with AP_MPMQ_CAN_AGAIN.

* modules/http2/h2_c1.c:
  For !keepalive case return to the MPM using CONN_STATE_PROCESSING + AGAIN
  or CONN_STATE_WRITE_COMPLETION + c->clogging_input_filters depending on
  AP_MPMQ_CAN_AGAIN only.

* modules/http2/h2_session.c:
  Can return to the MPM for h2_send_flow_blocked() provided it's async only.

* server/mpm/event/event.c:
  Rework process_socket()'s CONN_STATE_PROCESSING to handle AGAIN and preserve
  compatibility. Have a lingering_close label to goto there faster when
  process_lingering_close() is to be called. Improve relevant comments.

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

18 months agoCI: Set the path to php-fpm so it's found by proxy_fcgi.t (after r1918149).
Joe Orton [Mon, 10 Jun 2024 10:46:32 +0000 (10:46 +0000)] 
CI: Set the path to php-fpm so it's found by proxy_fcgi.t (after r1918149).

Github: closes #453

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

18 months agoCI: Set the path to php-fpm so it's found by proxy_fcgi.t (after r1918149).
Joe Orton [Tue, 4 Jun 2024 16:52:01 +0000 (16:52 +0000)] 
CI: Set the path to php-fpm so it's found by proxy_fcgi.t (after r1918149).

Github: closes #453

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

18 months agoAdd avif mime type
Joe Orton [Mon, 3 Jun 2024 08:44:55 +0000 (08:44 +0000)] 
Add avif mime type

Submitted by: Adam Silverstein <adamsilverstein earthboundhosting.com>
Github: closes #451

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

18 months agomod_status: Fix missing initialization, follow up to r1918098
Joe Orton [Mon, 3 Jun 2024 08:02:09 +0000 (08:02 +0000)] 
mod_status: Fix missing initialization, follow up to r1918098

Submitted by: VladimĂ­r Chlup <vchlup redhat.com>
Github: closes #452

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

18 months agoFollow up to r1918098 (and r1918022): Actually bump the MMN.
Yann Ylavic [Sat, 1 Jun 2024 16:03:58 +0000 (16:03 +0000)] 
Follow up to r1918098 (and r1918022): Actually bump the MMN.

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

18 months agoFollow up to r1918098 (and r1918022): Push missing changes.
Yann Ylavic [Sat, 1 Jun 2024 15:11:48 +0000 (15:11 +0000)] 
Follow up to r1918098 (and r1918022): Push missing changes.

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

18 months agompm_event, mod_status: Separate processing and write completion queues.
Yann Ylavic [Sat, 1 Jun 2024 15:08:46 +0000 (15:08 +0000)] 
mpm_event, mod_status: Separate processing and write completion queues.

As a follow up to r1918022 which handled the new CONN_STATE_PROCESS(ing) and
existing CONN_STATE_WRITE_COMPLETION in the same async queue, let's now have
two separates ones which allows more relevant async accounting in mod_status.

Rename CONN_STATE_PROCESS to CONN_STATE_PROCESSING as it's how it will be
called in mod_status.

* include/ap_mmn.h:
  MMN minor bump for process_score->processing counter.

* include/httpd.h:
  Rename CONN_STATE_PROCESS to CONN_STATE_PROCESSING.

* include/scoreboard.h:
  Add process_score->processing field.

* include/httpd.h, modules/http/http_core.c, modules/http2/h2_c1.c,
    server/mpm/event/event.c, server/mpm/motorz/motorz.c,
    server/mpm/simple/simple_io.c:
  Rename CONN_STATE_PROCESS to CONN_STATE_PROCESSING.

* server/mpm/event/event.c:
  Restore write_completion_q to handle connections in CONN_STATE_WRITE_COMPLETION.
  Use processing_q (renamed from process_q) solely for CONN_STATE_PROCESSING.
  Update process_score->processing according to the length of processing_q.

* modules/generators/mod_status.c:
  Show the value of process_score->processing in the stats.

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