]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
25 hours agoCI: Bump OpenSSL versions for new releases. trunk trunk
Joe Orton [Thu, 29 Jan 2026 11:02:07 +0000 (11:02 +0000)] 
CI: Bump OpenSSL versions for new releases.

Github: closes #600

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

6 days agofr doc rebuild.
Lucien Gentis [Sat, 24 Jan 2026 12:31:31 +0000 (12:31 +0000)] 
fr doc rebuild.

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

6 days agofr doc XML file update.
Lucien Gentis [Sat, 24 Jan 2026 12:30:18 +0000 (12:30 +0000)] 
fr doc XML file update.

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

9 days ago* server/log.c (log_ctime): Fix syntax error in r1931452
Joe Orton [Wed, 21 Jan 2026 11:09:55 +0000 (11:09 +0000)] 
* server/log.c (log_ctime): Fix syntax error in r1931452
  (added by me when tweaking whitespace, not from the PR author).

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

9 days agocore: Add millisecond support to ErrorLogFormat time specifiers
Joe Orton [Wed, 21 Jan 2026 11:05:12 +0000 (11:05 +0000)] 
core: Add millisecond support to ErrorLogFormat time specifiers

%{m} prints the timestamp in millisecond-resolution.

* include/util_time.h:
  Define new AP_CTIME_OPTION_MSEC option for printing time in milliseconds
  format.

* server/util_time.c (ap_recent_ctime_ex):
  Handle AP_CTIME_OPTION_MSEC to print time in a millisecond format.

* server/log.c (log_ctime):
  Recognize the m time option in both fast-path and composite %{...}t formats.

Submitted by: Luboš Uhliarik <luhliari redhat.com>
Github: closes #597

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

9 days agoadd charset in the document if specified in IndexOptions
Giovanni Bechis [Wed, 21 Jan 2026 08:57:27 +0000 (08:57 +0000)] 
add charset in the document if specified in IndexOptions
bz #69930

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

10 days ago* test/modules/core: Adds test for disabled note option in
Joe Orton [Mon, 19 Jan 2026 16:38:04 +0000 (16:38 +0000)] 
* test/modules/core: Adds test for disabled note option in
  RequestHeader

Submitted by: Giannis Christodoulou <io.xristod gmail.com>
Github: closes #594

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

10 days agoAdds test for SSI query string injection
Joe Orton [Mon, 19 Jan 2026 14:25:20 +0000 (14:25 +0000)] 
Adds test for SSI query string injection

Submitted by: Giannis Christodoulou <io.xristod gmail.com>
Github: closes #591

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

11 days ago* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert): Use
Joe Orton [Mon, 19 Jan 2026 12:43:36 +0000 (12:43 +0000)] 
* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert): Use
  ASN1_TIME_diff() if available to avoid parsing the ASN1_TIME.
  Temporarily disable the new ASN1_TIME_diff() code for the
  feature/ech branch build since that branch has a regression, once
  https://github.com/openssl/openssl/commit/9fb44b527ee3717795609fb876a7a81f8898c623
  is merged this workaround should be reverted.

Github: closes #596

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

11 days ago* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_remain):
Joe Orton [Mon, 19 Jan 2026 12:41:30 +0000 (12:41 +0000)] 
* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert_remain):
  Fix off-by-one in tm_mday calculation, identified by Gemini.

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

11 days agoAdd --enable-sigusr2 to use SIGUSR2 rather than SIGWINCH for graceful
Joe Orton [Mon, 19 Jan 2026 11:05:38 +0000 (11:05 +0000)] 
Add --enable-sigusr2 to use SIGUSR2 rather than SIGWINCH for graceful
stop, which requires APR 1.7+.

* configure.in: Add --enable-sigusr2; define AP_SIG_GRACEFUL_STOP* in
  ap_config.h.

* include/mpm_common.h: Define AP_SIG_GRACEFUL_STOP* conditionally.

* server/mpm/prefork/prefork.c (child_main): Don't mention SIGWINCH.

PR: 50669
Github: closes #595

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

12 days agofr doc rebuild : env.html.fr.utf8 update and change from 2025 to 2026
Lucien Gentis [Sat, 17 Jan 2026 13:08:58 +0000 (13:08 +0000)] 
fr doc rebuild : env.html.fr.utf8 update and change from 2025 to 2026

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

12 days agofr doc XML file update.
Lucien Gentis [Sat, 17 Jan 2026 12:59:59 +0000 (12:59 +0000)] 
fr doc XML file update.

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

13 days agos/it's/its/ rebuild
Rich Bowen [Fri, 16 Jan 2026 14:12:22 +0000 (14:12 +0000)] 
s/it's/its/ rebuild

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

13 days agos/it's/its/ correction.
Rich Bowen [Fri, 16 Jan 2026 14:08:10 +0000 (14:08 +0000)] 
s/it's/its/ correction.

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

