]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
3 days agomod_md, update tp v2.6.5
Stefan Eissing [Tue, 4 Nov 2025 14:30:49 +0000 (14:30 +0000)] 
mod_md, update tp v2.6.5

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

3 days agoImprove grammar.
Joe Orton [Tue, 4 Nov 2025 08:25:02 +0000 (08:25 +0000)] 
Improve grammar.

Submitted by: rpluem

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

6 days agofr doc rebuild.
Lucien Gentis [Sat, 1 Nov 2025 13:40:58 +0000 (13:40 +0000)] 
fr doc rebuild.

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

6 days agofr doc XML file update.
Lucien Gentis [Sat, 1 Nov 2025 13:37:42 +0000 (13:37 +0000)] 
fr doc XML file update.

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

10 days agoAdd missing ) in the writelog message.
Joe Orton [Tue, 28 Oct 2025 13:42:07 +0000 (13:42 +0000)] 
Add missing ) in the writelog message.

Submitted by: Jean-Frederic Clere <jfclere apache.org>
Github: closes #543

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

11 days agoUpdate docs on SSLVhostSNIPolicy to cover the impact on
Joe Orton [Mon, 27 Oct 2025 10:30:41 +0000 (10:30 +0000)] 
Update docs on SSLVhostSNIPolicy to cover the impact on
non-SNI connections. Reorder the table for clarity.

Submitted by: Aaron Ogburn <aogburn redhat.com>, jorton

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

13 days agofr doc rebuild.
Lucien Gentis [Sat, 25 Oct 2025 12:23:32 +0000 (12:23 +0000)] 
fr doc rebuild.

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

13 days agofr doc XML file update.
Lucien Gentis [Sat, 25 Oct 2025 12:04:12 +0000 (12:04 +0000)] 
fr doc XML file update.

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

13 days agomisplaced tags in english version and fr doc XML file update.
Lucien Gentis [Sat, 25 Oct 2025 11:58:42 +0000 (11:58 +0000)] 
misplaced tags in english version and fr doc XML file update.

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

2 weeks agoRegenerate docs.
Joe Orton [Thu, 23 Oct 2025 11:52:43 +0000 (11:52 +0000)] 
Regenerate docs.

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

2 weeks agomod_ssl: Add SSLVHostSNIPolicy directive to set the compatibility
Joe Orton [Thu, 23 Oct 2025 11:51:28 +0000 (11:51 +0000)] 
mod_ssl: Add SSLVHostSNIPolicy directive to set the compatibility
level required for VirtualHost matching.

For "secure" and "authonly" modes, a hash of the policy-relevant vhost
configuration is created and stored in the post_config hooks, reducing
the runtime code complexity (and overhead).

* modules/ssl/ssl_engine_kernel.c (ssl_check_vhost_sni_policy): New
  function, replacing ssl_server_compatible et al.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLVHostSNIPolicy): New
  function.

* modules/ssl/ssl_engine_init.c (md5_strarray_cmp, md5_strarray_hash,
  hash_sni_policy_pk, hash_sni_policy_auth, create_sni_policy_hash):
  New functions.
  (ssl_init_Module): Invoke create_sni_policy_hash to store the hash
  for every SSLSrvConfigRec.

* modules/ssl/ssl_private.h (SSLModConfigRec): Add snivh_policy field.
  (SSLSrvConfigRec): Add sni_policy_hash field.

PR: 69743
GitHub: closes #561

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

2 weeks agoRemove duplicate config merging
Ruediger Pluem [Sat, 18 Oct 2025 10:34:37 +0000 (10:34 +0000)] 
Remove duplicate config merging

The removed ternary does the same as the following macro
call to AP_CORE_MERGE_FLAG.

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

5 weeks agoUpdate the favicon in the doc to the new leaf logo.
Christophe Jaillet [Thu, 2 Oct 2025 19:57:52 +0000 (19:57 +0000)] 
Update the favicon in the doc to the new leaf logo.

