]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
17 months agoCI: Hopefully fix caching and artifact uploads by creating $JOBID
Joe Orton [Thu, 29 Feb 2024 12:11:39 +0000 (12:11 +0000)] 
CI: Hopefully fix caching and artifact uploads by creating $JOBID
as a unique key for each job in the matrix, using that as the
cache key and in each artefact upload (otherwise multiple failures
uploading "error_log" overwrite each other).

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

17 months agoDon't reset the balancer when we create a new child
Jean-Frederic Clere [Mon, 26 Feb 2024 08:41:28 +0000 (08:41 +0000)] 
Don't reset the balancer when we create a new child
and don't change shared memory the load balancer is not using.

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

17 months agoRan ./build.sh all to get every previously not-updated file up to speed
Daniel Ferradal [Sun, 25 Feb 2024 13:38:21 +0000 (13:38 +0000)] 
Ran ./build.sh all to get every previously not-updated file up to speed

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

17 months agoFix in title, expression, erratas for getting-started.xml.es
Daniel Ferradal [Sun, 25 Feb 2024 13:30:34 +0000 (13:30 +0000)] 
Fix in title, expression, erratas for getting-started.xml.es

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

17 months agoAdded getting-started.xml.es Spanish Translation + files modified by ./build.sh
Daniel Ferradal [Sun, 25 Feb 2024 11:47:27 +0000 (11:47 +0000)] 
Added getting-started.xml.es Spanish Translation + files modified by ./build.sh

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

17 months agomod_ssl: Follow up to r1913815: szCryptoDevice to NULL when !MODSSL_HAVE_ENGINE_API
Yann Ylavic [Tue, 20 Feb 2024 10:37:30 +0000 (10:37 +0000)] 
mod_ssl: Follow up to r1913815: szCryptoDevice to NULL when !MODSSL_HAVE_ENGINE_API

Latest OpenSSL versions removed the ENGINE API completely, still provide NULL
SSLModConfigRec::szCryptoDevice since it's used outside MODSSL_HAVE_ENGINE_API.

SSLModConfigRec is a private struct, so no MMN change.

* modules/ssl/ssl_private(SSLModConfigRec):
  Provide szCryptoDevice (NULL) even if !MODSSL_HAVE_ENGINE_API.

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

17 months ago* modules/proxy/mod_proxy_scgi.c: Mark global variables as static and
Joe Orton [Mon, 19 Feb 2024 10:45:36 +0000 (10:45 +0000)] 
* modules/proxy/mod_proxy_scgi.c: Mark global variables as static and
  pointers as const. (no functional change)

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

17 months agoadded dsl.xml.es and dso.html.es.utf8
Daniel Ferradal [Sat, 17 Feb 2024 18:46:11 +0000 (18:46 +0000)] 
added dsl.xml.es and dso.html.es.utf8

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

17 months agoAdded inicial dso.xml.es translation
Daniel Ferradal [Sat, 17 Feb 2024 18:44:27 +0000 (18:44 +0000)] 
Added inicial dso.xml.es translation

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

17 months agoAdd missing changes-entries.
Jean-Frederic Clere [Wed, 14 Feb 2024 13:36:58 +0000 (13:36 +0000)] 
Add missing changes-entries.

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

17 months agofr doc rebuild.
Lucien Gentis [Sat, 10 Feb 2024 14:32:03 +0000 (14:32 +0000)] 
fr doc rebuild.

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

17 months agofr doc XML files updates.
Lucien Gentis [Sat, 10 Feb 2024 14:30:57 +0000 (14:30 +0000)] 
fr doc XML files updates.

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

17 months agodocs: mod_dav: Remove references to DavLockDB being required
Joe Orton [Fri, 9 Feb 2024 10:06:38 +0000 (10:06 +0000)] 
docs: mod_dav: Remove references to DavLockDB being required
since it's not true for trunk mod_dav_fs; refresh seealso.

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

17 months agoUpdate SSLProxyMachineCertificateFile compat note after r1915679.
Joe Orton [Fri, 9 Feb 2024 09:13:50 +0000 (09:13 +0000)] 
Update SSLProxyMachineCertificateFile compat note after r1915679.

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