3 weeks ago* modules/dav/main/ms_wdv.c (mswdv_combined_proppatch): Drop redundant
Joe Orton [Thu, 8 Jan 2026 13:26:41 +0000 (13:26 +0000)] 
* modules/dav/main/ms_wdv.c (mswdv_combined_proppatch): Drop redundant
  check of proppatch_len against APR_SIZE_MAX, update comment.

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

3 weeks agomod_dav: Fix security issue in unreleased MS-WDV support:
Joe Orton [Tue, 6 Jan 2026 11:02:20 +0000 (11:02 +0000)] 
mod_dav: Fix security issue in unreleased MS-WDV support:

* modules/dav/main/ms_wdv.c (mswdv_combined_proppatch):
  The MS-WDV combined PROPPATCH handler reads a 16-byte hex length
  prefix from the request body and uses it directly for memory
  allocation without bounds checking. An attacker can specify an
  extremely large value to trigger OOM and crash the worker process.

  This patch validates the parsed length against LimitXMLRequestBody
  and APR_SIZE_MAX before allocation.

Reported by: Pavel Kohout, Aisle Research, www.aisle.com
Submitted by: Pavel Kohout, jorton
Github: closes #592

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

3 weeks agoHappy New Year 2026 - part 2
Rainer Jung [Sun, 4 Jan 2026 15:14:52 +0000 (15:14 +0000)] 
Happy New Year 2026 - part 2

Consensus in the release branch seems to be to
update the year in NOTICE.

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

3 weeks agoHappy New Year 2026
Rainer Jung [Sun, 4 Jan 2026 15:11:13 +0000 (15:11 +0000)] 
Happy New Year 2026

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

5 weeks agoCI: Build and run the libcheck-based tests.
Joe Orton [Mon, 22 Dec 2025 11:59:10 +0000 (11:59 +0000)] 
CI: Build and run the libcheck-based tests.

Github: closes #590

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

5 weeks ago* test/modules/core: Adds regression test for CGI env var override
Joe Orton [Mon, 22 Dec 2025 11:14:06 +0000 (11:14 +0000)] 
* test/modules/core: Adds regression test for CGI env var override

Submitted by: Giannis Christodoulou <io.xristod gmail.com>
Github: closes #589

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

6 weeks agoRegenerate docs.
Joe Orton [Fri, 19 Dec 2025 12:49:53 +0000 (12:49 +0000)] 
Regenerate docs.

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

6 weeks ago* modules/proxy/mod_proxy_balancer.c (balancer_handler): Restore
Joe Orton [Thu, 18 Dec 2025 15:52:11 +0000 (15:52 +0000)] 
* modules/proxy/mod_proxy_balancer.c (balancer_handler): Restore
  logging in XSS protection failure path to match 2.4.x.

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

6 weeks agomod_md: change types of fields of ocsp_summary_ctx_t
Joe Orton [Thu, 18 Dec 2025 12:50:42 +0000 (12:50 +0000)] 
mod_md: change types of fields of ocsp_summary_ctx_t

The number of members in ostat_by_id may be up to UINT_MAX
and there are no guarantees that all types of members (good,
revoked or unknown) are present. An integer overflow may also
occur in md_ocsp_get_summary() when they are summed as ints.

Change types of good, revoked and unknown to unsigned.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Submitted by: Anastasia Belova <nabelova31 gmail.com>
Github: closes #534

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

6 weeks agoCI: Update OpenSSL versions: test 3.0 (LTS) branch, latest 3.4/3.5,
Joe Orton [Thu, 18 Dec 2025 12:47:05 +0000 (12:47 +0000)] 
CI: Update OpenSSL versions: test 3.0 (LTS) branch, latest 3.4/3.5,
    reset/clear cache to refresh the feature/ech branch.

Github: closes #586

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

6 weeks agoSteal 2x lognos.
Joe Orton [Thu, 18 Dec 2025 10:09:34 +0000 (10:09 +0000)] 
Steal 2x lognos.

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

6 weeks ago* acinclude.m4 (APACHE_CHECK_SYSTEMD): Define AP_SYSTEMD_VERSION if
Joe Orton [Thu, 18 Dec 2025 09:54:28 +0000 (09:54 +0000)] 
* acinclude.m4 (APACHE_CHECK_SYSTEMD): Define AP_SYSTEMD_VERSION if
  the version of libsystemd is available from pkg-config.

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

6 weeks agoFollow up to r1930632 -
Joe Orton [Tue, 16 Dec 2025 16:11:24 +0000 (16:11 +0000)] 
Follow up to r1930632 -

* modules/cache/mod_file_cache.c (mmap_handler): Remove unused
  variable.

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