Take the one used on w.a.o which is a png file, instead of the previous ico file.

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

5 weeks agoCorrectly parse Range headers with multiple ranges
Ruediger Pluem [Thu, 2 Oct 2025 13:00:44 +0000 (13:00 +0000)] 
Correctly parse Range headers with multiple ranges

Correctly parse Range headers with multiple ranges that have
whitespaces around the comma separating the ranges from each other by
trimming the whitespace.

PR: 69831

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

5 weeks ago* modules/ssl/ssl_private.h (SSLModConfigRec): Make szCryptoDevice
Joe Orton [Wed, 1 Oct 2025 08:23:55 +0000 (08:23 +0000)] 
* modules/ssl/ssl_private.h (SSLModConfigRec): Make szCryptoDevice
  conditional on ENGINE API support.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLCryptoDevice): Log a
  warning if the directive is used in a non-ENGINE OpenSSL build;
  only touch szCryptoDevice for with-ENGINE builds.

* modules/ssl/ssl_engine_init.c (ssl_init_server_certs): Only
  use szCryptoDevice for with-ENGINE builds.

Submitted by: Joe Orton <jorton redhat.com>

Github: closes #559

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

5 weeks agoSteal a aplogno id [skip ci].
Joe Orton [Tue, 30 Sep 2025 10:14:22 +0000 (10:14 +0000)] 
Steal a aplogno id [skip ci].

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

5 weeks agoRevert part of r1928839 which stripped the APLOGNO() tags.
Joe Orton [Tue, 30 Sep 2025 10:06:43 +0000 (10:06 +0000)] 
Revert part of r1928839 which stripped the APLOGNO() tags.

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

5 weeks agosync with mod_md github
Stefan Eissing [Mon, 29 Sep 2025 15:09:23 +0000 (15:09 +0000)] 
sync with mod_md github

* src/md_util.h: Include <apr_cstr.h> for APR 1.6+, or else define
  apr_cstr_casecmp to apr_natcasecmp as previously.

by notroj

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

7 weeks agofr doc rebuild.
Lucien Gentis [Sat, 13 Sep 2025 13:34:03 +0000 (13:34 +0000)] 
fr doc rebuild.

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

7 weeks agofr doc XML file update.
Lucien Gentis [Sat, 13 Sep 2025 13:32:52 +0000 (13:32 +0000)] 
fr doc XML file update.

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

7 weeks agotypo correction.
Lucien Gentis [Sat, 13 Sep 2025 13:31:23 +0000 (13:31 +0000)] 
typo correction.

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

8 weeks agomod_ssl: Add support for Encrypted Client Hello (ECH) based off
Joe Orton [Fri, 12 Sep 2025 08:05:11 +0000 (08:05 +0000)] 
mod_ssl: Add support for Encrypted Client Hello (ECH) based off
proposed OpenSSL 4.0 API. Notes from PR #551:

This build only supports ECH "shared-mode" where mod_ssl does the ECH
decryption and also hosts both the ECH `public-name` and `backend` web
sites.

## Build

> [!NOTE]
> ECH is not yet a part of an OpenSSL release, our current goal is that ECH be
> part of an OpenSSL 4.0 release in spring 2026.

