]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
21 hours agoMake the value set for the socket option TCP_DEFER_ACCEPT configurable trunk trunk
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

21 hours 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

24 hours 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

38 hours 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

38 hours 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

3 days 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

3 days 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

3 days 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

4 days 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

4 days 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

5 days 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

6 days 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

13 days 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

2 weeks 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

2 weeks 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

2 weeks 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

2 weeks 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

4 weeks 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

4 weeks 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

4 weeks 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

4 weeks 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

4 weeks 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

4 weeks 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

4 weeks 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

5 weeks 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

5 weeks 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

5 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

3 months agoCI: Bump versions tested to APR 1.7.6, OpenSSL 3.5.0.
Joe Orton [Fri, 16 May 2025 15:28:31 +0000 (15:28 +0000)] 
CI: Bump versions tested to APR 1.7.6, OpenSSL 3.5.0.

Github: closes #530

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

3 months ago* modules/dav/fs/repos.c (dav_fs_method_precondition):
Joe Orton [Fri, 2 May 2025 15:47:09 +0000 (15:47 +0000)] 
* modules/dav/fs/repos.c (dav_fs_method_precondition):
  Fix crashes when mod_dav_fs is not configured.

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

4 months ago* Temporarily add back the query string to the URL as it might contain the
Ruediger Pluem [Wed, 16 Apr 2025 11:29:25 +0000 (11:29 +0000)] 
* Temporarily add back the query string to the URL as it might contain the
  routing information for sticky sessions.

PR: 69443

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

4 months agoCI: Use the git commit hash to determine the revision of APR/APR-util
Joe Orton [Wed, 9 Apr 2025 10:17:24 +0000 (10:17 +0000)] 
CI: Use the git commit hash to determine the revision of APR/APR-util
from the github repos, and build exactly that, rather than relying on SVN:
 - works if apr/apr-util moves to a r/w git in the future
 - removes a race for branches where the git revision tested
 could be different to the SVN revision retrieved before

Github: closes #528

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

4 months agomod_ssl: Check the SSLProtocol directive when loading the configuration
Joe Orton [Wed, 9 Apr 2025 08:01:24 +0000 (08:01 +0000)] 
mod_ssl: Check the SSLProtocol directive when loading the configuration

Previously, the SSLProtocol directive was checked at runtime. Apache quit if
the directive contained an invalid combination of protocols, and logged the
message "AH02231: No SSL protocols available [hint: SSLProtocol]".

With this change, most invalid SSLProtocol directives are detected when
checking the configuration, e.g. with \"httpd -t -f httpd.conf\".

Examples of invalid protocol combinations that are caught:
* SSLProtocol "-TLSv1"
* SSLProtocol "-all"
* SSLProtocol "TLSv1.2 -TLSv1.2"

Submitted by: Michael Kaufmann <mail michael-kaufmann.ch>
Github: closes #523

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

4 months agomod_asis: Fix the log level of the message AH01236
Joe Orton [Wed, 9 Apr 2025 07:43:49 +0000 (07:43 +0000)] 
mod_asis: Fix the log level of the message AH01236

Change the log level from ERROR to DEBUG.

The message \"mod_asis: ap_pass_brigade failed for file ...\" was logged with
the level ERROR. This log level is inappropriate here, because a client can
trigger this log message by aborting the request.

Most other modules don't log at all or use the log level DEBUG when
ap_pass_brigade() fails.

Submitted by: Michael Kaufmann <mail michael-kaufmann.ch>
Github: closes #527

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

4 months agoCI: Update to test against OpenSSL 3.4 and 3.5.0-beta1
Joe Orton [Mon, 7 Apr 2025 14:25:59 +0000 (14:25 +0000)] 
CI: Update to test against OpenSSL 3.4 and 3.5.0-beta1

Github: closes #525

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

4 months agofr doc rebuild.
Lucien Gentis [Sat, 5 Apr 2025 13:39:02 +0000 (13:39 +0000)] 
fr doc rebuild.

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

4 months agofr doc XML files updates.
Lucien Gentis [Sat, 5 Apr 2025 13:37:52 +0000 (13:37 +0000)] 
fr doc XML files updates.

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

