]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
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

5 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

5 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

5 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

5 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

5 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

5 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 months agoTweak formatting and fix credit to Charles Smutz.
Joe Orton [Wed, 13 Nov 2024 19:27:07 +0000 (19:27 +0000)] 
Tweak formatting and fix credit to Charles Smutz.

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

8 months agoApplied patch from BUG 68130 after review
Daniel Ferradal [Tue, 12 Nov 2024 21:12:00 +0000 (21:12 +0000)] 
Applied patch from BUG 68130 after review

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

9 months agomod_http2, fix keepalive timeout on reset requests
Stefan Eissing [Thu, 7 Nov 2024 12:02:41 +0000 (12:02 +0000)] 
mod_http2, fix keepalive timeout on reset requests

Count failed requests that are RST'ed, so that the
connection enters keepalive timeout instead of the
regular timeout if the first request fails.

Add tests to verify.

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

9 months agofr doc rebuild.
Lucien Gentis [Sat, 19 Oct 2024 09:50:07 +0000 (09:50 +0000)] 
fr doc rebuild.

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

9 months agofr doc XML file update.
Lucien Gentis [Sat, 19 Oct 2024 09:48:59 +0000 (09:48 +0000)] 
fr doc XML file update.

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

9 months agoMore mod_tls docs removal.
Yann Ylavic [Fri, 18 Oct 2024 13:10:45 +0000 (13:10 +0000)] 
More mod_tls docs removal.

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

9 months agoxforms [skip ci]
Yann Ylavic [Fri, 18 Oct 2024 12:49:12 +0000 (12:49 +0000)] 
xforms [skip ci]

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

9 months agoImprove ErrorLogFormat's %{cuz}t and %{%-format}t descriptions.
Yann Ylavic [Fri, 18 Oct 2024 12:47:09 +0000 (12:47 +0000)] 
Improve ErrorLogFormat's %{cuz}t and %{%-format}t descriptions.

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

9 months agomod_ssl: Revert r1868929 on trunk (only).
Yann Ylavic [Wed, 16 Oct 2024 14:11:41 +0000 (14:11 +0000)] 
mod_ssl: Revert r1868929 on trunk (only).

We discussed in 2019 that after 2.4.x's backport r1873907 we should apply
normal/usual merging for SSLProtocol in next versions (thus trunk first).
See: https://lists.apache.org/thread/76yh7j3fwj2tsmffsqcqpv4mcfph5vqx

Make this happen finally.

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

9 months agoRevert r1921336.
Joe Orton [Wed, 16 Oct 2024 11:41:52 +0000 (11:41 +0000)] 
Revert r1921336.

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

9 months agomod_ssl: Disallow SSLOpenSSLConfCmd within vhost context since it
Joe Orton [Tue, 15 Oct 2024 14:30:19 +0000 (14:30 +0000)] 
mod_ssl: Disallow SSLOpenSSLConfCmd within vhost context since it
has global effect.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLOpenSSLConfCmd):
  Disallow use within vhost context.

PR: 69397

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

9 months agoCI: Use the image version in the cache keys. This is likely a simpler
Joe Orton [Mon, 14 Oct 2024 16:09:50 +0000 (16:09 +0000)] 
CI: Use the image version in the cache keys. This is likely a simpler
and more robust fix for the issues with Perl XS builds being cached.
Root cause was likely "ubuntu-latest" changing from 22.04 to 24.04.
Cache keys will now change when that happens again, preventing reuse
of cached builds across OS versions.

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

9 months agoCI: Further fixes for ubuntu-latest image updates on GitHub Actions.
Joe Orton [Mon, 14 Oct 2024 15:18:05 +0000 (15:18 +0000)] 
CI: Further fixes for ubuntu-latest image updates on GitHub Actions.

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

9 months agoCI: Fix borked test for perl -V in r1921308.
Joe Orton [Mon, 14 Oct 2024 14:10:19 +0000 (14:10 +0000)] 
CI: Fix borked test for perl -V in r1921308.

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