There is client and server ECH code in the OpenSSL ECH feature branch at
[https://github.com/openssl/openssl/tree/feature/ech](https://github.com/openssl/openssl/tree/feature/ech).
At present, ECH-enabling apache2 therefore requires building from source, using
the OpenSSL ECH feature branch.

## Code changes

- All code changes are within `modules/ssl` and are protected via `#ifdef
  HAVE_OPENSSL_ECH`.  That's defined in `ssl_private.h` if the included
`ssl.h` defines `SSL_OP_ECH_GREASE`.

- There're a bunch of changes to add the new `SSLECHKeyDir` directive that
  are mosly obvious.

- We load the keys from `SSLECHKeyDir` using the `load_echkeys()` function in
  `ssl_engine_init.c`. That also ECH-enables the `SSL_CTX` when keys are
  loaded, which triggers ECH decryption as needed.

> [!NOTE]
> `load_echkeys()` will include the public component all loaded keys in the ECH
> `retry-configs` in the fallback scenario. If desired, we could add a naming
> convention or additional configuration setting to distinguish which to
> include in `retry-configs` or not. For now, we assume that'd better be done
> in a subsequent PR, if experience shows the feature is really useful/needed.
> (We can envisage some odd deployments where that might be the case, but not
> clear those'd really happen - it'd seem to need loads of key pairs or else
> some that are never published in the DNS that we don't want to expose to
> random clients - neither seems compelling.)

- We add a callback to `SSL_CTX_ech_set_callback` also in `ssl_engine_init.c`.

- We add calls to set the `SSL_ECH_STATUS` etc. variables to the environment
(for PHP etc) in `ssl_engine_kernel.c` and also do the logging of ECH outcomes
(to the error log).

Submitted by: sftcd <stephen.farrell cs.tcd.ie>, rpluem
Github: closes #551

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

8 weeks agomod_systemd: add missing space
Joe Orton [Fri, 12 Sep 2025 07:35:31 +0000 (07:35 +0000)] 
mod_systemd: add missing space

Submitted by: Christian Hesse <mail eworm.de>
Github: closes #557

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

2 months agofr doc rebuild.
Lucien Gentis [Sat, 6 Sep 2025 14:10:03 +0000 (14:10 +0000)] 
fr doc rebuild.

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

2 months agofr doc XML files updates.
Lucien Gentis [Sat, 6 Sep 2025 14:08:40 +0000 (14:08 +0000)] 
fr doc XML files updates.

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

2 months agotypo correction.
Lucien Gentis [Sat, 6 Sep 2025 13:23:04 +0000 (13:23 +0000)] 
typo correction.

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

2 months ago* Revert r1928222 as we cannot handle transfer encoding chunked
Ruediger Pluem [Thu, 4 Sep 2025 08:08:00 +0000 (08:08 +0000)] 
* Revert r1928222 as we cannot handle transfer encoding chunked

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

2 months agoPerform OCSP requests via HTTP/1.1 instead of HTTP/1.0
Ruediger Pluem [Thu, 4 Sep 2025 06:06:15 +0000 (06:06 +0000)] 
Perform OCSP requests via HTTP/1.1 instead of HTTP/1.0

According to https://docs.digicert.com/en/whats-new/change-log/certcentral-change-log.html#digicert-ending-support-for-http-1-0-connections-for-ocsp-and-crl-certificate-status-verification-checks-619426
Digicert stops supporting HTTP/1.0 for their OCSP responder, but still supports
HTTP/1.1. Hence switch to HTTP/1.1 to keep things working.
It is assumed that other OCSP responders support HTTP/1.1 as well.

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

2 months agoxforms
Eric Covener [Fri, 29 Aug 2025 12:20:40 +0000 (12:20 +0000)] 
xforms

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

2 months agohelps to re-read the PR.
Eric Covener [Fri, 29 Aug 2025 12:20:29 +0000 (12:20 +0000)] 
helps to re-read the PR.

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

2 months agoxforms
Eric Covener [Fri, 29 Aug 2025 12:12:07 +0000 (12:12 +0000)] 
xforms

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

2 months agoreorder, tweak wording
Eric Covener [Fri, 29 Aug 2025 12:11:59 +0000 (12:11 +0000)] 
reorder, tweak wording

help emphasize the moral of PR69698, that continued lines
win out over comments.

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

2 months agoremove tailscale from mod_md documentation
Stefan Eissing [Wed, 27 Aug 2025 07:54:59 +0000 (07:54 +0000)] 
remove tailscale from mod_md documentation

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

2 months ago* Follow up to r1927885: Changelog entry and documentation
Ruediger Pluem [Tue, 26 Aug 2025 13:56:01 +0000 (13:56 +0000)] 
* Follow up to r1927885: Changelog entry and documentation

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

2 months agofr doc rebuild.
Lucien Gentis [Sat, 23 Aug 2025 13:01:49 +0000 (13:01 +0000)] 
fr doc rebuild.

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

2 months agofr doc XML file update.
Lucien Gentis [Sat, 23 Aug 2025 12:59:34 +0000 (12:59 +0000)] 
fr doc XML file update.

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

2 months agotrigger ci
Yann Ylavic [Thu, 21 Aug 2025 14:46:09 +0000 (14:46 +0000)] 
trigger ci

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

2 months ago* include/httpd.h: Define HTTP_EARLY_HINTS (103) per RFC 8297.
Ruediger Pluem [Thu, 21 Aug 2025 07:04:46 +0000 (07:04 +0000)] 
* include/httpd.h: Define HTTP_EARLY_HINTS (103) per RFC 8297.

* modules/http/http_protocol.c (status_lines): Add 103 response.

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

2 months ago* Use correct configuration variable
Ruediger Pluem [Wed, 20 Aug 2025 13:39:03 +0000 (13:39 +0000)] 
* Use correct configuration variable

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

2 months agoMake the value set for the socket option TCP_DEFER_ACCEPT configurable
Ruediger Pluem [Tue, 19 Aug 2025 12:45:15 +0000 (12:45 +0000)] 
Make the value set for the socket option TCP_DEFER_ACCEPT configurable

* include/ap_listen.h:
  - Add prototype for include/ap_listen.heraccept
  - Wire in new directive ListenTCPDeferAccept

* include/mpm_common.h:
  Define the previous static value as default value via DEFAULT_TCP_DEFER_ACCEPT

* server/listen.c:
  - Add static int ap_listentcpdeferaccept
  - ap_apply_accept_filter: Use value of ap_listenbacklog for setting TCP_DEFER_ACCEPT
  - ap_listen_pre_config: Set default value
  - Add ap_set_listentcpdeferaccept

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

2 months agoRemove condition which is always false
Ruediger Pluem [Tue, 19 Aug 2025 12:12:41 +0000 (12:12 +0000)] 
Remove condition which is always false

If sslconn->non_ssl_request is set to either NON_SSL_SEND_REQLINE or
NON_SSL_SEND_HDR_SEP we cannot close the connection here.
We handle NON_SSL_SEND_REQLINE and NON_SSL_SEND_HDR_SEP
later again in the input filter and in ssl_hook_ReadReq
to return an appropriate error message to the client.

PR: 69773

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

2 months ago *) mod_md: update to version 2.6.2
Stefan Eissing [Tue, 19 Aug 2025 09:36:21 +0000 (09:36 +0000)] 
  *) mod_md: update to version 2.6.2
     - Fix error retry delay calculation to not already doubling the wait
       on the first error.

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