4 months agoUpdate to use rfc-editor.org URLs throughout.
Joe Orton [Fri, 4 Apr 2025 16:18:31 +0000 (16:18 +0000)] 
Update to use rfc-editor.org URLs throughout.

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

4 months agoUpdate mod_ssl docs to reference current & working openssl.org
Joe Orton [Fri, 4 Apr 2025 16:08:18 +0000 (16:08 +0000)] 
Update mod_ssl docs to reference current & working openssl.org
URIs throughout.

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

4 months agomod_ssl: Remove warning over potential uninitialised value
Graham Leggett [Thu, 3 Apr 2025 14:36:16 +0000 (14:36 +0000)] 
mod_ssl: Remove warning over potential uninitialised value
for ssl protocol prior to protocol selection.

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

4 months ago * mod_proxy_http2: revert r1912193 for detecting broken backend connections
Stefan Eissing [Mon, 24 Mar 2025 12:48:09 +0000 (12:48 +0000)] 
  * mod_proxy_http2: revert r1912193 for detecting broken backend connections
    as this interferes with backend selection who a node is unresponsive.
    PR69624.

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

5 months agoFix typo in code comments; dependancies -> dependencies
Joe Orton [Tue, 18 Mar 2025 09:54:15 +0000 (09:54 +0000)] 
Fix typo in code comments; dependancies -> dependencies

Submitted by: John Bampton <jbampton gmail.com>
Github: closes #520

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

5 months ago *) mod_http2: Fix handling of 304 responses from mod_cache. PR 69580.
Stefan Eissing [Mon, 10 Mar 2025 10:09:43 +0000 (10:09 +0000)] 
  *) mod_http2: Fix handling of 304 responses from mod_cache. PR 69580.

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

5 months agofr doc rebuild.
Lucien Gentis [Sat, 8 Mar 2025 13:00:24 +0000 (13:00 +0000)] 
fr doc rebuild.

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

5 months agofr doc XML file update.
Lucien Gentis [Sat, 8 Mar 2025 12:59:25 +0000 (12:59 +0000)] 
fr doc XML file update.

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

5 months agoassign log tag
Stefan Eissing [Thu, 6 Mar 2025 08:35:52 +0000 (08:35 +0000)] 
assign log tag

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

5 months agosteal a number
Stefan Eissing [Thu, 6 Mar 2025 08:35:37 +0000 (08:35 +0000)] 
steal a number

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

5 months agofix module name in change entry
Stefan Eissing [Tue, 4 Mar 2025 09:09:37 +0000 (09:09 +0000)] 
fix module name in change entry

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

5 months ago *) mod_md: update to version 2.0.30
Stefan Eissing [Mon, 3 Mar 2025 12:32:31 +0000 (12:32 +0000)] 
  *) mod_md: update to version 2.0.30
     - Fixed bug in handling over long response headers. When the 64 KB limit
       of nghttp2 was exceeded, the request was not reset and the client was
       left hanging, waiting for it. Now the stream is reset.
     - Added new directive `H2MaxHeaderBlockLen` to set the limit on response
       header sizes.
     - Fixed handling of Timeout vs. KeepAliveTimeout when first request on a
       connection was reset.

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

5 months agomod_lua: Fix memory handling in output filters.
Joe Orton [Fri, 28 Feb 2025 08:24:10 +0000 (08:24 +0000)] 
mod_lua: Fix memory handling in output filters.

* modules/lua/mod_lua.c (lua_output_filter_handle): Fix brigade
  iteration to use constant memory.

Submitted by: G.Grandes <guillermo.grandes gmail.com>
PR: 69590
Github: closes #517

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

5 months agofr doc rebuild.
Lucien Gentis [Sat, 22 Feb 2025 12:14:04 +0000 (12:14 +0000)] 
fr doc rebuild.

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

5 months agofr doc XML files update.
Lucien Gentis [Sat, 22 Feb 2025 12:13:00 +0000 (12:13 +0000)] 
fr doc XML files update.

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

6 months agodocs: Note that sendfile() is not used for SSL/TLS or with
Joe Orton [Tue, 18 Feb 2025 17:18:48 +0000 (17:18 +0000)] 
docs: Note that sendfile() is not used for SSL/TLS or with
some output filters regardless of the EnableSendfile setting.

PR: 69414

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

