]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
5 hours agoavoid compile error with curl < 7.44.0 trunk trunk
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

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

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

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

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

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

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

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

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

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

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

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

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

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

2 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

2 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2 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

2 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

2 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

2 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

2 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

5 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

5 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

5 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

5 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

5 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

5 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

5 months ago *) mod_http2: make test_h2_200_17+18 work reliably with
Stefan Eissing [Fri, 17 Jan 2025 16:12:28 +0000 (16:12 +0000)] 
 *) mod_http2: make test_h2_200_17+18 work reliably with
    older and newer curl versions. Only a change in logging,
    no function module change.
    Newer curl send a GOAWAY on connection shutdown which
    triggers another code path that the test did not expect.
    Thanks to Rainer Jung for tracking this down.

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

5 months ago *) mod_md: update to version 2.4.31
Stefan Eissing [Wed, 15 Jan 2025 12:48:52 +0000 (12:48 +0000)] 
  *) mod_md: update to version 2.4.31
     - Improved error reporting when waiting for ACME server to verify domains
       or finalizing the order fails, e.g. times out.
     - Increasing the timeouts to wait for ACME server to verify domain names
       and issue the certificate from 30 seconds to 5 minutes.
     - Change a log level from error to debug when Stapling is enabled but a
       certificate carries no OCSP responder URL.

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

5 months agoFix typo in charset.conv
Joe Orton [Tue, 14 Jan 2025 15:54:20 +0000 (15:54 +0000)] 
Fix typo in charset.conv

\"Croation\" is a misspelling. It should be \"Croatian\".

Submitted by: Michael Hospedales <hospedales me.com>
Github: closes #508

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

5 months ago* Do not add a space before '|' when setting the value for stickysession in the
Ruediger Pluem [Mon, 13 Jan 2025 13:37:40 +0000 (13:37 +0000)] 
* Do not add a space before '|' when setting the value for stickysession in the
  balancer manager as this breaks the stickysession configuration once a new
  configuration is submitted by the balancer manager.

PR: 69510
Submitted by: Yutaka Tokunou <tokunou.yutaka@fujitsu.com>
Reviewed by: rpluem

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

5 months agofr doc rebuild with new year.
Lucien Gentis [Sat, 11 Jan 2025 14:58:30 +0000 (14:58 +0000)] 
fr doc rebuild with new year.

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

5 months agofr doc XML file update.
Lucien Gentis [Sat, 11 Jan 2025 14:49:55 +0000 (14:49 +0000)] 
fr doc XML file update.

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

5 months agoUse <highlight language="config"> instead of <example> in order to have syntax highli...
Christophe Jaillet [Wed, 8 Jan 2025 21:13:45 +0000 (21:13 +0000)] 
Use <highlight language="config"> instead of <example> in order to have syntax highlight work correctly.

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

5 months ago* modules/generators/mod_autoindex.c (dsortf): Ensure the function
Joe Orton [Wed, 8 Jan 2025 18:00:29 +0000 (18:00 +0000)] 
* modules/generators/mod_autoindex.c (dsortf): Ensure the function
  is transitive to avoid undefined behaviour, per:
  https://www.qualys.com/2024/01/30/qsort.txt

Submitted by: Kuan-Wei Chiu <visitorckw gmail.com>
Github: closes #500

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

5 months agomod_session_dbd: set_cookie_name: ensure correct format
Eric Covener [Mon, 6 Jan 2025 19:28:35 +0000 (19:28 +0000)] 
mod_session_dbd: set_cookie_name: ensure correct format

If args is an empty string, apr_strtok will return NULL and *last will never get set which results in a SIGSEGV in apr_isspace check

Submitted by: Thomas Meyer <thomas@m3y3r.de>

Github: closes #503

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

5 months agofix value inconsistency in LimitXMLRequestBody example
Eric Covener [Mon, 6 Jan 2025 19:15:29 +0000 (19:15 +0000)] 
fix value inconsistency in LimitXMLRequestBody example

value of 1 MiB = 1048576

Submitted by: Chenjp <ch_jp@msn.com>

Github: closes #506

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

6 months agoHappy New Year 2025
Rainer Jung [Wed, 1 Jan 2025 11:12:22 +0000 (11:12 +0000)] 
Happy New Year 2025

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

6 months ago *) mod_md: change log level from error to debug when MDStapling
Stefan Eissing [Wed, 11 Dec 2024 12:43:34 +0000 (12:43 +0000)] 
  *) mod_md: change log level from error to debug when MDStapling
     is enabled but a certificate carries no OCSP url.

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