2 months agotrivial typo correction
Rich Bowen [Mon, 18 Aug 2025 19:20:15 +0000 (19:20 +0000)] 
trivial typo correction

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

2 months agotrivial typo correction
Rich Bowen [Mon, 18 Aug 2025 19:17:06 +0000 (19:17 +0000)] 
trivial typo correction

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

2 months agofr doc rebuild.
Lucien Gentis [Sat, 16 Aug 2025 13:05:16 +0000 (13:05 +0000)] 
fr doc rebuild.

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

2 months agofr doc XML files updates.
Lucien Gentis [Sat, 16 Aug 2025 12:54:03 +0000 (12:54 +0000)] 
fr doc XML files updates.

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

2 months agoTypo correction.
Lucien Gentis [Sat, 16 Aug 2025 12:52:25 +0000 (12:52 +0000)] 
Typo correction.

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

2 months ago *) mod_md: update to version 2.6.1
Stefan Eissing [Fri, 15 Aug 2025 11:23:29 +0000 (11:23 +0000)] 
  *) mod_md: update to version 2.6.1
     - Increasing default `MDRetryDelay` to 30 seconds to generate less bursty
       traffic on errored renewals for the ACME CA. This leads to error retries
        of 30s, 1 minute, 2, 4, etc. up to daily attempts.
     - Checking that configuring `MDRetryDelay` will result in a positive
       duration. A delay of 0 is not accepted.
     - Fix a bug in checking Content-Type of responses from the ACME server.
     - Added ACME ARI support (rfc9773) to the module. Enabled by default. New
       directive "MDRenewViaARI on|off" for controlling this.
     - Removing tailscale support. It has not been working for a long time
       as the company decided to change their APIs. Away with the dead code,
       documentation and tests.
     - Fixed a compilation issue with pre-industrial versions of libcurl.

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