17 months agomod_dav: Update redirect-carefully example BrowserMatch config to
Joe Orton [Thu, 8 Feb 2024 14:37:13 +0000 (14:37 +0000)] 
mod_dav: Update redirect-carefully example BrowserMatch config to
match more recent client versions.

PR: 66148, 67039
Submitted by: Michal Maloszewski <michal.maloszewski canonical.com>

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

17 months ago* modules/filters/mod_xml2enc.c (xml2enc_ffunc): Accept any XML media
Joe Orton [Wed, 7 Feb 2024 15:26:27 +0000 (15:26 +0000)] 
* modules/filters/mod_xml2enc.c (xml2enc_ffunc): Accept any XML media
  type per RFC 7303, plus any text/ type.

PR: 64339
Github: closes #409

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

18 months agofr doc rebuild.
Lucien Gentis [Sat, 3 Feb 2024 15:40:32 +0000 (15:40 +0000)] 
fr doc rebuild.

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

18 months agofr doc XML file update.
Lucien Gentis [Sat, 3 Feb 2024 15:38:18 +0000 (15:38 +0000)] 
fr doc XML file update.

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

18 months agofr doc XML files updates.
Lucien Gentis [Sat, 3 Feb 2024 15:35:20 +0000 (15:35 +0000)] 
fr doc XML files updates.

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

18 months agoMisplaced example title.
Lucien Gentis [Sat, 3 Feb 2024 15:32:20 +0000 (15:32 +0000)] 
Misplaced example title.

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

18 months ago* server/util_expr_parse.c (yyparse): Fix typo in comment.
Joe Orton [Fri, 2 Feb 2024 14:49:06 +0000 (14:49 +0000)] 
* server/util_expr_parse.c (yyparse): Fix typo in comment.

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

18 months agomod_dav: Add a title to the example config snippet for DavBasePath.
Joe Orton [Fri, 2 Feb 2024 11:16:28 +0000 (11:16 +0000)] 
mod_dav: Add a title to the example config snippet for DavBasePath.

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

18 months agomod_http2 docs: Typo fix
Joe Orton [Fri, 2 Feb 2024 11:12:11 +0000 (11:12 +0000)] 
mod_http2 docs: Typo fix

Submitted by: Justin Vreeland <j_vreeland apple.com>
Github: closes #407

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

18 months agoAdd MPEG-TS file extensions
Joe Orton [Thu, 1 Feb 2024 15:36:20 +0000 (15:36 +0000)] 
Add MPEG-TS file extensions

Submitted by: Mohamed Akram <mohd.akram outlook.com>
Github: closes #372

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

18 months agoMinor CI changes:
Joe Orton [Thu, 1 Feb 2024 15:34:22 +0000 (15:34 +0000)] 
Minor CI changes:
- Add --enable-reduced-exports test.
- test running apachectl -V in the TEST_INSTALL case
- test running httpd -V in the SKIP_TESTING case
- rejig to exit if SKIP_TESTING, un-nest the if block around testing
  (no functional change from this part)

Github: closes #405

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

18 months ago* support/htcacheclean.c (list_urls): Continue rather than stopping
Joe Orton [Thu, 1 Feb 2024 08:39:48 +0000 (08:39 +0000)] 
* support/htcacheclean.c (list_urls): Continue rather than stopping
  after listing a file for each subdirectory.

PR: 65091
Submitted by: Artem Egorenkov <aegorenkov.91 gmail.com>

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

18 months agoRebuilds a number of pending doc changes
Rich Bowen [Mon, 29 Jan 2024 18:06:15 +0000 (18:06 +0000)] 
Rebuilds a number of pending doc changes

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

18 months agoRemove redundant slash from example - mod_proxy doc
Rich Bowen [Mon, 29 Jan 2024 17:44:31 +0000 (17:44 +0000)] 
Remove redundant slash from example - mod_proxy doc

Submitted by: nisbet-hubbard <87453615+nisbet-hubbard@users.noreply.github.com>

Github: closes #378

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