6 months agomod_dav: Fix error handling for dav_fs_dir_file_name():
Joe Orton [Fri, 14 Feb 2025 16:08:23 +0000 (16:08 +0000)] 
mod_dav: Fix error handling for dav_fs_dir_file_name():

dav_fs_dir_file_name() will not set *fname_p to NULL on failure,
and all callers of dav_fs_dir_file_name() does not check the
return value of dav_fs_dir_file_name(), which could lead to an
undefined behavior against fname_p.

Fix this by adding return value check of dav_fs_dir_file_name()

Submitted by: Zhou Qingyang <zhou1615 umn.edu>
Github: closes #309

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

6 months agoAdd git commands for apr checkout to INSTALL
Joe Orton [Fri, 14 Feb 2025 16:03:33 +0000 (16:03 +0000)] 
Add git commands for apr checkout to INSTALL

Submitted by: Vladimír Chlup <vchlup redhat.com>
Github: closes #437

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

6 months agoFix variable declaration warning in scoreboard.c
Joe Orton [Fri, 14 Feb 2025 09:23:28 +0000 (09:23 +0000)] 
Fix variable declaration warning in scoreboard.c

Submitted by: Vladimír Chlup <vchlup redhat.com>
Github: closes #516

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

6 months ago *) scoreboard/mod_http2: record durations of HTTP/2 requests.
Stefan Eissing [Wed, 12 Feb 2025 09:43:40 +0000 (09:43 +0000)] 
  *) scoreboard/mod_http2: record durations of HTTP/2 requests.
     PR 69579 [Pierre Brochard <pierre.brochard.1982@m4x.org>]

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

6 months ago* Allow to unset cookies via negative lifetime values
Ruediger Pluem [Tue, 11 Feb 2025 10:29:03 +0000 (10:29 +0000)] 
* Allow to unset cookies via negative lifetime values

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

6 months agofr doc rebuild.
Lucien Gentis [Sat, 8 Feb 2025 16:25:08 +0000 (16:25 +0000)] 
fr doc rebuild.

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

6 months agofr doc XML file update.
Lucien Gentis [Sat, 8 Feb 2025 16:22:30 +0000 (16:22 +0000)] 
fr doc XML file update.

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

6 months agoAdd API exposing the DavBasePath setting for use by DAV repository
Joe Orton [Fri, 7 Feb 2025 11:09:25 +0000 (11:09 +0000)] 
Add API exposing the DavBasePath setting for use by DAV repository
backend modules (mod_dav_svn needs this for POST method handling).

* modules/dav/main/mod_dav.c (dav_get_base_path): New function.

* include/ap_mmn.h: Bump MMN minor.

Github: closes #513

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

6 months ago *) mod_md: update to v2.5.1
Stefan Eissing [Wed, 5 Feb 2025 12:30:07 +0000 (12:30 +0000)] 
 *) mod_md: update to v2.5.1

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

6 months agoCI: Try to cope with CentOS Stream containers being out-of-sync with
Joe Orton [Fri, 31 Jan 2025 14:28:57 +0000 (14:28 +0000)] 
CI: Try to cope with CentOS Stream containers being out-of-sync with
the yum repos when building the slapd container. [skip ci]

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

6 months agoCI: Retry arm64 workflow with the correct label this time.
Joe Orton [Tue, 21 Jan 2025 09:26:02 +0000 (09:26 +0000)] 
CI: Retry arm64 workflow with the correct label this time.

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

6 months agoDisable the arm64 job, it appears there are not enough runners. [skip ci]
Joe Orton [Tue, 21 Jan 2025 08:33:57 +0000 (08:33 +0000)] 
Disable the arm64 job, it appears there are not enough runners. [skip ci]

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

6 months agoCI: Add 64-bit ARM job to Linux workflow. See:
Joe Orton [Mon, 20 Jan 2025 17:01:17 +0000 (17:01 +0000)] 
CI: Add 64-bit ARM job to Linux workflow. See:
https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/

Github: closes #511

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

7 months agoAdd a Changes entry related to r1917017
Christophe Jaillet [Sun, 19 Jan 2025 10:59:10 +0000 (10:59 +0000)] 
Add a Changes entry related to r1917017

While at it, fix a small style issue (tab vs spaces)

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