2 months agosteal a number
Stefan Eissing [Fri, 15 Aug 2025 10:27:32 +0000 (10:27 +0000)] 
steal a number

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

2 months ago* modules/arch/unix/mod_unixd.ci (ap_unixd_setup_child):
Joe Orton [Fri, 15 Aug 2025 07:38:26 +0000 (07:38 +0000)] 
* modules/arch/unix/mod_unixd.ci (ap_unixd_setup_child):
  Do not test euid=0 before going chroot

Nowaday chroot need CAP_SYS_CHROOT capability in its user namespace, and could
work without root.

Will allow to use chroot with lesser permission.

Submitted by: Bastien Roucariès <rouca debian.org>
PR: 69767
Github: closes #549

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

2 months ago *) mod_http2: update to version 2.0.35
Stefan Eissing [Thu, 14 Aug 2025 07:53:10 +0000 (07:53 +0000)] 
  *) mod_http2: update to version 2.0.35
     New directive `H2MaxStreamErrors` to control how much bad behaviour
     by clients is tolerated before the connection is closed.

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

3 months ago* mod_proxy_http2: add support for ProxyErrorOverride directive. PR69771
Stefan Eissing [Wed, 6 Aug 2025 14:03:00 +0000 (14:03 +0000)] 
* mod_proxy_http2: add support for ProxyErrorOverride directive. PR69771

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

3 months agoCI: Update to current OpenSSL releases.
Joe Orton [Wed, 6 Aug 2025 07:34:43 +0000 (07:34 +0000)] 
CI: Update to current OpenSSL releases.

Github: closes #546

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

3 months agoRegenerate docs.
Joe Orton [Wed, 6 Aug 2025 07:29:44 +0000 (07:29 +0000)] 
Regenerate docs.

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

3 months agoRevert r1914045, since the new -o option duplicates the -B option.
Joe Orton [Wed, 6 Aug 2025 07:28:09 +0000 (07:28 +0000)] 
Revert r1914045, since the new -o option duplicates the -B option.

Thread: https://lists.apache.org/thread/w26fk0m0r52lys1wxwn11b862vc1y631

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

3 months ago* modules/http2/h2_proxy_session.c (open_stream),
Joe Orton [Wed, 6 Aug 2025 07:11:19 +0000 (07:11 +0000)] 
* modules/http2/h2_proxy_session.c (open_stream),
  modules/proxy/proxy_util.c (ap_proxy_create_hdrbrgd): Tweak wording
  only for preserve-host-but-no-Host-header warning log message, no
  functional change.

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

3 months agofr doc rebuild.
Lucien Gentis [Mon, 21 Jul 2025 11:17:50 +0000 (11:17 +0000)] 
fr doc rebuild.

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

3 months agofr doc XML file update.
Lucien Gentis [Mon, 21 Jul 2025 11:16:47 +0000 (11:16 +0000)] 
fr doc XML file update.

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

3 months agoxform for mod_ssl
Eric Covener [Fri, 18 Jul 2025 19:50:33 +0000 (19:50 +0000)] 
xform for mod_ssl

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

3 months agomentioned dropped 'sslengine optional'
Eric Covener [Fri, 18 Jul 2025 19:47:15 +0000 (19:47 +0000)] 
mentioned dropped 'sslengine optional'

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