18 months agoClarifies advice around quoting regular expressions.
Rich Bowen [Mon, 29 Jan 2024 14:24:31 +0000 (14:24 +0000)] 
Clarifies advice around quoting regular expressions.

Submitted by: nisbet-hubbard <87453615+nisbet-hubbard@users.noreply.github.com>

Github: closes #379

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

18 months agofill in empty descriptions from command_rec
Eric Covener [Sat, 27 Jan 2024 14:24:48 +0000 (14:24 +0000)] 
fill in empty descriptions from command_rec

[skip ci]

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

18 months agoAdd missing mod_proxy_hchech
Jean-Frederic Clere [Fri, 26 Jan 2024 16:26:53 +0000 (16:26 +0000)] 
Add missing mod_proxy_hchech

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

18 months agoab needs an additional Ws2_32.lib (like abs)
Jean-Frederic Clere [Fri, 26 Jan 2024 16:15:18 +0000 (16:15 +0000)] 
ab needs an additional Ws2_32.lib (like abs)

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

18 months agoundo previous commit.
Jean-Frederic Clere [Fri, 26 Jan 2024 16:11:49 +0000 (16:11 +0000)] 
undo previous commit.

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

18 months agoab needs an additional Ws2_32.lib (like abs)
Jean-Frederic Clere [Fri, 26 Jan 2024 14:25:15 +0000 (14:25 +0000)] 
ab needs an additional Ws2_32.lib (like abs)

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

18 months agoUse ap_os_is_path_absolute() to make it portable.
Jean-Frederic Clere [Thu, 25 Jan 2024 14:36:45 +0000 (14:36 +0000)] 
Use ap_os_is_path_absolute() to make it portable.

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

18 months ago* Create README.md as symlink to README for better Github rendering [skip ci]
Ruediger Pluem [Thu, 25 Jan 2024 07:09:28 +0000 (07:09 +0000)] 
* Create README.md as symlink to README for better Github rendering [skip ci]

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

18 months agoConverts README to markdown (no textual changes) for better display on
Rich Bowen [Wed, 24 Jan 2024 21:33:30 +0000 (21:33 +0000)] 
Converts README to markdown (no textual changes) for better display on
Github.

Submitted by: Mayank Patil (Mayank-2545@users.noreply.github.com)

Patch modified to preserve original linebreaks.

Github: closes #363

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

18 months agoUpdated typo NWGNUmakefile
Rich Bowen [Wed, 24 Jan 2024 14:44:49 +0000 (14:44 +0000)] 
Updated typo NWGNUmakefile

dependencies was spelled dependancies.

Submitted by: StevenSedwick <133059415+StevenSedwick@users.noreply.github.com>

Github: closes #382

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

18 months ago *) mod_http2: v2.0.26 with the following fixes:
Stefan Eissing [Wed, 17 Jan 2024 08:38:02 +0000 (08:38 +0000)] 
  *) mod_http2: v2.0.26 with the following fixes:
     - Fixed `Date` header on requests upgraded from HTTP/1.1 (h2c). Fixes
       <https://github.com/icing/mod_h2/issues/272>.
     - Fixed small memory leak in h2 header bucket free. Thanks to
       Michael Kaufmann for finding this and providing the fix.

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

18 months agomod_headers: Avoid infinite recursion with the edit* action and empty matches.
Yann Ylavic [Tue, 16 Jan 2024 17:40:36 +0000 (17:40 +0000)] 
mod_headers: Avoid infinite recursion with the edit* action and empty matches.

Change the recursion used for edit* to a loop using the new ap_regexec_ex()
function taking the current position (offset) in the subject string.

