]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
26 hours agotest/modules/proxy: Add test for uwsgi headers trunk trunk
Giannis Christodoulou [Tue, 21 Jul 2026 10:13:35 +0000 (10:13 +0000)] 
test/modules/proxy: Add test for uwsgi headers

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

40 hours agoprotect as in r1936401
Eric Covener [Mon, 20 Jul 2026 19:55:13 +0000 (19:55 +0000)] 
protect as in r1936401

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

40 hours agoPR68527: fixup_dir segfault with no content-type
Eric Covener [Mon, 20 Jul 2026 19:50:48 +0000 (19:50 +0000)] 
PR68527: fixup_dir segfault with no content-type

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

2 days agoadd deprecated module status
Eric Covener [Mon, 20 Jul 2026 11:42:02 +0000 (11:42 +0000)] 
add deprecated module status

add non-mpm modules from trunk's status 'Candidates to remove'

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

2 days agoFill in APLOGNO() missed in r1936357.
Joe Orton [Mon, 20 Jul 2026 11:30:00 +0000 (11:30 +0000)] 
Fill in APLOGNO() missed in r1936357.

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

2 days agomod_remoteip: Validate v2 PROXY protocol address length
Joe Orton [Mon, 20 Jul 2026 10:08:18 +0000 (10:08 +0000)] 
mod_remoteip: Validate v2 PROXY protocol address length

* modules/metadata/mod_remoteip.c
  (remoteip_get_v2_len): Move definition before first use.
  (remoteip_parse_v2_header): Add length validation for TCPv4
  and TCPv6 address families before parsing, returning HDR_ERROR
  if the header length is too short.

Submitted by: arshiya tabasum <arshi bugqore.com>
GitHub: closes #683

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

3 days agotest: baseline the pytest suites on uv, drop the pip fallback
Jim Jagielski [Sat, 18 Jul 2026 15:30:00 +0000 (15:30 +0000)] 
test: baseline the pytest suites on uv, drop the pip fallback

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

3 days agofr doc rebuild.
Lucien Gentis [Sat, 18 Jul 2026 14:49:56 +0000 (14:49 +0000)] 
fr doc rebuild.

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

3 days agofr doc XML file update.
Lucien Gentis [Sat, 18 Jul 2026 14:45:43 +0000 (14:45 +0000)] 
fr doc XML file update.

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

4 days agoMake the Python test suites more robust:
Jim Jagielski [Fri, 17 Jul 2026 15:49:01 +0000 (15:49 +0000)] 
Make the Python test suites more robust:
  o Call location independence
  o Fully support pip or uv
  o Better reporting of test results when both suites are run
  o Support postitional args for test cases in a reliable manner

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

4 days agoCI: Restrict workflow permissions to read-only content access.
Joe Orton [Fri, 17 Jul 2026 14:42:31 +0000 (14:42 +0000)] 
CI: Restrict workflow permissions to read-only content access.

Submitted by: Alb3e3 <74142887+Alb3e3 users.noreply.github.com>
GitHub: closes #670

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

4 days agoAdd sanity checks for slotmem size calculations:
Joe Orton [Fri, 17 Jul 2026 14:20:18 +0000 (14:20 +0000)] 
Add sanity checks for slotmem size calculations:

* modules/slotmem/mod_slotmem_plain.c,
  modules/slotmem/mod_slotmem_shm.c
  (slotmem_size_mul, slotmem_size_add): New helper functions for
  checked arithmetic on apr_size_t values.
  (slotmem_create): Use checked arithmetic for allocation size
  calculations to prevent integer overflow.
  (slotmem_grab): Add overflow check on size * id multiplication
  before pointer arithmetic.
  (slotmem_get): Validate dest_len against slot size before access,
  move inuse pointer dereference after bounds checks.
  (slotmem_put): Validate src_len against slot size before access,
  move inuse pointer dereference after bounds checks.

* modules/slotmem/mod_slotmem_shm.c (slotmem_fgrab): Add overflow
  check on size * id multiplication before pointer arithmetic.
  (slotmem_attach): Validate shared memory segment size against
  expected size computed with checked arithmetic. Use basesize
  variable for inuse pointer calculation.

Submitted by: metsw24-max <metsw24 gmail.com>
GitHub: closes #626

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