9 months agoCI: Second attempt to fix stale XS cache issue.
Joe Orton [Mon, 14 Oct 2024 14:08:21 +0000 (14:08 +0000)] 
CI: Second attempt to fix stale XS cache issue.

Cache the "perl -V" output and flush the cache if it changes.

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

9 months agoCI: Flush the CPAN cache if /usr/bin/perl has been updated since
Joe Orton [Mon, 14 Oct 2024 13:53:01 +0000 (13:53 +0000)] 
CI: Flush the CPAN cache if /usr/bin/perl has been updated since
the cache was built. Possible fix for 2.4.x failure seen here:

https://github.com/apache/httpd/actions/runs/11322484507/job/31483266212

SSLeay.c: loadable library and perl binaries are mismatched (got first handshake key 0xeb00080, needed 0xf380080)

perldiag(1) describes this as a mismatch between libraries and binaries,
likely solved by reinstalling XS modules:

https://github.com/Perl/perl5/blob/77b78882c76e7461ccc4dcf2eb3afb9644836a72/pod/perldiag.pod#L3617

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

9 months agoAdd changes-entries/ file missed from r1921305.
Joe Orton [Mon, 14 Oct 2024 13:38:04 +0000 (13:38 +0000)] 
Add changes-entries/ file missed from r1921305.

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

9 months agomod_log_config: Fix config merging for the "LogFormat" directive
Joe Orton [Mon, 14 Oct 2024 13:32:37 +0000 (13:32 +0000)] 
mod_log_config: Fix config merging for the "LogFormat" directive

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

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

9 months agofr doc rebuild.
Lucien Gentis [Sat, 12 Oct 2024 13:38:17 +0000 (13:38 +0000)] 
fr doc rebuild.

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

9 months agofr doc XML files updates.
Lucien Gentis [Sat, 12 Oct 2024 13:36:33 +0000 (13:36 +0000)] 
fr doc XML files updates.

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

9 months agomod_lua: Make r.ap_auth_type writable
Joe Orton [Fri, 11 Oct 2024 16:20:44 +0000 (16:20 +0000)] 
mod_lua: Make r.ap_auth_type writable

This completes the option of setting the remote user by the authentication
mechanism which actually verified the user.

One possible usecase is that a proxied (upstream) server performs the
authentication, but the access log of HTTPd does not contain this information.
The upstream server can pass this kind of information back to HTTPd and both
servers will have consistent access logs.

Submitted by: Michael Osipov <michaelo apache.org>
PR: 62497
Github: closes #67

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

9 months agoErrorLogFormat %{c}t is actually what ISO 8601 calls "extended" format.
Yann Ylavic [Fri, 11 Oct 2024 15:58:03 +0000 (15:58 +0000)] 
ErrorLogFormat %{c}t is actually what ISO 8601 calls "extended" format.

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

9 months agoxforms [skip ci]
Yann Ylavic [Fri, 11 Oct 2024 13:14:00 +0000 (13:14 +0000)] 
xforms [skip ci]

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

9 months agoDocument the %{cuz}t and %{<strftime-format>}t time formats for ErrorLogFormat.
Yann Ylavic [Fri, 11 Oct 2024 13:03:42 +0000 (13:03 +0000)] 
Document the %{cuz}t and %{<strftime-format>}t time formats for ErrorLogFormat.

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

9 months agoab: Map -c0 to -c<number of workers>. PR 69383
Yann Ylavic [Fri, 11 Oct 2024 11:43:36 +0000 (11:43 +0000)] 
ab: Map -c0 to -c<number of workers>. PR 69383

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