6 weeks agomod_file_cache: Fix crashes for mmap'ed files under threaded MPM.
Joe Orton [Tue, 16 Dec 2025 16:05:10 +0000 (16:05 +0000)] 
mod_file_cache: Fix crashes for mmap'ed files under threaded MPM.

* modules/cache/mod_file_cache.c (mmap_handler): fix file getting
  unmapped erroneously when server is under load in multi-thread
  multi-core configuration

PR: 69901
Submitted by: barr.israel <barr.israel campus.technion.ac.il>
Github: closes #582

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

6 weeks agofr doc rebuild.
Lucien Gentis [Sat, 13 Dec 2025 14:03:53 +0000 (14:03 +0000)] 
fr doc rebuild.

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

6 weeks agofr doc XML file update.
Lucien Gentis [Sat, 13 Dec 2025 14:01:53 +0000 (14:01 +0000)] 
fr doc XML file update.

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

7 weeks ago *) mod_http2: update to version 2.0.37
Stefan Eissing [Thu, 11 Dec 2025 08:45:15 +0000 (08:45 +0000)] 
  *) mod_http2: update to version 2.0.37
     Prevent double purge of a stream, resulting in a double free.
     Fixes PR 69899.

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

7 weeks agomod_md: document the forgotten MDCACertificateFile directive.
Stefan Eissing [Tue, 9 Dec 2025 09:04:36 +0000 (09:04 +0000)] 
mod_md: document the forgotten MDCACertificateFile directive.

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

7 weeks ago *) mod_md: update to version 2.6.7
Stefan Eissing [Mon, 8 Dec 2025 12:54:34 +0000 (12:54 +0000)] 
  *) mod_md: update to version 2.6.7
     - Fix a regression in `MDStapleOthers` which broke in v2.6.0 and no longer
       applied, no matter the configuration.

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

8 weeks agofeat: add HEIC, HEIF and related mime types
Joe Orton [Tue, 2 Dec 2025 16:10:37 +0000 (16:10 +0000)] 
feat: add HEIC, HEIF and related mime types

See https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format

Submitted by: Alexandru Mărășteanu <hello alexei.ro>
Github: closes #580

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

8 weeks agodon't use request notes for suexec
Eric Covener [Mon, 1 Dec 2025 12:04:29 +0000 (12:04 +0000)] 
don't use request notes for suexec

also, stop accepting the obscure "note" option in
RequestHeader, it is only documented/described as being
meant for Header (output filter).

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

8 weeks agoenvvars from HTTP headers low precedence
Eric Covener [Mon, 1 Dec 2025 12:03:12 +0000 (12:03 +0000)] 
envvars from HTTP headers low precedence

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

8 weeks agocover mixed slashes, simplify
Eric Covener [Mon, 1 Dec 2025 12:01:44 +0000 (12:01 +0000)] 
cover mixed slashes, simplify

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

8 weeks agodon't pass args for SSI request
Eric Covener [Mon, 1 Dec 2025 12:00:14 +0000 (12:00 +0000)] 
don't pass args for SSI request

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

2 months agofeat: add HEIC, HEIF and related mime types
Joe Orton [Wed, 26 Nov 2025 11:30:42 +0000 (11:30 +0000)] 
feat: add HEIC, HEIF and related mime types

See https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format

Submitted by: Alexandru Mărășteanu <hello alexei.ro>
Github: closes #580

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

2 months agoFollow up to r1929972: CHANGES entry.
Yann Ylavic [Tue, 25 Nov 2025 11:43:03 +0000 (11:43 +0000)] 
Follow up to r1929972: CHANGES entry.

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

2 months agomod_proxy_hcheck: Fix healthcheck disabled due to child restart while updating
Yann Ylavic [Tue, 25 Nov 2025 11:39:28 +0000 (11:39 +0000)] 
mod_proxy_hcheck: Fix healthcheck disabled due to child restart while updating

When a child gets restarted while the healthcheck watchdog running for a
worker, the healcheck will be disabled for that worker indefinitively because
its ->updated time remains zero. Fix all zero ->updated time at startup.

* mod_proxy_hcheck.c(hc_watchdog_callback):
  Have AP_WATCHDOG_STATE_STARTING set the ->updated time of all the workers to
  "now" (if zero).
  Move up scoped variables common to AP_WATCHDOG_STATE_{STARTING,RUNNING}
  loops.

Reported by: Lubos Uhliarik <luhliari redhat.com>

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

2 months agoCI: Try to fix ab failures during OpenSSL ech job, set RPATH via LDFLAGS
Joe Orton [Fri, 21 Nov 2025 09:38:42 +0000 (09:38 +0000)] 
CI: Try to fix ab failures during OpenSSL ech job, set RPATH via LDFLAGS

CI: For OpenSSL branch builds, always build a fresh version of the
OpenSSL branch and cache the commit hash to allow checking for freshness.
Also clone with --depth=1 to save time+bandwidth.