4 days agoUse apr_isspace() instead of isspace() in cookie parsing
Joe Orton [Fri, 17 Jul 2026 13:58:04 +0000 (13:58 +0000)] 
Use apr_isspace() instead of isspace() in cookie parsing

* modules/proxy/mod_proxy_balancer.c (find_session_route): Replace
  isspace() with apr_isspace() to avoid locale-dependent behavior
  and undefined behavior with negative char values.

Submitted by: arshsmith1 <arshi bugqore.com>
GitHub: closes #675

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

5 days agomod_substitute: fix heap over-read in set_pattern() delimiter scanning
Joe Orton [Fri, 17 Jul 2026 12:13:04 +0000 (12:13 +0000)] 
mod_substitute: fix heap over-read in set_pattern() delimiter scanning

* modules/filters/mod_substitute.c (set_pattern): Guard the
  pre-incrementing delimiter scan loops with a NUL check, preventing
  a read past the end of the allocation when the from or to field has
  no closing delimiter.

Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
GitHub: closes #685

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

5 days agomod_substitute: reject overflow values in SubstituteMaxLineLength
Joe Orton [Fri, 17 Jul 2026 12:12:54 +0000 (12:12 +0000)] 
mod_substitute: reject overflow values in SubstituteMaxLineLength

* modules/filters/mod_substitute.c (set_max_line_length): Check that
  the parsed value does not exceed APR_INT64_MAX / multiplier before
  applying the K/M/G suffix, to avoid signed integer overflow UB.

Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
GitHub: PR #685

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

5 days agomod_ssl: fix set_challenge_creds() to return rv on failure
Joe Orton [Fri, 17 Jul 2026 12:12:40 +0000 (12:12 +0000)] 
mod_ssl: fix set_challenge_creds() to return rv on failure

* modules/ssl/ssl_engine_kernel.c (set_challenge_creds): Return rv
  rather than APR_SUCCESS unconditionally, so credential setup
  failures are propagated to the ALPN selection callback.

Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
GitHub: PR #685

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

5 days agomod_ldap: fix race in LDAP URL cache child cache access
Joe Orton [Fri, 17 Jul 2026 12:12:32 +0000 (12:12 +0000)] 
mod_ldap: fix race in LDAP URL cache child cache access

* modules/ldap/util_ldap.c: Hold the LDAP cache lock continuously
  from URL node fetch through child cache access, closing the window
  where a concurrent request could free the node between unlock and
  re-lock.  Re-fetch the URL node under the lock for write-back paths.

Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
GitHub: PR #685

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

5 days agomod_cern_meta: reject HTTP framing headers in metadata files
Joe Orton [Fri, 17 Jul 2026 12:12:23 +0000 (12:12 +0000)] 
mod_cern_meta: reject HTTP framing headers in metadata files

* modules/metadata/mod_cern_meta.c (scan_meta_file): Return a 500
  error if a framing header is found in a .meta file rather than
  merging it into the response headers.

Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
GitHub: PR #685

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

5 days agomod_ssl: fix NULL dereference in OCSP responder URI parsing
Joe Orton [Fri, 17 Jul 2026 12:12:12 +0000 (12:12 +0000)] 
mod_ssl: fix NULL dereference in OCSP responder URI parsing

* modules/ssl/ssl_engine_ocsp.c (determine_responder_uri): Check
  u->scheme is non-NULL before calling ap_cstr_casecmp(), since
  apr_uri_parse() can succeed with a NULL scheme for scheme-less URIs.

Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
GitHub: PR #685

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

5 days agomod_remoteip: fix NULL dereference with PROXY v2 LOCAL command
Joe Orton [Fri, 17 Jul 2026 12:12:05 +0000 (12:12 +0000)] 
mod_remoteip: fix NULL dereference with PROXY v2 LOCAL command

* modules/metadata/mod_remoteip.c (remoteip_process_v2_header): Set
  conn_conf->client_addr and client_ip for the LOCAL case, matching
  the v1 UNKNOWN path.

Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
GitHub: PR #685

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

5 days agoAnother candidate module to remove.
Joe Orton [Fri, 17 Jul 2026 12:07:47 +0000 (12:07 +0000)] 
Another candidate module to remove.

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

5 days agoadd caution about client influence and delims
Eric Covener [Fri, 17 Jul 2026 11:34:20 +0000 (11:34 +0000)] 
add caution about client influence and delims

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