3 months agoImprove compatibility with older python.
Rainer Jung [Fri, 18 Jul 2025 17:07:05 +0000 (17:07 +0000)] 
Improve compatibility with older python.

According to python 3.11.0 changelog, "datetime.UTC"
was added as an alias for "datetime.timezone.utc".

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

3 months agofuture-proof by flattening expr rc to 0/1
Eric Covener [Fri, 18 Jul 2025 15:25:33 +0000 (15:25 +0000)] 
future-proof by flattening expr rc to 0/1

Submitted By: ylavic

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

3 months agorc already is set by result of expression eval
Eric Covener [Wed, 16 Jul 2025 17:33:21 +0000 (17:33 +0000)] 
rc already is set by result of expression eval

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

3 months ago * mod_http2/mod_proxy_http2: fix a bug in calculating the log2 value of
Stefan Eissing [Tue, 15 Jul 2025 06:35:04 +0000 (06:35 +0000)] 
  * mod_http2/mod_proxy_http2: fix a bug in calculating the log2 value of
    integers, used in push diaries and proxy window size calculations.
    PR69741 [Benjamin P. Kallus]

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

3 months agofr doc rebuild.
Lucien Gentis [Sat, 12 Jul 2025 13:21:13 +0000 (13:21 +0000)] 
fr doc rebuild.

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

3 months agofr doc XML file update.
Lucien Gentis [Sat, 12 Jul 2025 13:19:30 +0000 (13:19 +0000)] 
fr doc XML file update.

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

4 months agoavoid compile error with curl < 7.44.0
Eric Covener [Mon, 7 Jul 2025 15:29:13 +0000 (15:29 +0000)] 
avoid compile error with curl < 7.44.0

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

4 months agoimprove h2 header error handling
Eric Covener [Mon, 7 Jul 2025 11:56:48 +0000 (11:56 +0000)] 
improve h2 header error handling

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

4 months agoremove antiquated 'SSLEngine optional' TLS upgrade
Eric Covener [Mon, 7 Jul 2025 11:55:00 +0000 (11:55 +0000)] 
remove antiquated 'SSLEngine optional' TLS upgrade

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

4 months agotolerate missing host header in h2 proxy
Eric Covener [Mon, 7 Jul 2025 11:53:43 +0000 (11:53 +0000)] 
tolerate missing host header in h2 proxy

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

4 months agoupdate SNI validation
Eric Covener [Mon, 7 Jul 2025 11:51:57 +0000 (11:51 +0000)] 
update SNI validation

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

4 months agoescape ssl vars
Eric Covener [Mon, 7 Jul 2025 11:50:41 +0000 (11:50 +0000)] 
escape ssl vars

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

4 months agoexpand UNC checking
Eric Covener [Mon, 7 Jul 2025 11:49:48 +0000 (11:49 +0000)] 
expand UNC checking

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

4 months agoheader only
Eric Covener [Mon, 7 Jul 2025 11:48:06 +0000 (11:48 +0000)] 
header only

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

4 months agofr doc rebuild.
Lucien Gentis [Sat, 5 Jul 2025 14:01:34 +0000 (14:01 +0000)] 
fr doc rebuild.

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

4 months agofr doc XML file update.
Lucien Gentis [Sat, 5 Jul 2025 14:00:36 +0000 (14:00 +0000)] 
fr doc XML file update.

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

4 months agomod_so: Add -D DUMP_MODULE_DATA to print module data in structured
Joe Orton [Thu, 26 Jun 2025 09:21:25 +0000 (09:21 +0000)] 
mod_so: Add -D DUMP_MODULE_DATA to print module data in structured
format (TOML) including MMN information.

* modules/core/mod_so.c (print_mod_data): New function.
  (dump_loaded_modules): Use it if DUMP_MODULE_DATA is defined.

* docs/manual/programs/httpd.xml: Move -DDUMP_* docs to a new
  section, cover the above new option.

Github: closes #537

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