9 months ago* modules/http/http_filters.c (parse_chunk_size):
Joe Orton [Fri, 11 Oct 2024 07:32:05 +0000 (07:32 +0000)] 
* modules/http/http_filters.c (parse_chunk_size):
  Update comment after some investigation of a Squid interoperability
  issue handling BWS after chunk-size, which httpd allows although
  it is not permitted by RFC 7230 or RFC 9112. [skip ci]

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

9 months agomod_proxy_fggi: Follow up to r1919547: Accurate dirwalk for proxy-fcgi-pathinfo=full
Yann Ylavic [Thu, 10 Oct 2024 15:42:49 +0000 (15:42 +0000)] 
mod_proxy_fggi: Follow up to r1919547: Accurate dirwalk for proxy-fcgi-pathinfo=full

Use the proxied uri-path, and try to resolve the script's path first without
then with the DocumentRoot prefix.

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

9 months agomod_proxy_fgci: Follow up to r1919628: Simplify.
Yann Ylavic [Thu, 10 Oct 2024 15:36:48 +0000 (15:36 +0000)] 
mod_proxy_fgci: Follow up to r1919628: Simplify.

Variable from_handler is used once so axe it.

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

10 months ago* modules/ssl/ssl_engine_pphrase.c (modssl_load_keypair_engine):
Joe Orton [Tue, 1 Oct 2024 16:26:17 +0000 (16:26 +0000)] 
* modules/ssl/ssl_engine_pphrase.c (modssl_load_keypair_engine):
  Downgrade non-fatal errors to APLOG_NOTICE from APLOG_EMERG.

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

10 months agomod_ssl: Add SSLClientHelloVars directive which exposes various
Joe Orton [Tue, 1 Oct 2024 16:09:11 +0000 (16:09 +0000)] 
mod_ssl: Add SSLClientHelloVars directive which exposes various
ClientHello properties in new SSL_CLIENTHELLO_* variables.

* modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup_vars): Add
  SSL_CLIENTHELLO_* vars.
  (copy_clienthello_vars): New function.
  (ssl_callback_ClientHello): Call it when needed.

* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_clienthello): New
  function.
  (ssl_var_lookup_ssl): Call it for SSL_CLIENTHELLO_*.

* modules/ssl/ssl_private.h (modssl_clienthello_vars): Add type.
  (SSLConnRec): Add clienthello_vars pointer.

* modules/ssl/ssl_engine_config.c, modules/ssl/mod_ssl.c: Add handling
  of new SSLClientHelloVars directive.

Submitted by: Charles Smutz <csmutz gmail.com>
Github: closes #483

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

10 months ago* Take care for the case where nkey is NULL
Ruediger Pluem [Tue, 1 Oct 2024 12:11:09 +0000 (12:11 +0000)] 
* Take care for the case where nkey is NULL

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

10 months ago *) mod_http2:
Stefan Eissing [Tue, 1 Oct 2024 10:36:42 +0000 (10:36 +0000)] 
  *) mod_http2:
     h2_mplx: fix debug check when stream was not found

     A "this should never happen" check logic was wrong when looking
     *why* a stream that SHOULD be there was not. The loop did not
     properly match streams in "purge" state.

     The log warning issued has never been reported, so this code
     seems to never actually do anything. Still fix the logic to
     do what it is intended to.

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

10 months ago* Fix typo [skip ci]
Ruediger Pluem [Fri, 27 Sep 2024 15:25:06 +0000 (15:25 +0000)] 
* Fix typo [skip ci]

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

10 months agofr doc xml file reviewed and corrected.
Lucien Gentis [Wed, 25 Sep 2024 12:51:56 +0000 (12:51 +0000)] 
fr doc xml file reviewed and corrected.

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

10 months agofr doc xml file reviewed and corrected.
Lucien Gentis [Tue, 24 Sep 2024 10:59:26 +0000 (10:59 +0000)] 
fr doc xml file reviewed and corrected.

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

10 months agofr doc rebuild.
Lucien Gentis [Mon, 23 Sep 2024 12:22:29 +0000 (12:22 +0000)] 
fr doc rebuild.

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