6 months agoCI: Switch down to GCC 12, the ubuntu-latest image is not consistently
Joe Orton [Tue, 10 Dec 2024 17:20:36 +0000 (17:20 +0000)] 
CI: Switch down to GCC 12, the ubuntu-latest image is not consistently
an Ubuntu 24.04 environment yet, this version should be available in
both the -22.04 and -24.04 images.

Github: closes #497

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

6 months ago* Improve comment to make the main thread more clear
Ruediger Pluem [Tue, 10 Dec 2024 16:47:51 +0000 (16:47 +0000)] 
* Improve comment to make the main thread more clear

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

6 months agofr doc rebuild.
Lucien Gentis [Sat, 7 Dec 2024 14:41:45 +0000 (14:41 +0000)] 
fr doc rebuild.

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

6 months agofr doc XML file update.
Lucien Gentis [Sat, 7 Dec 2024 14:40:28 +0000 (14:40 +0000)] 
fr doc XML file update.

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

7 months ago *) mod_md: update to version 2.4.29
Stefan Eissing [Tue, 3 Dec 2024 09:47:26 +0000 (09:47 +0000)] 
  *) mod_md: update to version 2.4.29
     - Fixed HTTP-01 challenges to not carry a final newline, as some ACME
       server fail to ignore it. [Michael Kaufmann (@mkauf)]
     - Fixed missing label+newline in server-status plain text output when
       MDStapling is enabled.

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

7 months agomod_md test_702_42, make sure that log errors/warning from previous
Stefan Eissing [Tue, 3 Dec 2024 09:46:38 +0000 (09:46 +0000)] 
mod_md test_702_42, make sure that log errors/warning from previous
test are not counted.

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

7 months agoDon't use AuthFormLoginRequiredLocation in inline
Eric Covener [Sun, 1 Dec 2024 14:16:42 +0000 (14:16 +0000)] 
Don't use AuthFormLoginRequiredLocation in inline

Intro to inline says:

If a non-authenticated user attempts to access a page protected by
mod_auth_form that isn't configured with a AuthFormLoginRequiredLocation
directive, a HTTP_UNAUTHORIZED status code is returned to the browser
indicating to the user that they are not authorized to view the page.

The entire point seems to be to keep the URL the same by using an internal redirect
via ErrorDocument, and AuthFormLoginRequiredLocation conflicts with it.

Submitted By: Rishikeshan Lavakumar/Sulochana <oss AT @rishikeshan.com>

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

7 months agofr doc rebuild.
Lucien Gentis [Sat, 30 Nov 2024 13:03:32 +0000 (13:03 +0000)] 
fr doc rebuild.

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

7 months agofr doc XML file update.
Lucien Gentis [Sat, 30 Nov 2024 13:02:26 +0000 (13:02 +0000)] 
fr doc XML file update.

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

7 months agoPR65095: elaborate on "default port" in ...
Eric Covener [Wed, 27 Nov 2024 15:37:49 +0000 (15:37 +0000)] 
PR65095: elaborate on "default port" in ...

UseCanonicalPhysicalPort

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

7 months ago* Use iobuffersize set on worker level for the IO buffer size.
Ruediger Pluem [Tue, 26 Nov 2024 13:01:08 +0000 (13:01 +0000)] 
* Use iobuffersize set on worker level for the IO buffer size.

PR: 69402
Submitted by: Jari Ahonen <jah@progress.com>
Reviewed by: rpluem

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

7 months agoMake sure the Additional error is displayed.
Jean-Frederic Clere [Mon, 25 Nov 2024 13:20:47 +0000 (13:20 +0000)] 
Make sure the Additional error is displayed.

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

7 months agorollback unrelated fix to my previous commit, sorry.
Jean-Frederic Clere [Wed, 20 Nov 2024 14:36:43 +0000 (14:36 +0000)] 
rollback unrelated fix to my previous commit, sorry.

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

7 months agoMerge PR#419: make sure the right method is displayed.
Jean-Frederic Clere [Wed, 20 Nov 2024 13:11:11 +0000 (13:11 +0000)] 
Merge PR#419: make sure the right method is displayed.

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

7 months ago* modules/aaa/mod_authnz_ldap.c (create_authnz_ldap_dir_config): Fix allocation
Joe Orton [Wed, 20 Nov 2024 10:23:03 +0000 (10:23 +0000)] 
* modules/aaa/mod_authnz_ldap.c (create_authnz_ldap_dir_config): Fix allocation
  of sgAttributes, found by gcc -fanalyzer:

modules/aaa/mod_authnz_ldap.c: scope_hint: In function 'create_authnz_ldap_dir_config'
modules/aaa/mod_authnz_ldap.c:356:23: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size

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