]>
git.ipfire.org Git - thirdparty/apache/httpd.git/log
Ruediger Pluem [Wed, 18 Mar 2020 11:28:40 +0000 (11:28 +0000)]
* modules/ssl/ssl_util_stapling.c (stapling_check_response) Don't stop
Certificate Revoked messages.
Certificate Revoked Responder messages don't belong to 'error' class.
When the server receives one, it MUST be passed on to the client.
And stored for the normal period of basic responses.
Also don't log an error each time it is retrieved from cache,
only once when it is retrieved from the OCSP responder.
PR: 60182
Obtained from: https://github.com/apache/httpd/commit/
7db9795f45fd4688ceb13ee36090e4e2becbc709 .diff
Submitted by: <gmoniker@gmail.com>
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1875355 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 18 Mar 2020 10:58:35 +0000 (10:58 +0000)]
* CHANGES for r1875353. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1875354 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Wed, 18 Mar 2020 10:53:06 +0000 (10:53 +0000)]
* modules/proxy/mod_proxy_http.c (ap_proxy_http_process_response): Clear any
possible returned buckets in the brigade in the error case. As we want to
close the connection anyway there is no sensible content we could still
sent and hence doing the needed life time transformation of the buckets
would be a waste.
PR: 64234
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1875353 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 16 Mar 2020 12:19:59 +0000 (12:19 +0000)]
* server/log.c (ap_log_pid): Use more traditional C style in httpd for
exception-handling. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1875240 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Fri, 13 Mar 2020 14:34:18 +0000 (14:34 +0000)]
* server/log.c (ap_log_pid): Use a temporary file, then rename once
successfully written; also add error checking. Avoids startup
failures if a previous httpd invocation crashed while writing the
pidfile.
Submitted by: Nicolas Carrier <carrier.nicolas0 gmail.com>, jorton
Github: closes #100, closes #69
PR: 63140
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1875153 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 12 Mar 2020 16:16:28 +0000 (16:16 +0000)]
* acinclude.m4 (APACHE_CHECK_SYSTEMD): Remove redundant test.
Submitted by: Pascal Terjan <pterjan linuxfr.org>
PR: 57631
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1875128 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 11 Mar 2020 11:11:53 +0000 (11:11 +0000)]
should be 2.5.x in trunk
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1875083 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Wed, 11 Mar 2020 07:12:14 +0000 (07:12 +0000)]
fix version, spotted by freenode user a-ja [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1875077 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Mon, 9 Mar 2020 07:16:11 +0000 (07:16 +0000)]
remove unused headers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874997 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 7 Mar 2020 13:53:15 +0000 (13:53 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874944 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 7 Mar 2020 13:52:02 +0000 (13:52 +0000)]
fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874943 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 7 Mar 2020 13:49:25 +0000 (13:49 +0000)]
fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874942 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 7 Mar 2020 13:48:58 +0000 (13:48 +0000)]
typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874941 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 7 Mar 2020 13:42:06 +0000 (13:42 +0000)]
misplaced <compatibility> tag.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874940 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sat, 7 Mar 2020 07:03:17 +0000 (07:03 +0000)]
Add compatibility notes and fix some small style issues.
A link with a RFC would be welcomed, but apparenly this is only a draft (See [1]) [skip ci]
[1]: https://tools.ietf.org/id/draft-ietf-httpbis-rfc6265bis-03.html
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874927 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Fri, 6 Mar 2020 01:20:25 +0000 (01:20 +0000)]
revert r1874135
Since 2.5.0 was released, we shoudln't purge entries during backport like
we used to do periodically.
[skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874868 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Wed, 4 Mar 2020 08:23:55 +0000 (08:23 +0000)]
Update docs. The expr_string.t failure has not been seen since
the workaround was added AFAICT. The async filter bug
is still breaking the tests regularly. [skip ci].
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874775 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 3 Mar 2020 14:12:39 +0000 (14:12 +0000)]
* Use a loop instead of recursion to iterate over pool siblings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874723 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 3 Mar 2020 12:17:52 +0000 (12:17 +0000)]
Fix travis config validation warnings.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874720 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 3 Mar 2020 11:33:43 +0000 (11:33 +0000)]
Switch to using httpd-tests git repo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874716 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 2 Mar 2020 12:03:26 +0000 (12:03 +0000)]
restore/explain new session creation
followup to r1874673. With the included providers for load/save this path should
not be taken.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874691 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Mon, 2 Mar 2020 10:42:30 +0000 (10:42 +0000)]
*) mod_http2: Fixes issue where mod_unique_id would generate non-unique request
identifier under load, see <https://github.com/icing/mod_h2/issues/195>.
[Michael Kaufmann, Stefan Eissing]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874689 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 2 Mar 2020 00:58:36 +0000 (00:58 +0000)]
PR56040: add SessionCookieMaxAge On/Off
Allows mod_session cookies to out as "session" cookies.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874675 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sun, 1 Mar 2020 22:40:03 +0000 (22:40 +0000)]
bubble up an error if none of the passhrases work
previously, the un-decodable z->encoded would get set to NULL
but success would be returned
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874674 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sun, 1 Mar 2020 22:39:11 +0000 (22:39 +0000)]
PR56052: resolve problems with expired sessions
session_load providers cache the session_rec pointer, so hollow
them out and reuse them instead of replacing them.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874673 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sun, 1 Mar 2020 22:25:13 +0000 (22:25 +0000)]
formatting [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874672 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 29 Feb 2020 14:20:36 +0000 (14:20 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874646 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 29 Feb 2020 14:19:32 +0000 (14:19 +0000)]
fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874645 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Fri, 28 Feb 2020 13:02:05 +0000 (13:02 +0000)]
PR64140: Allow %{Content-Type} in health check expressions
Submitted By: Renier Velazco <renier.velazco upr.edu>
Commited By: covener
Github: closes #97
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874616 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 28 Feb 2020 06:13:50 +0000 (06:13 +0000)]
Slighly simplify code.
No need to set to NULL or 0 fields that are apr_pcalloc'ed.
Axe 'set_cookie_enable' and use 'ap_set_flag_slot' instead.
(based on ideas taken from r1874389)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874602 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 28 Feb 2020 06:07:26 +0000 (06:07 +0000)]
Remove duplicated "CookieTracking" directive in 'command_rec'.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874601 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 27 Feb 2020 13:56:39 +0000 (13:56 +0000)]
mod_ssl: simpler "goto" logic for stapling_renew_response().
No functional change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874579 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 27 Feb 2020 12:43:51 +0000 (12:43 +0000)]
mod_ssl: Fix memory leak of OCSP stapling response.
The OCSP_RESPONSE is either ignored or serialized (i2d_OCSP_RESPONSE) in the
TLS response/handshake extension, so it must be freed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874577 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 27 Feb 2020 12:38:41 +0000 (12:38 +0000)]
Revert r1874574: wrong patch.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874575 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 27 Feb 2020 12:34:03 +0000 (12:34 +0000)]
mod_ssl: Fix memory leak of OCSP stapling response.
The OCSP_RESPONSE is either ignored or serialized (i2d_OCSP_RESPONSE) in the
TLS response/handshake extension, so it must be freed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874574 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Thu, 27 Feb 2020 06:59:10 +0000 (06:59 +0000)]
"?:" is a GNU extension, use standard syntax
spotted by Christophe Jaillet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874558 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Wed, 26 Feb 2020 17:47:53 +0000 (17:47 +0000)]
Avoid printing NULL strings in logs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874545 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Wed, 26 Feb 2020 09:00:43 +0000 (09:00 +0000)]
Add an i386 build using a multilib packages and "gcc -m32".
(All other Travis builds are 64-bit arches currently)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874542 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Tue, 25 Feb 2020 16:46:12 +0000 (16:46 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874517 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Tue, 25 Feb 2020 16:44:22 +0000 (16:44 +0000)]
fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874515 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 25 Feb 2020 16:34:47 +0000 (16:34 +0000)]
* modules/generators/cgi_common.h (cgi_handle_request): Catch
(unlikely) apr_bucket_read() failure when reading request.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874511 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 25 Feb 2020 14:27:43 +0000 (14:27 +0000)]
Add note on using scoped literal IPv6 addresses in Listen. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874496 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 25 Feb 2020 12:34:00 +0000 (12:34 +0000)]
* modules/generators/cgi_common.h (cgi_handle_request): Factor out
near-identical common code from mod_cgid, mod_cgi.
* modules/generators/mod_cgid.c (cgid_handler),
modules/generators/mod_cgi.c (cgi_handler):
Adjust to use cgi_handle_request.
Github: closes #97
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874491 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 25 Feb 2020 08:03:50 +0000 (08:03 +0000)]
* Another whitespace fix
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874481 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Tue, 25 Feb 2020 08:02:23 +0000 (08:02 +0000)]
* Whitespace fix
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874480 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Mon, 24 Feb 2020 21:19:47 +0000 (21:19 +0000)]
malloc -> ap_malloc
bz #63967
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874470 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sun, 23 Feb 2020 13:29:52 +0000 (13:29 +0000)]
PR64172: drop severity of AH01666
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874424 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sat, 22 Feb 2020 17:10:10 +0000 (17:10 +0000)]
PR64077: samesite/httponly/secure flags for usertrack
Submitted By: Prashant Keshvani <prashant2400 gmail.com>, Eric Covener
Committed By: covener
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874389 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Sat, 22 Feb 2020 00:14:49 +0000 (00:14 +0000)]
Avoid printing NULL strings in logs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874346 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Fri, 21 Feb 2020 23:19:07 +0000 (23:19 +0000)]
handle LOCAL ver_cmd proxy headers
bz 63893
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874344 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Fri, 21 Feb 2020 18:57:48 +0000 (18:57 +0000)]
more correct explanation about certificates handling
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874331 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Fri, 21 Feb 2020 14:22:10 +0000 (14:22 +0000)]
mod_ssl: follow up to r1861950: allow for OPENSSL_init_ssl() without autoconf.
For systems with no autoconf (eg. Windows), still check for and use
OPENSSL_init_ssl() based on OpenSSL version >= 1.1.0.
Usual LibreSSL gotcha, exclude LIBRESSL_VERSION_NUMBER from this new heuristic
since autoconf is likely available in this case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874323 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Fri, 21 Feb 2020 12:05:18 +0000 (12:05 +0000)]
mod_md: re-applying the parts of r1873985 that got overwritten by the latest github sync.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874314 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 20 Feb 2020 23:41:21 +0000 (23:41 +0000)]
mpm_event: avoid possible KeepAlveTimeout off by -100 ms.
Use TIMEOUT_FUDGE_FACTOR to limit wakeups from queues_next_expiry, yet consider
the current/unfudged timestamp to process/cleanup the queues (once woken up).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874277 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Thu, 20 Feb 2020 16:31:36 +0000 (16:31 +0000)]
fr doc XML file update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874264 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 20 Feb 2020 14:36:46 +0000 (14:36 +0000)]
Add gcc 9 job, enable enhanced malloc debugging for pool-debug job.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874256 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 20 Feb 2020 08:46:39 +0000 (08:46 +0000)]
PKCS#11 URIs usable from 2.4.42 and later now. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874243 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Wed, 19 Feb 2020 11:18:21 +0000 (11:18 +0000)]
Add Travis job which runs under UBSan ("Undefined Behaviour Sanitizer").
mod_http2 disabled for now until https://github.com/icing/mod_h2/pull/194
is merged.
Github: closes #96
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874190 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Wed, 19 Feb 2020 10:54:30 +0000 (10:54 +0000)]
mod_md: fixed version string by removing -git, thanks for spotting @steffenal.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874188 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Wed, 19 Feb 2020 10:52:38 +0000 (10:52 +0000)]
Warn against using "nobody" for User/Group since it's bad practice.
Add note on supplementary groups. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874187 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 18 Feb 2020 08:27:43 +0000 (08:27 +0000)]
* support/suexec.c (clean_env): Revert use of ap_calloc in
r1874156 which broke the build.
https://travis-ci.org/apache/httpd/builds/
651858409
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874158 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Tue, 18 Feb 2020 07:37:45 +0000 (07:37 +0000)]
convert malloc(3) into ap_malloc
bz 64049
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874156 13f79535 -47bb-0310-9956-
ffa450edef68
Mike Rumph [Mon, 17 Feb 2020 21:41:22 +0000 (21:41 +0000)]
Fix spelling errors in docs found by codespell. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874148 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 17 Feb 2020 17:18:57 +0000 (17:18 +0000)]
* module/dav/main/util.c (dav_check_bufsize): Don't call
memcpy(,NULL,0) if the buffer is uninitialized, to avoid tripping
UBSan. (Unclear if this is valid for this API.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874144 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Mon, 17 Feb 2020 14:44:26 +0000 (14:44 +0000)]
Cleanup of backported entries in CHANGES.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874135 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Mon, 17 Feb 2020 14:15:32 +0000 (14:15 +0000)]
mod_md: adding documentation for new MDContactEmail directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874133 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Mon, 17 Feb 2020 14:05:03 +0000 (14:05 +0000)]
*) mod_md:
- Prefer MDContactEmail directive to ServerAdmin for registration. New directive
thanks to Timothe Litt (@tlhackque).
- protocol check for pre-configured "tls-alpn-01" challenge has been improved. It will now
check all matching virtual hosts for protocol support. Thanks to @mkauf.
- Corrected a check when OCSP stapling was configured for hosts
where the responsible MDomain is not clear, by Michal Karm Babacek (@Karm).
- Softening the restrictions where mod_md configuration directives may appear. This should
allow for use in <If> and <Macro> sections. If all possible variations lead to the configuration
you wanted in the first place, is another matter.
[Michael Kaufmann <mail michael-kaufmann.ch>, Timothe Litt (@tlhackque),
Michal Karm Babacek (@Karm), Stefan Eissing (@icing)]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874132 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 17 Feb 2020 11:59:28 +0000 (11:59 +0000)]
Back off a little when svn export is timing out.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874128 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 17 Feb 2020 10:11:56 +0000 (10:11 +0000)]
Define ap_method_mask_t (typedef for apr_uint64_t) and use for method
bitmasks rather than apr_int64_t. Fixes UBSan errors shifting to the
top bit of a signed integer.
* include/httpd.h: Add ap_method_mask_t, use it for AP_METHOD_BIT.
(struct ap_method_mask_t): Likewise for method_mask field.
(struct request_rec): Likewise for allowed field.
* include/http_config.h (struct cmd_parms): Likewise for limited field.
* include/ap_mmn.h: Bump MMN major.
* modules/*/*.c: Adjust all method masks to use ap_method_mask_t.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874114 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 17 Feb 2020 08:20:52 +0000 (08:20 +0000)]
* modules/http/http_filters.c (parse_chunk_size): Reduce by four the
limit to the number of bits that can be handled in a chunk size, to
avoid undefined behaviour bitshifting a signed integer left. Max
chunk size on 32-bit arch is now 32MiB. Avoids UBSan error in:
http_filters.c:227:46: runtime error: left shift of
768614336404564650 by 4 places cannot be represented in type 'long int'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874102 13f79535 -47bb-0310-9956-
ffa450edef68
Giovanni Bechis [Mon, 17 Feb 2020 07:52:55 +0000 (07:52 +0000)]
fix build with LibreSSL 2.0.7+
bz 64047
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874101 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Sun, 16 Feb 2020 23:08:32 +0000 (23:08 +0000)]
Follow up to r1873941: define AP_REG_NO_DEFAULT for raw ap_regcomp() usage.
This avoids having to define AP_REG_NO_* for each APR_REG_* specific option,
thus replacing AP_REG_NO_DOTALL introduced lately.
For ap_rxplus_compile() and mod_substitute where default AP_REG_DOTALL is not
suitable, let's use:
AP_REG_NO_DEFAULT | ap_regcomp_get_default_cflags() & AP_REG_DOLLAR_ENDONLY
to keep the default AP_REG_DOLLAR_ENDONLY unless RegexDefaultOptions unsets it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874090 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Sat, 15 Feb 2020 19:13:09 +0000 (19:13 +0000)]
Follow up to r1874055: fix typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874062 13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Sat, 15 Feb 2020 14:46:17 +0000 (14:46 +0000)]
RHEL and CentOS now use dnf. Call out yum as the outlier, rather than
the other way around.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874056 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sat, 15 Feb 2020 14:22:22 +0000 (14:22 +0000)]
Avoid UBSan exception calling memcpy(,NULL,0) at startup.
Follow-up to r1874011 which did the same for the event MPM.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874055 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Fri, 14 Feb 2020 10:47:36 +0000 (10:47 +0000)]
* server/mpm/event/event.c (event_open_logs): Avoid UBSan exception
calling memcpy(,NULL,0) at startup. Thanks to rpluem.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874011 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Fri, 14 Feb 2020 09:38:12 +0000 (09:38 +0000)]
* modules/ssl/ssl_util_ocsp.c (serialize_request): Set the Connection header
to close to indicate that we do not want to keep the HTTP connection to the
OCSP responder alive. We don't reuse the connections currently and if the
OCSP responder keeps the connection alive this could cause us to wait for
keepalive timeout of the OCSP responder to timeout until we finish our
reading of the OCSP response.
PR: 64135
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874007 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Fri, 14 Feb 2020 08:53:21 +0000 (08:53 +0000)]
* modules/ssl/ssl_engine_init.c (ssl_init_Module): Avoid some bogus
gcc -Wmaybe-uninitialized warnings in (slightly odd) SSLFIPS
handling.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1874005 13f79535 -47bb-0310-9956-
ffa450edef68
Mike Rumph [Thu, 13 Feb 2020 18:15:57 +0000 (18:15 +0000)]
Fix spelling errors found by codespell. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873985 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 12 Feb 2020 13:36:40 +0000 (13:36 +0000)]
don't use DOTALL from mod_substitute which leaves \n at the end of the line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873941 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Wed, 12 Feb 2020 05:36:31 +0000 (05:36 +0000)]
Add a missing APLOGNO()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873927 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Wed, 12 Feb 2020 05:34:10 +0000 (05:34 +0000)]
Reserve a number
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873926 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 11 Feb 2020 16:18:14 +0000 (16:18 +0000)]
Clarify compatibility and interpretation of CGIDScriptTimeout. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873913 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 11 Feb 2020 10:50:40 +0000 (10:50 +0000)]
Update xforms. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873891 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 11 Feb 2020 10:38:13 +0000 (10:38 +0000)]
Add some blurb on correctly stopping the service w/mod_systemd. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873889 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Tue, 11 Feb 2020 10:13:24 +0000 (10:13 +0000)]
*) mod_ssl: Disable client verification on ACME ALPN challenges. Fixes github
issue mod_md#172 (https://github.com/icing/mod_md/issues/172).
[Michael Kaufmann <mail michael-kaufmann.ch>, Stefan Eissing]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873888 13f79535 -47bb-0310-9956-
ffa450edef68
Luca Toscano [Sun, 9 Feb 2020 17:08:04 +0000 (17:08 +0000)]
mod_systemd.xml: add basic unit example [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873835 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sun, 9 Feb 2020 16:46:53 +0000 (16:46 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873834 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sun, 9 Feb 2020 16:44:42 +0000 (16:44 +0000)]
fr doc XML files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873833 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 9 Feb 2020 08:28:25 +0000 (08:28 +0000)]
Add some missing spaces
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873820 13f79535 -47bb-0310-9956-
ffa450edef68
Luca Toscano [Sat, 8 Feb 2020 17:09:54 +0000 (17:09 +0000)]
flags.xml: remove extra </dl> to allow clean builds
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873799 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sat, 8 Feb 2020 08:15:12 +0000 (08:15 +0000)]
Fix a typo (doubled "(") and a small grammar issue
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873767 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sat, 8 Feb 2020 01:14:28 +0000 (01:14 +0000)]
add SameSite to RewriteRule ... ... [CO]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873762 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Fri, 7 Feb 2020 17:14:05 +0000 (17:14 +0000)]
factor out TE=chunked checking
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873748 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Fri, 7 Feb 2020 17:08:41 +0000 (17:08 +0000)]
factor out default regex flags
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873747 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Fri, 7 Feb 2020 17:04:53 +0000 (17:04 +0000)]
bump
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873746 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Fri, 7 Feb 2020 17:04:45 +0000 (17:04 +0000)]
trap bad FTP responses
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873745 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Thu, 6 Feb 2020 21:27:30 +0000 (21:27 +0000)]
Add compatibility note for "DeflateAlterETag" (already present in 2.4.x)
Re-order to match 2.4.x order.
Fix a color syntax highlight to synch with 2.4.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873722 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Thu, 6 Feb 2020 21:01:13 +0000 (21:01 +0000)]
Add new module in "new features" in 2.4.x section
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873718 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Thu, 6 Feb 2020 20:56:26 +0000 (20:56 +0000)]
Add compatibility note for mod_systemd.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1873715 13f79535 -47bb-0310-9956-
ffa450edef68