5 days agoFurther refine CHANGES description, to prod Claude into
Joe Orton [Fri, 17 Jul 2026 10:19:26 +0000 (10:19 +0000)] 
Further refine CHANGES description, to prod Claude into
producing more useful output.

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

5 days agoSteal another number.
Joe Orton [Fri, 17 Jul 2026 10:10:04 +0000 (10:10 +0000)] 
Steal another number.

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

5 days agoCI: Skip CI for README* changes at the top-level.
Joe Orton [Fri, 17 Jul 2026 08:22:04 +0000 (08:22 +0000)] 
CI: Skip CI for README* changes at the top-level.

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

5 days agoRecord all(?) the conventions on how to write CHANGES entries
Joe Orton [Fri, 17 Jul 2026 08:19:47 +0000 (08:19 +0000)] 
Record all(?) the conventions on how to write CHANGES entries
here, tweak some existing text for clarity, reflow for
line length limits and use markdown-ish formatting.

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

6 days agoSteal a number.
Joe Orton [Thu, 16 Jul 2026 09:14:31 +0000 (09:14 +0000)] 
Steal a number.

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

7 days ago* SECURITY.md: Typos/formatting fixes suggested by Claude.
Joe Orton [Tue, 14 Jul 2026 14:25:20 +0000 (14:25 +0000)] 
* SECURITY.md: Typos/formatting fixes suggested by Claude.

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

7 days ago* SECURITY.md: Tweak/expand text around configurations.
Joe Orton [Tue, 14 Jul 2026 14:23:53 +0000 (14:23 +0000)] 
* SECURITY.md: Tweak/expand text around configurations.

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

8 days ago* test/pyhttpd/log.py (HttpdErrorLog): Add regex patterns to detect
Joe Orton [Tue, 14 Jul 2026 09:25:34 +0000 (09:25 +0000)] 
* test/pyhttpd/log.py (HttpdErrorLog): Add regex patterns to detect
  crash and sanitizer error messages in error log, and treat matching
  lines as errors during log checking.

Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
GitHub: closes #684

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

9 days agofr doc rebuild.
Lucien Gentis [Sun, 12 Jul 2026 13:21:08 +0000 (13:21 +0000)] 
fr doc rebuild.

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

9 days agofr doc XML files updates.
Lucien Gentis [Sun, 12 Jul 2026 13:18:05 +0000 (13:18 +0000)] 
fr doc XML files updates.

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

10 days agofr doc XML file update.
Lucien Gentis [Sat, 11 Jul 2026 14:54:06 +0000 (14:54 +0000)] 
fr doc XML file update.

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

10 days agotypo correction.
Lucien Gentis [Sat, 11 Jul 2026 14:53:15 +0000 (14:53 +0000)] 
typo correction.

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

11 days agotypo correction.
Lucien Gentis [Fri, 10 Jul 2026 15:39:02 +0000 (15:39 +0000)] 
typo correction.

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

11 days agofr doc XML file update.
Lucien Gentis [Fri, 10 Jul 2026 14:36:02 +0000 (14:36 +0000)] 
fr doc XML file update.

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

13 days agofr doc XML files updates.
Lucien Gentis [Wed, 8 Jul 2026 15:24:50 +0000 (15:24 +0000)] 
fr doc XML files updates.

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

2 weeks agofr doc XML file update.
Lucien Gentis [Mon, 6 Jul 2026 16:37:49 +0000 (16:37 +0000)] 
fr doc XML file update.

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

2 weeks agofr doc XML file update.
Lucien Gentis [Mon, 6 Jul 2026 15:04:48 +0000 (15:04 +0000)] 
fr doc XML file update.

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

2 weeks ago* modules/aaa/mod_auth_digest.c (add_auth_info): Don't add
Joe Orton [Mon, 6 Jul 2026 12:52:41 +0000 (12:52 +0000)] 
* modules/aaa/mod_auth_digest.c (add_auth_info): Don't add
  (Proxy-)Authentication-Info headers to 401/407 responses.

GitHub: PR #661

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

2 weeks ago* modules/aaa/mod_auth_digest.c: Fix comments.
Joe Orton [Mon, 6 Jul 2026 12:52:32 +0000 (12:52 +0000)] 
* modules/aaa/mod_auth_digest.c: Fix comments.

GitHub: PR #661

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