After an empty match do the same thing as pcre2_substitute() (or Perl's /g),
that is: don't allow for another empty match at the same positition by setting
the AP_REG_NOTEMPTY_ATSTART option. If there is a non-empty match use it,
otherwise skip/consume the first character and continue from there.

* modules/metadata/mod_headers.c:
  Rename the hdr_edit_r enum for edit* to hdr_edit_all to better express what
  is does (and since the action is not recursive anymore).

* modules/metadata/mod_headers.c(push_string, push_match):
  New helpers to consume the subject and substitutions in an array of iovec.

* modules/metadata/mod_headers.c(process_regexp):
  Implement the new logic, using push_match() and push_string() to fill the
  iovec array finally passed to apr_strcatv() for the resulting string.

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

18 months agoTrigger ci.
Yann Ylavic [Tue, 16 Jan 2024 17:10:31 +0000 (17:10 +0000)] 
Trigger ci.

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

18 months agoregex: Add AP_REG_NOTEMPTY_ATSTART maching option.
Yann Ylavic [Tue, 16 Jan 2024 16:56:58 +0000 (16:56 +0000)] 
regex: Add AP_REG_NOTEMPTY_ATSTART maching option.

* include/ap_mmn.h:
  Bump MMN minor.

* include/ap_regex.h:
  Define AP_REG_NOTEMPTY_ATSTART bit.

* server/util_pcre.c(ap_regexec_ex):
  Map AP_REG_NOTEMPTY_ATSTART to native PCRE_NOTEMPTY_ATSTART.

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

18 months agoregex: Add ap_regexec_ex() which can take a starting offset to match from.
Yann Ylavic [Tue, 16 Jan 2024 16:51:03 +0000 (16:51 +0000)] 
regex: Add ap_regexec_ex() which can take a starting offset to match from.

* include/ap_mmn.h:
  Bump MMN minor.

* include/ap_regex.h:
  Declare ap_regexec_ex().

* server/util_pcre.c(ap_regexec, ap_regexec_len, ap_regexec_ex):
  Reuse existing ap_regexec_len() code to implement ap_regexec_ex() where the
  offset is given instead of zero, then implement ap_regexec{,len}() in terms
  of ap_regexec_ex().

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

19 months agoFix a typo (missing "t")
Christophe Jaillet [Sat, 23 Dec 2023 10:30:04 +0000 (10:30 +0000)] 
Fix a typo (missing "t")
s/redisribution/redistribution/

PR 67018 [<hanskrentel yahoo.de>]

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

19 months agoFix the authorization types that support expressions.
Christophe Jaillet [Sat, 23 Dec 2023 09:42:02 +0000 (09:42 +0000)] 
Fix the authorization types that support expressions.

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

19 months agofr doc XML file update.
Lucien Gentis [Thu, 21 Dec 2023 15:19:11 +0000 (15:19 +0000)] 
fr doc XML file update.

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

19 months ago* modules/http/chunk_filter.c (ap_http_chunk_filter): For a brigade
Joe Orton [Wed, 20 Dec 2023 15:56:15 +0000 (15:56 +0000)] 
* modules/http/chunk_filter.c (ap_http_chunk_filter): For a brigade
  containing [FLUSH EOS], insert the last-chunk terminator before the
  FLUSH rather than between the FLUSH and the EOS.

Github: closes #400

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

19 months agomod_deflate: remove filter after seeing EOS
Joe Orton [Wed, 20 Dec 2023 13:07:40 +0000 (13:07 +0000)] 
mod_deflate: remove filter after seeing EOS

Submitted by: Eric Norris <enorris etsy.com>
Github: closes #387

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

19 months ago* modules/ssl/ssl_engine_pphrase.c (modssl_load_engine_keypair): Fix
Joe Orton [Wed, 13 Dec 2023 09:44:19 +0000 (09:44 +0000)] 
* modules/ssl/ssl_engine_pphrase.c (modssl_load_engine_keypair): Fix
  build (hopefully) for OpenSSL 3.x with OPENSSL_NO_ENGINE defined.

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

19 months agofr doc rebuild.
Lucien Gentis [Sat, 9 Dec 2023 16:21:24 +0000 (16:21 +0000)] 
fr doc rebuild.

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

19 months agofr doc XML files updates.
Lucien Gentis [Sat, 9 Dec 2023 16:20:06 +0000 (16:20 +0000)] 
fr doc XML files updates.

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

19 months agomissing </p> tag.
Lucien Gentis [Sat, 9 Dec 2023 16:18:07 +0000 (16:18 +0000)] 
missing </p> tag.

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

19 months ago* modules/dav/fs/mod_dav_fs.c (dav_fs_post_config): Make safe for
Joe Orton [Fri, 8 Dec 2023 11:43:23 +0000 (11:43 +0000)] 
* modules/dav/fs/mod_dav_fs.c (dav_fs_post_config): Make safe for
  2.4.x without ap_state_dir_relative.

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

19 months ago* modules/dav/main/util.c (dav_validate_resource_state): Fix error
Joe Orton [Thu, 7 Dec 2023 18:29:15 +0000 (18:29 +0000)] 
* modules/dav/main/util.c (dav_validate_resource_state): Fix error
  message formatting if an unauthenticated user tries to use an
  authenticated user's lock token (cosmetic fix only).

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

19 months agomod_dav_fs: Add global mutex around use of lockdb use, since
Joe Orton [Thu, 7 Dec 2023 18:25:35 +0000 (18:25 +0000)] 
mod_dav_fs: Add global mutex around use of lockdb use, since
apr_dbm does not provide thread-safe locking:

* modules/dav/fs/mod_dav_fs.c (dav_fs_get_server_conf):
  Replaces dav_get_lockdb_path.
  (dav_fs_pre_config, dav_fs_child_init): New hooks.
  (dav_fs_post_config): Create & store the mutex here.
  (register_hooks): Register new hooks.

* modules/dav/fs/repos.h: Expose new dav_fs_server_conf struct.

* modules/dav/fs/lock.c (dav_fs_lockdb_cleanup): New cleanup
  which unlocks and closes the dbm handle.
  (dav_fs_really_open_lockdb): Lock the mutex here, register a
  cleanup.
  (dav_fs_open_lockdb): Adjust to use dav_fs_get_server_conf.
  (dav_fs_close_lockdb): Run the cleanup here.

Github: closes #395

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

19 months agodocs: Follow up to r1914382: Propose to build from sources too.
Yann Ylavic [Wed, 6 Dec 2023 12:45:26 +0000 (12:45 +0000)] 
docs: Follow up to r1914382: Propose to build from sources too.

And provide our link to them.

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

19 months agodocs: update/fix download link for awk.exe on Windows.
Yann Ylavic [Wed, 6 Dec 2023 12:27:13 +0000 (12:27 +0000)] 
docs: update/fix download link for awk.exe on Windows.

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

20 months agomod_auth_bearer: Fix warning about signed bitfields. BZ 68294
Yann Ylavic [Tue, 5 Dec 2023 17:45:24 +0000 (17:45 +0000)] 
mod_auth_bearer: Fix warning about signed bitfields. BZ 68294

clang reports: implicit truncation from 'int' to a one-bit wide bit-field
               changes value from 1 to -1

Change authoritative_set and proxy_set bitfields to unsigned.

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

20 months agomod_ssl: Add support for loading keys from OpenSSL 3.x providers via
Joe Orton [Tue, 5 Dec 2023 15:26:22 +0000 (15:26 +0000)] 
mod_ssl: Add support for loading keys from OpenSSL 3.x providers via
the STORE API. Separates compile-time support for the STORE API
(supported in 3.x) from support for the ENGINE API (deprecated in
3.x).

* modules/ssl/ssl_private.h: Define MODSSL_HAVE_OPENSSL_STORE for
  OpenSSL 3.0+.

* modules/ssl/ssl_engine_pphrase.c (modssl_load_store_uri,
  modssl_load_keypair_store): New functions.
  (modssl_load_keypair_engine): Renamed from modssl_load_keypair_engine.
  (modssl_load_engine_keypair): Reimplement to use new STORE-based
  functions if SSLCryptoDevice was not configured, or else old
  ENGINE implementation.

* modules/ssl/ssl_util.c (modssl_is_engine_id): Match pkcs11: URIs
  also for the OpenSSL 3.x STORE API.

* modules/ssl/ssl_engine_init.c (ssl_init_server_certs): Tweak log
  message on error paths for the provider/STORE case.

Signed-off-by: Ingo Franzki <ifranzki linux.ibm.com>
Submitted by: Ingo Franzki <ifranzki linux.ibm.com>
Github: closes #397, closes #398

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

20 months agomod_ssl: Follow up to r1908537: Fix typo s/MODSSL_USE_ENGINE_API/MODSSL_HAVE_ENGINE_API/
Yann Ylavic [Mon, 4 Dec 2023 14:46:32 +0000 (14:46 +0000)] 
mod_ssl: Follow up to r1908537: Fix typo s/MODSSL_USE_ENGINE_API/MODSSL_HAVE_ENGINE_API/

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

20 months agoBe consistently const across all members of authn_ldap_request_t. Remove
Graham Leggett [Sat, 2 Dec 2023 09:52:25 +0000 (09:52 +0000)] 
Be consistently const across all members of authn_ldap_request_t. Remove
unnecessary string duplication.

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

20 months agomod_authnz_ldap: Follow up to r1914067: Deduplicate APLOGNO(01699).
Yann Ylavic [Tue, 28 Nov 2023 21:46:04 +0000 (21:46 +0000)] 
mod_authnz_ldap: Follow up to r1914067: Deduplicate APLOGNO(01699).

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

20 months agoAPLOGNO for duplicated 01699.
Yann Ylavic [Tue, 28 Nov 2023 21:43:01 +0000 (21:43 +0000)] 
APLOGNO for duplicated 01699.

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

20 months agofr doc rebuild.
Lucien Gentis [Sat, 25 Nov 2023 16:04:41 +0000 (16:04 +0000)] 
fr doc rebuild.

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

20 months agofr doc XML file update.
Lucien Gentis [Sat, 25 Nov 2023 16:02:32 +0000 (16:02 +0000)] 
fr doc XML file update.

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

20 months agofr doc XML file update.
Lucien Gentis [Sat, 25 Nov 2023 15:53:23 +0000 (15:53 +0000)] 
fr doc XML file update.

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

20 months agofr doc XML file update.
Lucien Gentis [Sat, 25 Nov 2023 15:49:50 +0000 (15:49 +0000)] 
fr doc XML file update.

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

20 months agoMake sure attributes from ldapsearch are passed into the environment. Make sure
Graham Leggett [Fri, 24 Nov 2023 17:01:43 +0000 (17:01 +0000)] 
Make sure attributes from ldapsearch are passed into the environment. Make sure
the distinguished name is duplicated before being used.

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

20 months agoRemove unnecessary references to r->user within ldap-search.
Graham Leggett [Fri, 24 Nov 2023 16:26:41 +0000 (16:26 +0000)] 
Remove unnecessary references to r->user within ldap-search.

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

20 months agoReserve some lognos for pull #618.
Joe Orton [Thu, 23 Nov 2023 17:01:02 +0000 (17:01 +0000)] 
Reserve some lognos for pull #618.

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

20 months agoOptimise handling LDAP authorization where LDAP was not used
Graham Leggett [Thu, 23 Nov 2023 10:22:58 +0000 (10:22 +0000)] 
Optimise handling LDAP authorization where LDAP was not used
previously for LDAP authentication.

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

20 months agoAdd an option to specify a source address.
Graham Leggett [Wed, 22 Nov 2023 17:19:49 +0000 (17:19 +0000)] 
Add an option to specify a source address.

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

20 months agomention httpd.conf and install root dependency
Eric Covener [Wed, 22 Nov 2023 14:02:53 +0000 (14:02 +0000)] 
mention httpd.conf and install root dependency

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

20 months agoremove apachehaus
Eric Covener [Wed, 22 Nov 2023 13:54:06 +0000 (13:54 +0000)] 
remove apachehaus

I've read in two places they are no longer providing builds,
and the website is currently down.

[skip ci]

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

20 months agomod_ldap: Add a hint to install the apr_ldap module on init failure.
Graham Leggett [Wed, 22 Nov 2023 12:14:02 +0000 (12:14 +0000)] 
mod_ldap: Add a hint to install the apr_ldap module on init failure.

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

20 months ago* include/ap_socache.h: Update comment only, to remove reference to
Joe Orton [Wed, 22 Nov 2023 09:03:34 +0000 (09:03 +0000)] 
* include/ap_socache.h: Update comment only, to remove reference to
  session cache. [skip ci]

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

20 months agomod_xml2enc: remove dependency on xmlstring header
Eric Covener [Tue, 21 Nov 2023 12:58:47 +0000 (12:58 +0000)] 
mod_xml2enc: remove dependency on xmlstring header

Submitted by: ttachi <tachihara@hotmail.com>

Github: closes #393

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

20 months agomod_authnz_ldap: Follow up to r1913962: r->user not used in ldapsearch_check_authoriz...
Yann Ylavic [Mon, 20 Nov 2023 12:07:11 +0000 (12:07 +0000)] 
mod_authnz_ldap: Follow up to r1913962: r->user not used in ldapsearch_check_authorization().

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

20 months agoRestore log message tag 02636, assign unique tags.
Graham Leggett [Mon, 20 Nov 2023 09:58:42 +0000 (09:58 +0000)] 
Restore log message tag 02636, assign unique tags.

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

20 months agoBump log-message-tags.
Graham Leggett [Mon, 20 Nov 2023 09:56:15 +0000 (09:56 +0000)] 
Bump log-message-tags.

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

20 months agoApply earlier fix to the ldapsearch case:
Graham Leggett [Sun, 19 Nov 2023 10:45:05 +0000 (10:45 +0000)] 
Apply earlier fix to the ldapsearch case:

Arrange for backend LDAP connections to be returned
to the pool by a fixup hook rather than staying locked
until the end of (a potentially slow) request.

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

20 months agoSet authorization request variables in the ldapsearch case.
Graham Leggett [Sun, 19 Nov 2023 10:10:02 +0000 (10:10 +0000)] 
Set authorization request variables in the ldapsearch case.

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

20 months agoAdd check for LDAP filter overflow, and exit cleanly.
Graham Leggett [Sun, 19 Nov 2023 09:23:23 +0000 (09:23 +0000)] 
Add check for LDAP filter overflow, and exit cleanly.

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

20 months agomod_proxy: Follow up to r1912245: ap_proxy_ prefix for extern functions.
Yann Ylavic [Sat, 18 Nov 2023 13:49:04 +0000 (13:49 +0000)] 
mod_proxy: Follow up to r1912245: ap_proxy_ prefix for extern functions.

Even if they are not part of the API (not in mod_proxy.h) hence requires no
MMN bump, {get,set,increment_,decrement_}busy_count() being AP_PROXY_DECLARE()d
could name-collide with a third-party module's functions.

Rename them using the ap_proxy_ prefix, with an underscore after the verb for
for all of them too (for consistency), that is:
    ap_proxy_{get,set,increment,decrement}_busy_count()

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

20 months agomod_ldap: HTML-escape ldap-status handler.
Eric Covener [Thu, 16 Nov 2023 19:53:18 +0000 (19:53 +0000)] 
mod_ldap: HTML-escape ldap-status handler.

Reported by Chamal De Silva.

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

20 months agoFollow up to r1874101: Axe useless LIBRESSL_VERSION_NUMBER check.
Yann Ylavic [Thu, 16 Nov 2023 14:58:52 +0000 (14:58 +0000)] 
Follow up to r1874101: Axe useless LIBRESSL_VERSION_NUMBER check.

Since the fix to MODSSL_USE_OPENSSL_PRE_1_1_API in r1908537, we are sure that
  !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2070000fL
in this block.

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

20 months agomod_md: Fix/axe incorrect MD_USE_OPENSSL_PRE_1_1_API definition.
Yann Ylavic [Thu, 16 Nov 2023 13:56:24 +0000 (13:56 +0000)] 
mod_md: Fix/axe incorrect MD_USE_OPENSSL_PRE_1_1_API definition.

Borrowed from mod_ssl, now fixed there (r1908537) so follow up in mod_md..

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

20 months agoFollow up to r1908537: CHANGES entry.
Yann Ylavic [Thu, 16 Nov 2023 11:44:31 +0000 (11:44 +0000)] 
Follow up to r1908537: CHANGES entry.

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

20 months agoci: Disable ASan's LeakSanitizer.
Yann Ylavic [Thu, 16 Nov 2023 10:27:30 +0000 (10:27 +0000)] 
ci: Disable ASan's LeakSanitizer.

The tool sometimes/somehow crashes in CI, though I can't reproduce locally.
Possibly an issue with the gcc toolchain used there.. disable for now as it
makes the tests fail.

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

20 months agoFollow up to r1913815: credit Joe in CHANGES too.
Yann Ylavic [Wed, 15 Nov 2023 22:24:28 +0000 (22:24 +0000)] 
Follow up to r1913815: credit Joe in CHANGES too.

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

20 months agomod_ssl: Disable the OpenSSL ENGINE API when OPENSSL_NO_ENGINE is set. PR 68080
Yann Ylavic [Wed, 15 Nov 2023 22:09:05 +0000 (22:09 +0000)] 
mod_ssl: Disable the OpenSSL ENGINE API when OPENSSL_NO_ENGINE is set.  PR 68080

Also, always allow for "SSLCryptoDevice builtin" even if the ENGINE API is not
available, OPENSSL_NO_ENGINE or more generally with the new API (providers)
available since OpenSSL >= 3.

* ssl_private.h: Set MODSSL_HAVE_ENGINE_API to 0 if OPENSSL_NO_ENGINE.

* mod_ssl.c, ssl_engine_config.c: Don't depend on HAVE_OPENSSL_ENGINE_H and
  HAVE_ENGINE_INIT to provide [ssl_cmd_]SSLCryptoDevice.

Submitted by: ylavic, jorton

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

20 months ago* modules/dav/fs/config6.m4: Set _LDADD so that
Joe Orton [Tue, 7 Nov 2023 16:46:36 +0000 (16:46 +0000)] 
* modules/dav/fs/config6.m4: Set _LDADD so that
  mod_dav_fs-internal functions are not exported in
  the built DSO.

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

20 months agomd_crypt: Fix potential memory leak with openssl < 3.
Yann Ylavic [Mon, 6 Nov 2023 10:53:28 +0000 (10:53 +0000)] 
md_crypt: Fix potential memory leak with openssl < 3.

EVP_PKEY_get1_RSA()'s returned value should be EVP_PKEY_free()d, but
we can use EVP_PKEY_get0_RSA() here.

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

21 months agomod_proxy: Follow up to r1912459: Fix reuse of forward_info.
Yann Ylavic [Thu, 2 Nov 2023 15:06:44 +0000 (15:06 +0000)] 
mod_proxy: Follow up to r1912459: Fix reuse of forward_info.

Use the correct fwd_pool for allocating the forward_info when the connection
is reusable as spotted by RĂ¼diger.

Do not reuse conn->forward if the ->proxy_auth changed.

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

21 months agofr doc small corrections.
Lucien Gentis [Wed, 1 Nov 2023 16:07:33 +0000 (16:07 +0000)] 
fr doc small corrections.

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

21 months ago * mod_md: Fix the reported "until" validity of a certificate in the status
Stefan Eissing [Tue, 31 Oct 2023 10:24:11 +0000 (10:24 +0000)] 
 * mod_md: Fix the reported "until" validity of a certificate in the status
   handler. [Rainer Jung]
   Fix possible NULL deref when logging the error that an authentication
   resource could not be retrieved from the ACME server. [Stefan Eissing]

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

21 months ago* Fix .gdbinit directory location
Ruediger Pluem [Mon, 30 Oct 2023 15:02:00 +0000 (15:02 +0000)] 
* Fix .gdbinit directory location

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

21 months ago* .gdbinit is one level deeper
Ruediger Pluem [Mon, 30 Oct 2023 14:43:12 +0000 (14:43 +0000)] 
* .gdbinit is one level deeper

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

21 months ago* Systemd based systems might process core dumps via systemd-coredump.
Ruediger Pluem [Mon, 30 Oct 2023 14:22:05 +0000 (14:22 +0000)] 
* Systemd based systems might process core dumps via systemd-coredump.
  But we want to have local unprocessed files.

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

21 months ago* Document r1912459. [skip ci]
Ruediger Pluem [Mon, 30 Oct 2023 10:44:59 +0000 (10:44 +0000)] 
* Document r1912459. [skip ci]

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