4 months ago* modules/ssl/ssl_private.h: Fix logic in r1926720 HAVE_OPENSSL_KEYLOG macro,
Joe Orton [Wed, 25 Jun 2025 15:16:22 +0000 (15:16 +0000)] 
* modules/ssl/ssl_private.h: Fix logic in r1926720 HAVE_OPENSSL_KEYLOG macro,
thanks to rpluem.

Reviewed by: rpluem

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

4 months ago* modules/ssl/ssl_private.h: For OpenSSL >= 3.5.0 drop $SSLKEYLOGFILE
Joe Orton [Wed, 25 Jun 2025 12:53:18 +0000 (12:53 +0000)] 
* modules/ssl/ssl_private.h: For OpenSSL >= 3.5.0 drop $SSLKEYLOGFILE
  handling inside mod_ssl where OpenSSL is built to handle that
  internally in libssl.

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

4 months agomod_ssl: Accept expired client certs with optional_no_ca mode.
Joe Orton [Wed, 25 Jun 2025 07:55:26 +0000 (07:55 +0000)] 
mod_ssl: Accept expired client certs with optional_no_ca mode.

* modules/ssl/ssl_private.h (ssl_verify_error_is_optional): Add
  X509_V_ERR_CERT_HAS_EXPIRED to the list of error exceptions
  permitted for "optional_no_ca" mode.

Submitted by: Naveen Albert <apache2 phreaknet.org>
PR: 60028
Github: closes #509

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

4 months agofr doc rebuild.
Lucien Gentis [Sat, 21 Jun 2025 13:55:48 +0000 (13:55 +0000)] 
fr doc rebuild.

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

4 months agofr doc XML file update.
Lucien Gentis [Sat, 21 Jun 2025 13:54:54 +0000 (13:54 +0000)] 
fr doc XML file update.

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

4 months agoSteal 2 lognos.
Joe Orton [Thu, 12 Jun 2025 10:06:46 +0000 (10:06 +0000)] 
Steal 2 lognos.

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

4 months agoAdd the escapehtml function to the expression API
Ruediger Pluem [Tue, 10 Jun 2025 15:31:19 +0000 (15:31 +0000)] 
Add the escapehtml function to the expression API

Add the escapehtml function to the expression API, allowing to escape HTML
strings to guard against HTML injections.

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

5 months agofr doc rebuild.
Lucien Gentis [Sat, 7 Jun 2025 12:39:55 +0000 (12:39 +0000)] 
fr doc rebuild.

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

5 months agofr doc XML files updates.
Lucien Gentis [Sat, 7 Jun 2025 12:38:51 +0000 (12:38 +0000)] 
fr doc XML files updates.

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

5 months agoAdd a change entry to give credits to the author.
Christophe Jaillet [Fri, 6 Jun 2025 20:26:38 +0000 (20:26 +0000)] 
Add a change entry to give credits to the author.

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

5 months agoAdd a change entry to give credits to the author.
Christophe Jaillet [Fri, 6 Jun 2025 20:21:30 +0000 (20:21 +0000)] 
Add a change entry to give credits to the author.

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

5 months agoFollow-up to r1922931.
Christophe Jaillet [Fri, 6 Jun 2025 20:12:16 +0000 (20:12 +0000)] 
Follow-up to r1922931.

In set_cookie_name() and set_cookie_name2(), now that the empty 'name' argument is explicitly handled, the error message in check_string() can be simplified because the cookie name can't be empty anymore when this function is called.

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

5 months agoImprove syntax highlight which is already nicer in 2.4.x
Christophe Jaillet [Fri, 6 Jun 2025 18:47:11 +0000 (18:47 +0000)] 
Improve syntax highlight which is already nicer in 2.4.x

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

5 months agoCI: Reintroduce timeout/retry handling for "svn export" specific to
Joe Orton [Fri, 6 Jun 2025 11:50:43 +0000 (11:50 +0000)] 
CI: Reintroduce timeout/retry handling for "svn export" specific to
Apache::Test handling.

Github: closes #536

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