10 months agofr doc xml file reviewed ans corrected.
Lucien Gentis [Mon, 23 Sep 2024 12:19:38 +0000 (12:19 +0000)] 
fr doc xml file reviewed ans corrected.

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

10 months agoallmodules.xml.fr did not have to be modified, reverting
Lucien Gentis [Sat, 21 Sep 2024 13:28:49 +0000 (13:28 +0000)] 
allmodules.xml.fr did not have to be modified, reverting

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

10 months agofr doc XML file update.
Lucien Gentis [Sat, 21 Sep 2024 13:19:37 +0000 (13:19 +0000)] 
fr doc XML file update.

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

10 months agomod_md pytest: fix run on a clean test/gen to create
Stefan Eissing [Tue, 17 Sep 2024 12:05:22 +0000 (12:05 +0000)] 
mod_md pytest: fix run on a clean test/gen to create
all needed directories.

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

10 months ago *) mod_md: update to version 2.4.28
Stefan Eissing [Tue, 17 Sep 2024 11:38:19 +0000 (11:38 +0000)] 
  *) mod_md: update to version 2.4.28
     - When the server starts, it looks for new, staged certificates to
       activate. If the staged set of files in 'md/staging/<domain>' is messed
       up, this could prevent further renewals to happen. Now, when the staging
       set is present, but could not be activated due to an error, purge the
       whole directory. [icing]
     - Fix certificate retrieval on ACME renewal to not require a 'Location:'
       header returned by the ACME CA. This was the way it was done in ACME
       before it became an IETF standard. Let's Encrypt still supports this,
       but other CAs do not. [icing]
     - Restore compatibility with OpenSSL < 1.1. [ylavic]

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

10 months agoremoved experimental mod_tls. source, documenation and test cases
Stefan Eissing [Tue, 17 Sep 2024 11:06:04 +0000 (11:06 +0000)] 
removed experimental mod_tls. source, documenation and test cases

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

10 months agosome text formatting cleanup
Stefan Eissing [Tue, 17 Sep 2024 10:39:29 +0000 (10:39 +0000)] 
some text formatting cleanup

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

10 months agoupdate changes
Stefan Eissing [Tue, 17 Sep 2024 10:37:57 +0000 (10:37 +0000)] 
update changes

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

10 months agofr doc rebuild.
Lucien Gentis [Sat, 14 Sep 2024 11:52:31 +0000 (11:52 +0000)] 
fr doc rebuild.

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

10 months agofr doc XML files updates.
Lucien Gentis [Sat, 14 Sep 2024 11:51:30 +0000 (11:51 +0000)] 
fr doc XML files updates.

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

10 months agomod_ssl: Fix regression in r1914365 preventing pkcs11: key/cert lookup
Joe Orton [Thu, 12 Sep 2024 16:04:39 +0000 (16:04 +0000)] 
mod_ssl: Fix regression in r1914365 preventing pkcs11: key/cert lookup
via the ENGINE API without SSLCryptoDevice configured.

* modules/ssl/ssl_engine_pphrase.c
  (modssl_load_keypair_engine): Return APR_ENOTIMPL if the ENGINE
  could not be loaded for the key.
  (modssl_load_engine_keypair): Always try loading via ENGINE
  (as prior to r1914365) but fall back to the STORE API for
  the new APR_ENOTIMPL case.

Github: closes #480

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

10 months agoAdd jxl mime type
Joe Orton [Thu, 12 Sep 2024 08:38:39 +0000 (08:38 +0000)] 
Add jxl mime type

Submitted by: printfn <printfn users.noreply.github.com>
Github: closes #478

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

10 months ago* modules/core/mod_macro.c (process_content): Return error if there's
Joe Orton [Thu, 12 Sep 2024 08:36:55 +0000 (08:36 +0000)] 
* modules/core/mod_macro.c (process_content): Return error if there's
  enough not space to store the macro. Replaced MAX_STRING_LEN by
  sizeof(line).

