]>
git.ipfire.org Git - thirdparty/apache/httpd.git/log
Eric Covener [Sat, 4 Jun 2022 15:37:33 +0000 (15:37 +0000)]
-qinitauto=FE conflicts with -qcheck=unset
maintainer mode only
causes a warning for every compiler invocation. If automatics are initialized
by -qinitauto, use before being assigned cannot be detected with -qcheck=unset
(part of all)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901633 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 4 Jun 2022 15:26:37 +0000 (15:26 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901630 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 4 Jun 2022 15:25:39 +0000 (15:25 +0000)]
fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901629 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sat, 4 Jun 2022 12:06:23 +0000 (12:06 +0000)]
force to 0 on 1.6 on Windows
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901619 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Fri, 3 Jun 2022 14:55:48 +0000 (14:55 +0000)]
typo [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901596 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Thu, 2 Jun 2022 21:39:04 +0000 (21:39 +0000)]
kick ci
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901571 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 2 Jun 2022 12:31:41 +0000 (12:31 +0000)]
Trigger ci.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901557 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 2 Jun 2022 09:58:42 +0000 (09:58 +0000)]
Sync CHANGES [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901551 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 2 Jun 2022 09:40:26 +0000 (09:40 +0000)]
*) mod_md: update version after release on github
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901549 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 2 Jun 2022 09:18:17 +0000 (09:18 +0000)]
update of mod_md change description. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901546 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 1 Jun 2022 13:46:54 +0000 (13:46 +0000)]
mod_proxy_ajp: T-E has precedence over C-L.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901521 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 1 Jun 2022 13:45:35 +0000 (13:45 +0000)]
Reserve an APLOGNO [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901520 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 1 Jun 2022 13:10:57 +0000 (13:10 +0000)]
Sync docs again [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901517 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 1 Jun 2022 12:57:22 +0000 (12:57 +0000)]
add LWP::Protocol::AnyEvent::http
it can be used to workaround a bug with hitting mod_echo_post
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901512 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 1 Jun 2022 12:53:03 +0000 (12:53 +0000)]
mention limit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901510 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 1 Jun 2022 12:40:09 +0000 (12:40 +0000)]
limit mod_sed memory use
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901506 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 1 Jun 2022 12:37:44 +0000 (12:37 +0000)]
mod_isapi: use consistent filename
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901504 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 1 Jun 2022 12:36:13 +0000 (12:36 +0000)]
use filters consistently
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901502 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 1 Jun 2022 12:33:53 +0000 (12:33 +0000)]
handle large writes in ap_rputs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901500 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 1 Jun 2022 12:30:46 +0000 (12:30 +0000)]
use a liberal default limit for LimitRequestBody of 1GB
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901497 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 1 Jun 2022 12:29:46 +0000 (12:29 +0000)]
cast first
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901496 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 1 Jun 2022 12:20:56 +0000 (12:20 +0000)]
fix types
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901494 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 1 Jun 2022 11:43:16 +0000 (11:43 +0000)]
Sync docs [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901491 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 1 Jun 2022 11:05:37 +0000 (11:05 +0000)]
Note about Absolute URL w.r.t. query-string in mod_rewrite [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901487 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 1 Jun 2022 10:23:31 +0000 (10:23 +0000)]
mod_proxy: Follow up to r1901485: Don't shadow upper 'val' variable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901486 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 1 Jun 2022 09:56:43 +0000 (09:56 +0000)]
mod_proxy: Let fixup hooks know about the Host header (and eventually overwrite it).
If proxy_run_fixups() sets a Host header there will be two ones sent to the
origin server.
Instead, let the hooks know about the Host by setting it in the r->headers_in
passed to proxy_run_fixups(), and use the actual value afterwards.
Note: if proxy_run_fixups() unsets the Host we'll keep ours.
Suggested by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901485 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 31 May 2022 23:01:24 +0000 (23:01 +0000)]
mod_ssl: SSLFIPS compatible with OpenSSL 3.0. PR 66063.
* modules/ssl/ssl_private.h():
#define modssl_fips_is_enabled() and modssl_fips_enable() to wrap the
native OpenSSL FIPS functions available on OPENSSL_VERSION_NUMBER.
* modules/ssl/ssl_engine_init.c(ssl_init_Module, modssl_fips_cleanup):
Use the new wrappers instead of the OPENSSL_VERSION_NUMBER < 3.0 functions.
Submitted by: Petr Sumbera <petr.sumbera oracle.com>, ylavic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901470 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 31 May 2022 15:26:12 +0000 (15:26 +0000)]
mod_proxy: ap_proxy_create_hdrbrgd() to clear hop-by-hop first and fixup last.
So that ap_proxy_clear_connection() runs on the original headers only and
proxy_run_fixups() on the final ones.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901461 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 31 May 2022 15:06:13 +0000 (15:06 +0000)]
mod_proxy: Align ap_proxy_create_hdrbrgd() with 2.4.x's.
In 2.4.x, the copy of r->headers_in is left in r->headers_in for the whole
function, while the original r->headers_in are restored at the end. This
is simpler and avoids the r->headers_in <=> saved_headers_in danse when
calling a function that modifies r->headers_in in place.
Align with 2.4.x, no functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901460 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 31 May 2022 11:05:41 +0000 (11:05 +0000)]
mod_proxy_http: Follow up to r1901420: consistent 100-continue checks.
Let proxy_http_handler() tell ap_proxy_create_hdrbrgd() whether to add or
preserve Expect header or not, through the "proxy-100-continue" note.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901446 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 30 May 2022 15:54:34 +0000 (15:54 +0000)]
mod_proxy_http: Avoid 417 responses for non forwardable 100-continue. PR 65666.
Stop returning 417 when mod_proxy has to forward an HTTP/1.1 request with both
"Expect: 100-continue" and "force-proxy-request-1.0" set, mod_proxy can instead
handle the 100-continue by itself before forwarding the request, like in the
"Proxy100Continue Off" case.
Note that this does not change the behaviour of httpd receiving an HTTP/1.0
request with an Expect header, ap_check_request_header() will still correctly
return 417 in this case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901420 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 26 May 2022 08:43:13 +0000 (08:43 +0000)]
Merge of PR 318:
*) core: the conf/mime.types has been updated in conformance with RFC 9239:
- .js moved from 'application/javascript' to 'text/javascript'
- .mjs was added as 'text/javascript'
[Mathias Bynens <@mathiasbynens> via PR 318]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901273 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 26 May 2022 08:10:37 +0000 (08:10 +0000)]
*) mod_md: resurrect r1898962 lost by a change merge.
Thanks to Christophe for catching this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901271 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Wed, 25 May 2022 11:32:52 +0000 (11:32 +0000)]
*) mod_md: a logic bug in sending long OCSP HTTP request bodies was fixed.
This did not happen in normal use as request sizes for OSCP queries
never exceed that length.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901230 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 21 May 2022 15:06:23 +0000 (15:06 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901102 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 21 May 2022 15:05:05 +0000 (15:05 +0000)]
fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901101 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Fri, 20 May 2022 15:15:24 +0000 (15:15 +0000)]
* Port r546128 to mod_proxy_connect to ensure that core_pre_connection does not
succeed in resetting the timeout of our socket to base_server->timeout.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901088 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Thu, 19 May 2022 18:43:39 +0000 (18:43 +0000)]
escaping doesn't actually happen by default
otherwise, we would not have [B] and two internal escape functions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901071 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 18 May 2022 12:47:06 +0000 (12:47 +0000)]
Credits [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901035 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 18 May 2022 12:44:41 +0000 (12:44 +0000)]
Sync CHANGES entries [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1901034 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 17 May 2022 15:16:43 +0000 (15:16 +0000)]
Follow up to r1899858: CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900991 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Sat, 14 May 2022 13:49:05 +0000 (13:49 +0000)]
*) mod_md: handle case in status print when no url is present
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900887 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Sat, 14 May 2022 09:09:01 +0000 (09:09 +0000)]
* test: upgrade rustls-ffi version to 0.9.0 which
gets rid of the dependency on cbindgen.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900875 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Fri, 13 May 2022 11:03:51 +0000 (11:03 +0000)]
*) mod_md: the `MDCertificateAuthority` directive can take more than one URL/name of
an ACME CA. This gives a failover for renewals when several consecutive attempts
to get a certificate failed.
A new directive was added: `MDRetryDelay` sets the delay of retries.
A new directive was added: `MDRetryFailover` sets the number of errored
attempts before an alternate CA is selected for certificate renewals.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900852 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Mon, 9 May 2022 17:51:48 +0000 (17:51 +0000)]
xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900749 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 8 May 2022 13:01:01 +0000 (13:01 +0000)]
Fix some typos
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900694 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 8 May 2022 12:59:38 +0000 (12:59 +0000)]
Fix a typo
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900693 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 8 May 2022 12:56:22 +0000 (12:56 +0000)]
Fix a typo
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900692 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 8 May 2022 12:31:31 +0000 (12:31 +0000)]
Fix some typo
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900691 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 8 May 2022 12:26:09 +0000 (12:26 +0000)]
Fix a typo (s/virtal/virtual) and add a missing hyper-link.
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900689 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 8 May 2022 06:16:58 +0000 (06:16 +0000)]
Add missing 'break'
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900679 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 7 May 2022 14:37:36 +0000 (14:37 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900655 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 7 May 2022 14:36:34 +0000 (14:36 +0000)]
fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900654 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Fri, 6 May 2022 13:09:46 +0000 (13:09 +0000)]
*) mod_md: fixed a bug leading to failed transfers for OCSP
stapling information when more than 6 certificates needed
updates in the same run.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900628 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Thu, 5 May 2022 02:03:27 +0000 (02:03 +0000)]
r1900362 followup: clang -Wexpansion-to-defined
ab.c:2056:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
#if USE_SIGMASK
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900571 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Wed, 4 May 2022 20:28:32 +0000 (20:28 +0000)]
Length computed by count_string() are accumulated in an apr_size_t, so be more consistent and use this data type also in this function.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900564 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Wed, 4 May 2022 18:27:29 +0000 (18:27 +0000)]
dav_get_liveprop_info() returns a long not an int.
Update the type of global_ns accordingly and update the format specifier when this variable is used in printf like functions.
This also aligns code with dav_core_insert_prop() in modules/dav/main/std_liveprop.c
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900559 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Wed, 4 May 2022 17:49:03 +0000 (17:49 +0000)]
httpd 2.4.x and above require at least APR 1.3, so this is always the case.
Simplify the wording in the doc.
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900557 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Wed, 4 May 2022 08:47:05 +0000 (08:47 +0000)]
Update to testing against OpenSSL 3.0.3.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900545 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Tue, 3 May 2022 19:56:29 +0000 (19:56 +0000)]
httpd 2.4.x and above require at least APR 1.3, so this is always the case.
Simplify the wording in the doc.
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900525 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 30 Apr 2022 15:46:49 +0000 (15:46 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900426 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 30 Apr 2022 15:45:49 +0000 (15:45 +0000)]
fr doc XML file updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900425 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 28 Apr 2022 13:57:15 +0000 (13:57 +0000)]
ab: Add the -W option to use worker threads.
This allows for multiple CPUs to handle the load, the number of requests and
concurrency level asked are distributed over the configured number of workers,
allowing for as much parallelism.
On unixes (only for now), -W0 will use all the CPUs available on the system.
To avoid synchronization during runtime, the stats and requests times are
gathered per worker and consolidated at the end of the run before being
printed.
Connection closes, keepalives and errors are now handled in a single place,
namely cleanup_connection(), which takes care of the good/bad state of each
request based on the response fully received or not.
When multiple workers are running, SIGINT is handled by the main thread only
and masked in workers, workers are asked to stop and woken up if waiting in
poll().
A single worker is started first to determine the connectivity with the peer,
if that fails (10 tries) ab will stop early still without starting the other
workers, otherwise the first worker will signal the main thread to start the
others.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900362 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 28 Apr 2022 10:41:48 +0000 (10:41 +0000)]
*) mod_http2: remove unused and insecure code. Fixes PR66037.
Thanks to Ronald Crane (Zippenhop LLC) for reporting this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900356 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Wed, 27 Apr 2022 20:36:14 +0000 (20:36 +0000)]
The only caller of hm_processmsg() passes an apr_size_t for the last parameter, so be consistent and update the definition accordingly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900340 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Wed, 27 Apr 2022 20:08:50 +0000 (20:08 +0000)]
Harden mod_session and avoid overflow in case of indecently large session
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900335 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Wed, 27 Apr 2022 12:07:18 +0000 (12:07 +0000)]
* removing duplicatae changes entry
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900315 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Wed, 27 Apr 2022 11:53:04 +0000 (11:53 +0000)]
*) mod_md: implement full auto status ("key: value" type status output).
Especially not only status summary counts for certificates and
OCSP stapling but also lists. Auto status format is similar to
what was used for mod_proxy_balancer.
added change desription for code added in r1900313.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900314 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Wed, 27 Apr 2022 11:48:36 +0000 (11:48 +0000)]
*) mod_md: added support for managing certificates via a
local tailscale demon for users of that secure networking.
This gives trusted certificates for tailscale assigned
domain names in the *.ts.net space.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900313 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Wed, 27 Apr 2022 07:45:01 +0000 (07:45 +0000)]
* modules/ssl/ssl_engine_io.c:
Drop noop functions for BIO methods mod_ssl doesn't implement.
OpenSSL handles missing BIO methods internally in BIO_xxxx() wrappers.
Consistently log at TRACE4 unhandled _ctrl commands, but note
these are not a "BUG" as in the previous log message.
PR: 66028
Github: closes #316
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900309 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 27 Apr 2022 06:43:11 +0000 (06:43 +0000)]
* Use apr_size_t instead of int to avoid an overflow
PR: 66034
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900307 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 27 Apr 2022 06:35:02 +0000 (06:35 +0000)]
* Avoid an overflow on large inputs
PR: 66033
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900306 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Fri, 22 Apr 2022 13:04:51 +0000 (13:04 +0000)]
ab: Allow for TLSv1.3 when the SSL library supports it.
When TLS1_3_VERSION is defined by the SSL library, bump the maximum TLS
protocol to that and use it for "-f ALL" or "-f TLSv1.3".
This mixes proposed patches from BZ 63594 and 64699.
BZ: 63594, 64699
Submitted by: abhilash <abhilash1232 gmail.com>
Submitted by: xiaolongx.jiang intel.com
Submitted & Reviewed by: ylavic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900157 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Fri, 22 Apr 2022 12:14:01 +0000 (12:14 +0000)]
ab: apr_base64_encode already NUL-terminate the output.
And returns the length including the trailing \0, so setting it at that
length is off by +1.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900152 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Fri, 22 Apr 2022 08:45:31 +0000 (08:45 +0000)]
*) mod_md: a possible NULL pointer deref was fixed in
the JSON code for persisting time periods (start+end).
Fixes #282 on mod_md's github.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900145 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 21 Apr 2022 11:21:50 +0000 (11:21 +0000)]
*) mod_http2: clear the h2 worker slot connection early to avoid
any race in slot updates after the connection has been handled.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900104 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 21 Apr 2022 10:31:37 +0000 (10:31 +0000)]
*) mod_http2: fix edge case in removal of entries
in a h2_fifo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900102 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 21 Apr 2022 10:02:29 +0000 (10:02 +0000)]
core: Disable TCP_NOPUSH optimization on OSX. BZ 66019.
OSX supports TCP_NOPUSH but does not release the data retained (in TCP stack)
when the option is unset. It seems that unsetting it before the last write
does not help either so just disable the optimization for OSX in the core
output filter to avoid uncontrollable transmission delays.
* server/core_filters.c():
Add the sock_nopush() helper that does nothing on OSX and platforms not
supporting TCP_NOPUSH or TCP_CORK.
* server/core_filters.c(send_brigade_nonblocking):
Use sock_nopush() instead of apr_socket_opt_set() for APR_TCP_NOPUSH option.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900100 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Wed, 20 Apr 2022 16:49:15 +0000 (16:49 +0000)]
fix select-groups example, bz 66010
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900077 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Wed, 20 Apr 2022 06:52:58 +0000 (06:52 +0000)]
Fix alignment in an 'if' block.
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900064 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Tue, 19 Apr 2022 14:11:39 +0000 (14:11 +0000)]
* Implement full auto status ("key: value" type status output).
Especially not only status summary counts for certificates and
OCSP stapling but also lists. Auto status format is similar to
what was used for mod_proxy_balancer.
[Rainer Jung]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900039 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Tue, 19 Apr 2022 13:44:05 +0000 (13:44 +0000)]
*) mod_http2: make APLOGNO check happy with line continuation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900037 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Tue, 19 Apr 2022 10:36:53 +0000 (10:36 +0000)]
*) mod_http2: using new session ids also in logging for connection
contexts and bucket beams.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900031 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Tue, 19 Apr 2022 10:17:05 +0000 (10:17 +0000)]
*) mod_http2: use new ap_sb_get_child_thread() to get child_num
and create unique h2 session identifiers in logging that stay
unique among re-activations of the master connection.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900030 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Tue, 19 Apr 2022 10:16:02 +0000 (10:16 +0000)]
*) core: add ap_sb_get_child_thread() to retrieve child_num
and thread_num from a scoreboard handle.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900029 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Tue, 19 Apr 2022 09:14:10 +0000 (09:14 +0000)]
*) mod_proxy: Add backend port to log messages to
ease identification of involved service.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900028 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Tue, 19 Apr 2022 08:59:47 +0000 (08:59 +0000)]
*) mod_heartmonitor: Set the documented default value
"10" for HeartbeatMaxServers instead of "0". With "0"
no shared memory slotmem was initialized. [Rainer Jung]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900026 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Tue, 19 Apr 2022 08:58:07 +0000 (08:58 +0000)]
Revert r1899809: Will reapply using new
changes-entries method for CHANGES handling.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900025 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Tue, 19 Apr 2022 08:57:29 +0000 (08:57 +0000)]
*) de-duplicate ALOGNO from code copy.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900024 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Tue, 19 Apr 2022 08:51:07 +0000 (08:51 +0000)]
alloc number [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1900023 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Sat, 16 Apr 2022 10:09:59 +0000 (10:09 +0000)]
*) core: improved checks in ap_escape_quotes() for
extra long strings (or resulting strings) that
exceed ptrdiff_t ranges.
[Yann Ylavic, Stefan Eissing]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1899905 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Fri, 15 Apr 2022 11:42:58 +0000 (11:42 +0000)]
* Add Changelog for r1899451, r1899454, r1899562, r1899564, r1899584
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1899886 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Fri, 15 Apr 2022 10:59:22 +0000 (10:59 +0000)]
*) test: core stress test_core_002 enhanved to monitor dynamic child
changes on load and graceful reload of the server.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1899885 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Fri, 15 Apr 2022 10:56:05 +0000 (10:56 +0000)]
* Port r1899858, r1899865 to worker MPM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1899884 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Apr 2022 17:04:08 +0000 (17:04 +0000)]
mpm_event: Follow up to r1899858: Avoid explicit sleep.
Instead, we can simply go to ap_wait_or_timeout() again.
While at it, improve the comment about killed processes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1899865 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Apr 2022 15:26:21 +0000 (15:26 +0000)]
test/core: Allow for 12 simultaneous connections in test_core_002_01.
It seems that h2load somehow issues more connections than the 6 requested (saw
up to 12), so adapt the MPM event configuration accordingly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1899862 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Apr 2022 14:38:03 +0000 (14:38 +0000)]
mpm_event: Handle children killed pathologically.
If children processes get killed (SIGSEGV/SIGABRT/..) early after starting or
frequently enough then we never enter perform_idle_server_maintenance() to
try something.
Below three successive children killed restart them immediately, above three
let's sleep the usual 1s (to avoid fork()s flood) and do the idle maintenance.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1899858 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Apr 2022 14:19:04 +0000 (14:19 +0000)]
Reserve one APLOGNO [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1899856 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 14 Apr 2022 11:37:30 +0000 (11:37 +0000)]
*) test/core: using rate periods for creating new connections
over time.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1899846 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 14 Apr 2022 11:09:50 +0000 (11:09 +0000)]
*) test/core: start of a stress test case, skipped unless
environment variable STRESS_TEST is present.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1899845 13f79535 -47bb-0310-9956-
ffa450edef68