5 months ago* modules/dav/fs/repos.c (dav_fs_remove_resource):
Joe Orton [Fri, 6 Jun 2025 10:36:00 +0000 (10:36 +0000)] 
* modules/dav/fs/repos.c (dav_fs_remove_resource):
  Return a 404 if apr_file_remove() fails with an ENOENT error,
  likely due to a race with another DELETE.

PR: 60746
Github: closes #535

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

5 months agoDocs: update openssl command for listing pubkey algorithms for 3.0.
Joe Orton [Fri, 6 Jun 2025 10:34:15 +0000 (10:34 +0000)] 
Docs: update openssl command for listing pubkey algorithms for 3.0.

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

5 months ago* Correctly handle filenames that contain spaces
Ruediger Pluem [Wed, 4 Jun 2025 09:31:05 +0000 (09:31 +0000)] 
* Correctly handle filenames that contain spaces

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

5 months agoCorrectly check return value of getline
Ruediger Pluem [Wed, 4 Jun 2025 09:16:24 +0000 (09:16 +0000)] 
Correctly check return value of getline

In case of an error (e.g. file not found or readable) getline returns -1 which
causes an endless loop. Leave the loop in such cases.

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

5 months agoEnsure that ALL fields of the ap_listen_rec structure are initialized
Ruediger Pluem [Tue, 3 Jun 2025 15:12:14 +0000 (15:12 +0000)] 
Ensure that ALL fields of the ap_listen_rec structure are initialized

alloc_listener initializes more fields in the created ap_listen_rec structure
than alloc_systemd_listener as it has more data to add to this structure.
Ensure that all fields of the ap_listen_rec structure are initialized at
least with 0 as later code using this structure depends on this.

Submitted by: jailletc36

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

5 months agorestore MDActivationDelay in the mod_md documentation
Stefan Eissing [Tue, 3 Jun 2025 07:34:32 +0000 (07:34 +0000)] 
restore MDActivationDelay in the mod_md documentation

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

5 months ago *) mod_md: update to version 2.5.2
Stefan Eissing [Fri, 30 May 2025 12:45:59 +0000 (12:45 +0000)] 
  *) mod_md: update to version 2.5.2
     - Fixed TLS-ALPN-01 challenges when multiple `MDPrivateKeys` are specified
       with EC keys before RSA ones. Fixes #377. [Stefan Eissing]
     - Fixed missing newlines in the status page output. [Andreas Groth]

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

5 months ago *) mod_http2: update to version 2.0.32
Stefan Eissing [Fri, 30 May 2025 12:20:22 +0000 (12:20 +0000)] 
  *) mod_http2: update to version 2.0.32
     The code setting the connection window size was set wrong,
     preventing `H2WindowSize` to work.

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

5 months agomod_proxy: restore reuse of ProxyRemote connections when possible.
Yann Ylavic [Thu, 22 May 2025 14:38:41 +0000 (14:38 +0000)] 
mod_proxy: restore reuse of ProxyRemote connections when possible.

Fixes a regression from 2.4.59 (r1913907).

For a reverse proxy setup with a worker (enablereuse=on) and a
forward/CONNECT ProxyRemote to reach it, an open connection/tunnel
to/through the remote proxy for the same origin server (and using the
same proxy auth) should be reusable. Avoid closing them like r1913534
did.

* modules/proxy/proxy_util.c:
  Rename the struct to remote_connect_info since it's only used for
  connecting through remote CONNECT proxies. Axe the use_http_connect
  field, always true.

* modules/proxy/proxy_util.c(ap_proxy_connection_reusable):
  Remote CONNECT (forward) proxy connections can be reused if the auth
  and origin server infos are the same, so conn->forward != NULL is not
  a condition to prevent reusability.

* modules/proxy/proxy_util.c(ap_proxy_determine_connection):
  Fix the checks around conn->forward reuse and connection cleanup if
  that's not possible.

Submitted by: jfclere, ylavic
GH: closes #531

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