PR: 69258
Submitted by: Marc Stern <marc.stern approach-cyber.com>
Github: closes #479

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

10 months agoAdd Multipath TCP (MPTCP) support (Proxy)
Joe Orton [Thu, 12 Sep 2024 07:59:22 +0000 (07:59 +0000)] 
Add Multipath TCP (MPTCP) support (Proxy)

Multipath TCP (MPTCP), standardized in RFC8684 [1],
is a TCP extension that enables a TCP connection to
use different paths.

Multipath TCP has been used for several use cases.
On smartphones, MPTCP enables seamless handovers between
cellular and Wi-Fi networks while preserving established
connections. This use-case is what pushed Apple to use
MPTCP since 2013 in multiple applications [2]. On dual-stack
hosts, Multipath TCP enables the TCP connection to
automatically use the best performing path, either IPv4
or IPv6. If one path fails, MPTCP automatically uses
the other path.

To benefit from MPTCP, both the client and the server
have to support it. Multipath TCP is a backward-compatible
TCP extension that is enabled by default on recent
Linux distributions (Debian, Ubuntu, Redhat, ...). Multipath
TCP is included in the Linux kernel since version 5.6 [3].
To use it on Linux, an application must explicitly enable
it when creating the socket. No need to change anything
else in the application.

Adding the possibility to create MPTCP sockets would thus
be a really fine addition to httpd, by allowing clients
to make use of their different interfaces.

This patch introduces the possibilty to connect to backend
servers using MPTCP. Note however that these changes are
only available on Linux, as IPPROTO_MPTCP is Linux specific
for the time being.

For proxies, we can connect using MPTCP by passing the
\"multipathtcp\" parameter:

ProxyPass \"/example\" \"http://backend.example.com\" multipathtcp=On

We then store this information in the worker and create sockets
appropriately according to this value.

Link: https://www.rfc-editor.org/rfc/rfc8684.html
Link: https://www.tessares.net/apples-mptcp-story-so-far/
Link: https://www.mptcp.dev
Add Multipath TCP (MPTCP) support (Core)

Multipath TCP (MPTCP), standardized in RFC8684 [1],
is a TCP extension that enables a TCP connection to
use different paths.

Multipath TCP has been used for several use cases.
On smartphones, MPTCP enables seamless handovers between
cellular and Wi-Fi networks while preserving established
connections. This use-case is what pushed Apple to use
MPTCP since 2013 in multiple applications [2]. On dual-stack
hosts, Multipath TCP enables the TCP connection to
automatically use the best performing path, either IPv4
or IPv6. If one path fails, MPTCP automatically uses
the other path.

To benefit from MPTCP, both the client and the server
have to support it. Multipath TCP is a backward-compatible
TCP extension that is enabled by default on recent
Linux distributions (Debian, Ubuntu, Redhat, ...). Multipath
TCP is included in the Linux kernel since version 5.6 [3].
To use it on Linux, an application must explicitly enable
it when creating the socket. No need to change anything
else in the application.

Adding the possibility to create MPTCP sockets would thus
be a really fine addition to httpd, by allowing clients
to make use of their different interfaces.

This patch introduces the possibility to listen with MPTCP
sockets. Note however that these changes are only available
on Linux, as IPPROTO_MPTCP is Linux specific for the time being.

To do so, we extended the Listen directive to include
a \"multipathtcp\" option, allowing to create MPTCP sockets
instead of regular TCP ones:

Listen 80 options=multipathtcp

We then store this information in flags for the listen directive
and create sockets appropriately according to this value.

Link: https://www.rfc-editor.org/rfc/rfc8684.html
Link: https://www.tessares.net/apples-mptcp-story-so-far/
Link: https://www.mptcp.dev
Submitted by: Aperence <anthony.doeraene hotmail.com>
Github: closes #476

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