2 weeks ago* modules/aaa/mod_auth_digest.c: Remove checks for NULL client_shm
Joe Orton [Mon, 6 Jul 2026 12:52:23 +0000 (12:52 +0000)] 
* modules/aaa/mod_auth_digest.c: Remove checks for NULL client_shm
  throughout.

GitHub: PR #661

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

2 weeks ago* modules/aaa/mod_auth_digest.c (pre_init): Don't register
Joe Orton [Mon, 6 Jul 2026 12:52:10 +0000 (12:52 +0000)] 
* modules/aaa/mod_auth_digest.c (pre_init): Don't register
  now-unused "authdigest-opaque" mutex type.

GitHub: PR #661

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

2 weeks ago* modules/aaa/mod_auth_digest.c (cleanup_tables, initialize_tables,
Joe Orton [Mon, 6 Jul 2026 12:52:00 +0000 (12:52 +0000)] 
* modules/aaa/mod_auth_digest.c (cleanup_tables, initialize_tables,
  initialize_child, gen_client): Replace mutex-protected opaque_cntr
  with opaque_counter, incremented via atomics.

GitHub: PR #661

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

2 weeks ago* modules/aaa/mod_auth_digest.c (get_digest_rec):
Joe Orton [Mon, 6 Jul 2026 12:51:50 +0000 (12:51 +0000)] 
* modules/aaa/mod_auth_digest.c (get_digest_rec):
  Parse opaque more strictly.

GitHub: PR #661

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

2 weeks ago* modules/aaa/mod_auth_digest.c: Use apr_uint32_t for the
Joe Orton [Mon, 6 Jul 2026 12:51:39 +0000 (12:51 +0000)] 
* modules/aaa/mod_auth_digest.c: Use apr_uint32_t for the
  one-time-nonce counter.
  (gen_nonce): Drop the fallback case for non-shmem builds
  where otn_counter could be NULL previously. Use atomics
  to increment the counter.

GitHub: PR #661

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

2 weeks ago* modules/aaa/config.m4,
Joe Orton [Mon, 6 Jul 2026 12:51:26 +0000 (12:51 +0000)] 
* modules/aaa/config.m4,
  modules/aaa/mod_auth_digest.c (pre_init, initialize_module):
  Prevent using mod_auth_digest without APR_HAS_SHARED_MEMORY.

GitHub: PR #661

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

2 weeks ago* modules/aaa/mod_auth_digest.c (set_algorithm): Note that
Joe Orton [Mon, 6 Jul 2026 12:51:01 +0000 (12:51 +0000)] 
* modules/aaa/mod_auth_digest.c (set_algorithm): Note that
  conf->algorithm is a constant ("MD5") so there is no point
  in overriding it at runtime. Simplify error case.

GitHub: PR #661

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

2 weeks ago* modules/aaa/mod_auth_digest.c: Remove "weird" override of AuthName
Joe Orton [Mon, 6 Jul 2026 12:50:48 +0000 (12:50 +0000)] 
* modules/aaa/mod_auth_digest.c: Remove "weird" override of AuthName
  directive, which adds complexity for little benefit (avoids putting
  20 bytes through SHA1 for each auth attempt).
  (set_realm): Remove function.
  (gen_nonce_hash): Create the nonce hash here from scratch.
  (create_digest_dir_config): Always allocate a config struct.
  Remove unused dir_name field from digest_config_rec.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
GitHub: PR #661

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

2 weeks agomod_auth_digest: Drop RFC 2069 and configurable qop support.
Joe Orton [Mon, 6 Jul 2026 12:50:18 +0000 (12:50 +0000)] 
mod_auth_digest: Drop RFC 2069 and configurable qop support.
(RFC 2617, which replaced 2069, is now 26 years old)

* modules/aaa/mod_auth_digest.c (digest_config_rec): Remove qop_list
  field.
  (create_digest_dir_config): Remove qop_list initialization.
  (set_qop): Deprecate AuthDigestQop, only "auth" is supported.
  (note_digest_auth_failure): Always send qop="auth".
  (check_nc): Remove handling for qop=none.
  (old_digest): Remove function.
  (authenticate_digest_user): Reject requests with missing or
  non-"auth" qop value rather than falling back to RFC 2069.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
GitHub: PR #661

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

2 weeks ago* modules/ssl/ssl_util.c (ssl_asn1_table_set): Add assertion
Joe Orton [Mon, 6 Jul 2026 12:08:49 +0000 (12:08 +0000)] 
* modules/ssl/ssl_util.c (ssl_asn1_table_set): Add assertion
  for the (likely unreachable) i2d_PrivateKey() failure case.

Submitted by: Sayed Kaif <metsw24 gmail.com>
Github: closes #619

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

2 weeks agomod_dav: Refactor Lock-Token parsing into dav_parse_locktoken()
Joe Orton [Mon, 6 Jul 2026 12:01:57 +0000 (12:01 +0000)] 
mod_dav: Refactor Lock-Token parsing into dav_parse_locktoken()
  helper in util.c, replacing duplicated inline parsing in
  mod_dav.c and ms_wdv.c.

* modules/dav/main/util.c (dav_parse_locktoken): New function.

* modules/dav/main/mod_dav.h (dav_parse_locktoken): Declare it.

* modules/dav/main/mod_dav.c (dav_method_unlock): Use
  dav_parse_locktoken() instead of inline bracket parsing.

* modules/dav/main/ms_wdv.c (dav_process_ms_wdv_lock): Likewise.
  (dav_process_ms_wdv_if_header): Add length check before indexing
  the If header value to avoid reading past an empty string.

Submitted by: metsw24-max <metsw24 gmail.com>
Github: closes #618

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

2 weeks ago* modules/proxy/balancers/mod_lbmethod_heartbeat.c (hb_parse_int):
Joe Orton [Mon, 6 Jul 2026 11:51:31 +0000 (11:51 +0000)] 
* modules/proxy/balancers/mod_lbmethod_heartbeat.c (hb_parse_int):
  New helper replacing atoi() with safe integer parsing via
  apr_strtoi64, with range validation.
  (readfile_heartbeats): Use hb_parse_int for busy, ready,
  lastseen, and port fields.
  (find_best_hb): Add overflow-safe saturation arithmetic for
  openslots accumulation and the pick loop upper bound.

Submitted by: Sayed Kaif <metsw24 gmail.com>
Github: closes #629

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

2 weeks ago* modules/filters/mod_proxy_html.c (pcomment): Don't dump content
Joe Orton [Mon, 6 Jul 2026 10:04:52 +0000 (10:04 +0000)] 
* modules/filters/mod_proxy_html.c (pcomment): Don't dump content
  when printing a comment. (regression in r1934975)

Fixes: 9dc00bf22922b805d780f403132d2e35a99ced93
Github: closes #681

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

2 weeks agoRemoved modules/md/md_tailscale.c from CMakeList.txt so can be built mod_md on Windows
Joe Orton [Mon, 6 Jul 2026 08:25:35 +0000 (08:25 +0000)] 
Removed modules/md/md_tailscale.c from CMakeList.txt so can be built mod_md on Windows

Submitted by: Paul Lodge <paullodge outlook.com>
Github: closes #674

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

2 weeks ago* modules/md/md_crypt.c (md_cert_get_ari_cert_id):
Joe Orton [Mon, 6 Jul 2026 08:15:14 +0000 (08:15 +0000)] 
* modules/md/md_crypt.c (md_cert_get_ari_cert_id):
  Don't used fixed buffer size for serial number,
  fail if ASN.1->BIGNUM conversion fails.

Github: closes #680

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

2 weeks agofr doc XML file update.
Lucien Gentis [Fri, 3 Jul 2026 15:58:10 +0000 (15:58 +0000)] 
fr doc XML file update.

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

2 weeks agofr doc XML file update.
Lucien Gentis [Thu, 2 Jul 2026 16:01:29 +0000 (16:01 +0000)] 
fr doc XML file update.

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

2 weeks agofr doc rebuild.
Lucien Gentis [Wed, 1 Jul 2026 15:23:55 +0000 (15:23 +0000)] 
fr doc rebuild.

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

2 weeks agofr doc XML files updates.
Lucien Gentis [Wed, 1 Jul 2026 15:20:23 +0000 (15:20 +0000)] 
fr doc XML files updates.

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

3 weeks agofr doc XML files updates.
Lucien Gentis [Tue, 30 Jun 2026 16:03:48 +0000 (16:03 +0000)] 
fr doc XML files updates.

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

3 weeks agomissing tags.
Lucien Gentis [Tue, 30 Jun 2026 11:57:52 +0000 (11:57 +0000)] 
missing tags.

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

3 weeks agofr doc rebuild.
Lucien Gentis [Tue, 30 Jun 2026 09:17:59 +0000 (09:17 +0000)] 
fr doc rebuild.

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

3 weeks agofr doc XML file update.
Lucien Gentis [Tue, 30 Jun 2026 09:15:23 +0000 (09:15 +0000)] 
fr doc XML file update.

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

3 weeks agodocs: logs.xml wrap bare <highlight> blocks in <example> per style guide
Rich Bowen [Mon, 29 Jun 2026 17:56:05 +0000 (17:56 +0000)] 
docs: logs.xml wrap bare <highlight> blocks in <example> per style guide

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

3 weeks agofr doc rebuild.
Lucien Gentis [Mon, 29 Jun 2026 15:52:42 +0000 (15:52 +0000)] 
fr doc rebuild.

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

3 weeks agofr doc rebuilding motorz module html file to see if all is OK.
Lucien Gentis [Mon, 29 Jun 2026 15:46:40 +0000 (15:46 +0000)] 
fr doc rebuilding motorz module html file to see if all is OK.

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

3 weeks agofr doc XML file update.
Lucien Gentis [Mon, 29 Jun 2026 15:40:38 +0000 (15:40 +0000)] 
fr doc XML file update.

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

3 weeks agoCast cmd_parms.info to correct type (apr_size_t).
Ivan Zhakov [Mon, 29 Jun 2026 10:10:40 +0000 (10:10 +0000)] 
Cast cmd_parms.info to correct type (apr_size_t).

APR_OFFSETOF() returns apr_size_t and functions
like ap_set_string_slot() stores it in cmd_parms.info.

* modules/filters/mod_sed.c
  (sed_add_expr):

* modules/http/mod_mime.c
  (attrib_info): Use apr_size_t instead of int for offset
   field.
  (add_extension_info, remove_extension_info): Cast
   cmd_parms.info to apr_size instead of int.

* server/config.c
  (ap_set_string_slot, ap_set_int_slot, ap_set_string_slot_lower,
   ap_set_flag_slot, ap_set_flag_slot_char, ap_set_file_slot):
   Cast cmd_parms.info to apr_size instead of int.

* server/core.c
  (set_server_string_slot): Cast cmd_parms.info to apr_size instead
   of int.

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

3 weeks agofr doc XML file update.
Lucien Gentis [Sun, 28 Jun 2026 15:20:08 +0000 (15:20 +0000)] 
fr doc XML file update.

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

3 weeks agofr doc XML files updates.
Lucien Gentis [Sat, 27 Jun 2026 16:00:10 +0000 (16:00 +0000)] 
fr doc XML files updates.

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

3 weeks agofr doc XML files updates.
Lucien Gentis [Sat, 27 Jun 2026 12:10:25 +0000 (12:10 +0000)] 
fr doc XML files updates.

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

3 weeks agofr doc XML files updates.
Lucien Gentis [Sat, 27 Jun 2026 09:41:08 +0000 (09:41 +0000)] 
fr doc XML files updates.

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

3 weeks agofr doc XML files updates.
Lucien Gentis [Fri, 26 Jun 2026 16:06:27 +0000 (16:06 +0000)] 
fr doc XML files updates.

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

4 weeks ago* docs/manual/mod/mod_proxy.xml: Add clarifications for ProxyRemote and
Joe Orton [Tue, 23 Jun 2026 15:42:18 +0000 (15:42 +0000)] 
* docs/manual/mod/mod_proxy.xml: Add clarifications for ProxyRemote and
  <Proxy> containers.

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

4 weeks agoSteal some aplogno numbers.
Joe Orton [Tue, 23 Jun 2026 08:52:25 +0000 (08:52 +0000)] 
Steal some aplogno numbers.

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

4 weeks agoImprove changes text.
Joe Orton [Tue, 23 Jun 2026 08:45:11 +0000 (08:45 +0000)] 
Improve changes text.

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

4 weeks agoFix pre-1.1.0 compat macros for X509_get0_notBefore/notAfter/serialNumber
Joe Orton [Tue, 23 Jun 2026 08:44:27 +0000 (08:44 +0000)] 
Fix pre-1.1.0 compat macros for X509_get0_notBefore/notAfter/serialNumber

The compat macros added in 83d565f for pre-1.1.0 OpenSSL used incorrect
names (X509_get0_before/X509_get0_after) which don't match the actual
API names used in the code (X509_get0_notBefore/X509_get0_notAfter).
This caused link failures when building against OpenSSL 1.0.2.

Also add missing X509_get0_serialNumber compat macro which was used in
ssl_engine_log.c but never shimmed for pre-1.1.0.

Submitted by: Craig Lorentzen <crlorent amazon.com>
Github: closes #673

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

4 weeks ago* test/Makefile.in (clean): Remove __pycache__ directores.
Joe Orton [Tue, 23 Jun 2026 08:41:42 +0000 (08:41 +0000)] 
* test/Makefile.in (clean): Remove __pycache__ directores.

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

4 weeks agoUpdated candidates to remove.
Joe Orton [Tue, 23 Jun 2026 08:41:02 +0000 (08:41 +0000)] 
Updated candidates to remove.

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

4 weeks agoMake ProxyBeaconSecret a required option now, not Optional.
Jim Jagielski [Mon, 22 Jun 2026 17:28:42 +0000 (17:28 +0000)] 
Make ProxyBeaconSecret a required option now, not Optional.
Thus, a passphrase secret between beacons is always required.

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

4 weeks agoUpdate STATUS to reflect some recent work that's been done.
Rich Bowen [Mon, 22 Jun 2026 17:24:12 +0000 (17:24 +0000)] 
Update STATUS to reflect some recent work that's been done.

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

4 weeks agodocs: Rewrite log rotation section in logs.xml
Rich Bowen [Mon, 22 Jun 2026 17:21:58 +0000 (17:21 +0000)] 
docs: Rewrite log rotation section in logs.xml

- Replace hand-rolled mv/graceful/sleep/gzip recipe with modern
  practices: rotatelogs (recommended) and system logrotate
- Add examples for time-based, size-based, and strftime-pattern rotation
- Rewrite piped logs section: tighten prose, remove redundant
  rotatelogs example, wrap highlight blocks in <example> tags
- Remove "In order to", "simply", bare "Apache" references

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

4 weeks agoRebuild html, meta files
Rich Bowen [Fri, 19 Jun 2026 14:27:56 +0000 (14:27 +0000)] 
Rebuild html, meta files

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

4 weeks agodocs: howto/ssi.xml complete rewrite for style and tone
Rich Bowen [Fri, 19 Jun 2026 14:26:22 +0000 (14:26 +0000)] 
docs: howto/ssi.xml complete rewrite for style and tone

- Full rewrite for style guide compliance and tone normalization
- Remove all first-person ("I'll talk about...")
- Remove TeX-style ``quoting'' throughout
- Remove dated references (hit counters, guestbooks, Win32)
- Reposition as "a practical, lightweight technique"
- Remove duplicated content between summary, body, and conclusion
- Fix bare "Apache" → "httpd"
- Update example date to 2026
- Add <example> wrappers around all <highlight> blocks

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

4 weeks agodocs: howto/reverse_proxy.xml editorial cleanup
Rich Bowen [Fri, 19 Jun 2026 14:24:24 +0000 (14:24 +0000)] 
docs: howto/reverse_proxy.xml editorial cleanup

- Tighten verbose prose throughout
- Break long sentences for readability
- Grammar and spelling fixes throughout

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

4 weeks agodocs: howto/htaccess.xml editorial cleanup
Rich Bowen [Fri, 19 Jun 2026 14:22:34 +0000 (14:22 +0000)] 
docs: howto/htaccess.xml editorial cleanup

- Update example log dates to 2026
- Change error log highlight blocks from language="config" to "sh"
- Remove filler phrases: "in order to", "a lot of", "it is important
  to remember that", "simply"
- Convert inline "Note that..." prose to <note> blocks

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

4 weeks agoMinor grammar tweaks and style-guide updates.
Rich Bowen [Fri, 19 Jun 2026 12:53:49 +0000 (12:53 +0000)] 
Minor grammar tweaks and style-guide updates.

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

4 weeks agodocs: howto/cgi.xml tone normalization and mod_cgi/mod_cgid explanation
Rich Bowen [Fri, 19 Jun 2026 12:23:41 +0000 (12:23 +0000)] 
docs: howto/cgi.xml tone normalization and mod_cgi/mod_cgid explanation

- Add paragraph explaining why two CGI modules exist: mod_cgid for
  threaded MPMs (event, worker), mod_cgi for non-threaded (prefork)
  and Windows; note they are configuration-compatible
- Link to both module reference pages for implementation details
- Clean up LoadModule note block (remove duplicate "A correctly
  configured directive may look like this")
- Remove "Of course" asides and "In order to" constructions
- "There are two main differences" → direct statement
- Move bug-database advisory into <note> block
- Convert remaining Perl references to Python

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

4 weeks agodocs: howto/auth.xml tone normalization and deduplication
Rich Bowen [Fri, 19 Jun 2026 12:16:23 +0000 (12:16 +0000)] 
docs: howto/auth.xml tone normalization and deduplication

- Replace host-based access control section (Require ip/host examples)
  with brief explanation and cross-reference to access.html howto
- Remove dated "HTTPD 2.3/2.4 introduces" from socache section
- Grammar and spelling fixes throughout

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

4 weeks agodocs: howto/access.xml editorial cleanup and examples
Rich Bowen [Fri, 19 Jun 2026 12:05:10 +0000 (12:05 +0000)] 
docs: howto/access.xml editorial cleanup and examples

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

4 weeks agodocs: howto/http2.xml editorial and tone.
Rich Bowen [Fri, 19 Jun 2026 11:53:19 +0000 (11:53 +0000)] 
docs: howto/http2.xml editorial and tone.

Ongoing work to bring docs into the style guide, apply the same voice
across related documents, and modernize examples.

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

4 weeks agoUpdates AGENTS.md to reflect usage of the <rfc>
Rich Bowen [Thu, 18 Jun 2026 13:18:53 +0000 (13:18 +0000)] 
Updates AGENTS.md to reflect usage of the <rfc>
tag that was added earlier this year.

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

4 weeks agoUpdates to correctly use <example> and <highlight>
Rich Bowen [Thu, 18 Jun 2026 13:16:55 +0000 (13:16 +0000)] 
Updates to correctly use <example> and <highlight>
as per the style guide.

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

4 weeks agodocs: Editorial pass on howto/http2.xml
Rich Bowen [Thu, 18 Jun 2026 12:13:12 +0000 (12:13 +0000)] 
docs: Editorial pass on howto/http2.xml

- Grammar and spelling fixes throughout (fixes bz#70115)
- Wrap overlong lines to match document style
- Replace dead browser extension links with current equivalents
- Update caniuse link to https
- Simplify browser support list (all modern browsers support HTTP/2)
- Note Server Push deprecation per RFC 9113; point to Early Hints
- Note Accept-Push-Policy draft expired and was never adopted

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

4 weeks agoRemove the outdated "most popular" language.
Rich Bowen [Wed, 17 Jun 2026 21:04:18 +0000 (21:04 +0000)] 
Remove the outdated "most popular" language.

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

4 weeks agodocs: Modernize howto/http2.xml
Rich Bowen [Wed, 17 Jun 2026 20:56:52 +0000 (20:56 +0000)] 
docs: Modernize howto/http2.xml

- Update all RFC references from 7540 to 9113 (which obsoletes it)
- Remove duplicated RFC link in protocol overview
- Add Server Push deprecation note (deprecated in RFC 9113 §8.4,
  removed by Chrome 106+/Edge 106+; recommend 103 Early Hints)
- Update Homebrew note: remove obsolete --with-openssl/--with-nghttp2
  flags (Homebrew removed formula options in 2019; curl includes
  HTTP/2 support by default now)
- Fix typos: "consistent releases" → "consistent across releases",
  "as RFC do" → "as RFCs do", "they are" → "there are",
  "at at time" → "at a time", "avoiding to re-instantiate" →
  "avoiding the need to re-instantiate", "head of blocking" →
  "head-of-line blocking"

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

5 weeks agos/apache-announce/announce@httpd.apache.org/
Rich Bowen [Wed, 17 Jun 2026 12:25:33 +0000 (12:25 +0000)] 
s/apache-announce/announce@httpd.apache.org/

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

5 weeks agoUse curl debug library in debug build; partial port of r1816751 from 2.4.x.
Rainer Jung [Wed, 17 Jun 2026 09:34:09 +0000 (09:34 +0000)] 
Use curl debug library in debug build; partial port of r1816751 from 2.4.x.

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

5 weeks agoAdd include for AP_SERVER_BASEREVISION
Rainer Jung [Tue, 16 Jun 2026 20:45:56 +0000 (20:45 +0000)] 
Add include for AP_SERVER_BASEREVISION

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