Github: closes #579

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

2 months ago *) mod_md: update to version 2.6.6
Stefan Eissing [Thu, 20 Nov 2025 12:52:24 +0000 (12:52 +0000)] 
  *) mod_md: update to version 2.6.6
     - Fix a small memory leak when using OpenSSL's BIGNUMs. [Theo Buehler]
     - Fix reuse of curl easy handles by resetting them. [Michael Kaufmann]

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

2 months agofeat: add vnd.sqlite3 mime type and extensions
Joe Orton [Thu, 13 Nov 2025 09:43:43 +0000 (09:43 +0000)] 
feat: add vnd.sqlite3 mime type and extensions

Submitted by: Alexandru Mărășteanu <hello alexei.ro>
Github: closes #563

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

2 months agoUpdate credit and bump next-number after r1929581.
Joe Orton [Thu, 13 Nov 2025 08:49:10 +0000 (08:49 +0000)] 
Update credit and bump next-number after r1929581.

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

2 months ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_ReadReq): Adjust comments
Joe Orton [Thu, 13 Nov 2025 08:46:23 +0000 (08:46 +0000)] 
* modules/ssl/ssl_engine_kernel.c (ssl_hook_ReadReq): Adjust comments
  to line up with the current code better; no functional change. [skip ci]

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

2 months ago* modules/ssl/ssl_engine_kernel.c (ssl_check_vhost_sni_policy):
Joe Orton [Mon, 10 Nov 2025 15:30:46 +0000 (15:30 +0000)] 
* modules/ssl/ssl_engine_kernel.c (ssl_check_vhost_sni_policy):
  Fix handling of STRICT mode.

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

2 months agofr doc rebuild.
Lucien Gentis [Sat, 8 Nov 2025 14:19:56 +0000 (14:19 +0000)] 
fr doc rebuild.

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

2 months agofr doc XML file updates.
Lucien Gentis [Sat, 8 Nov 2025 14:15:15 +0000 (14:15 +0000)] 
fr doc XML file updates.

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

2 months agodocs: Update compatibility note for SSLVHostSNIPolicy
Joe Orton [Fri, 7 Nov 2025 13:58:34 +0000 (13:58 +0000)] 
docs: Update compatibility note for SSLVHostSNIPolicy

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

2 months agomod_dav, mod_dav_fs: Add opt-in support for controlling resource
Joe Orton [Fri, 7 Nov 2025 12:57:48 +0000 (12:57 +0000)] 
mod_dav, mod_dav_fs: Add opt-in support for controlling resource
modification times via the X-Oc-Mtime header in the PUT and MKCOL
method implementations.

* modules/dav/fs/mod_dav.h: Extend dav_hooks_repository struct
  with set_mtime function pointer.

* modules/dav/fs/repos.c (dav_fs_set_mtime): New function.

* modules/dav/main/mod_dav.c (dav_cmd_davhonormtimeheader,
  dav_parse_mtime): New functions.
  (dav_method_put, dav_method_mkcol): Add X-Oc-Mtime handling.
  (dav_cmds): Add DAVHonorMtimeHeader directive.

Submitted by: Leo <i hardrain980.com>
Github: closes #556

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

2 months agomod_ssl: Keep existing flags when calling SSL_set_shutdown()
Joe Orton [Fri, 7 Nov 2025 12:39:45 +0000 (12:39 +0000)] 
mod_ssl: Keep existing flags when calling SSL_set_shutdown()

Preserve existing flags (SSL_RECEIVED_SHUTDOWN or SSL_SENT_SHUTDOWN) when
calling SSL_set_shutdown().

For abortive or unclean shutdowns, additionally call SSL_set_quiet_shutdown().

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

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

2 months agomod_http2: use ap_cstr_casecmpn for check header names
Stefan Eissing [Tue, 4 Nov 2025 16:54:07 +0000 (16:54 +0000)] 
mod_http2: use ap_cstr_casecmpn for check header names

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

2 months agomod_http2: use length supplied by nghttp2 to check trailers.
Stefan Eissing [Tue, 4 Nov 2025 15:49:44 +0000 (15:49 +0000)] 
mod_http2: use length supplied by nghttp2 to check trailers.

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

2 months agomod_md, update tp v2.6.5
Stefan Eissing [Tue, 4 Nov 2025 14:30:49 +0000 (14:30 +0000)] 
mod_md, update tp v2.6.5

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

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

Submitted by: rpluem

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

PR: 69743
GitHub: closes #561

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

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

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

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

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

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

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

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

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

PR: 69831

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

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

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

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

Submitted by: Joe Orton <jorton redhat.com>

Github: closes #559

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

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

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

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

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

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

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

by notroj

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

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

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

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

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

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

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

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

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

## Build

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

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

## Code changes

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

PR: 69773

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

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

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

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

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

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

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

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

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