]>
git.ipfire.org Git - thirdparty/apache/httpd.git/log
Eric Covener [Mon, 11 Mar 2024 20:35:27 +0000 (20:35 +0000)]
event: avoid possible hang in clean_child_exit
If the pthread_create failure isn't on the first worker thread,
another one is likely to hold the queue mutex already. The cleanup
of pchild will try to cleanup the queue and block on destroying
the condition.
ST_UNGRACEFUL as we have no listener thread yet.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916241 13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Wed, 6 Mar 2024 12:14:46 +0000 (12:14 +0000)]
optarg is from unistd.h, use opt_arg from apr_getopt().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916148 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 5 Mar 2024 13:40:30 +0000 (13:40 +0000)]
CI: update actions to v4
Submitted by: Sagar <
42873729 +SagarCodeCtrl users.noreply.github.com>
Github: closes #414
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916133 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Fri, 1 Mar 2024 10:15:13 +0000 (10:15 +0000)]
CI: add OpenSSL 3.2, test OpenSSL 3.x using Apache::Test
trunk to pick up r1916067.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916068 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 29 Feb 2024 17:07:55 +0000 (17:07 +0000)]
CI: docs update only. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916059 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 29 Feb 2024 15:33:38 +0000 (15:33 +0000)]
CI: Add OpenSSL 3.1 builds, including a no-engine build.
(attempt to use 3.2 failed, unsure why)
- add OpenSSL build binaries to $PATH
Github: closes #415
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916058 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 29 Feb 2024 15:28:36 +0000 (15:28 +0000)]
* modules/ssl/ssl_engine_pphrase.c (modssl_load_engine_keypair):
Update to avoid GCC warning for no-engine builds where the
SSLModConfigRec is not used. Also log an error for the ENOTIMPL
path.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916057 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 29 Feb 2024 14:11:49 +0000 (14:11 +0000)]
Fix regression in r1916055 - don't duplicate logic in _run_linux.sh
from _before_linux.sh in whether the perl-framework is used/needed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916056 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 29 Feb 2024 14:00:55 +0000 (14:00 +0000)]
CI tweaks:
- don't install CPAN modules if NO_TEST_FRAMEWORK is set
- remove the workaround for mod_h2 APR build caching which
should no longer be necessary now caching is fixed
- fix capturing specific perl-framework failures with "TEST -v" mode
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916055 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 29 Feb 2024 13:35:04 +0000 (13:35 +0000)]
mod_ssl: Check SSL_CTX_new() return value
SSL_CTX_new() will return NULL if there was an error creating a new SSL context.
Submitted by: StephenWall
Github: closes #402
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916054 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 29 Feb 2024 13:30:50 +0000 (13:30 +0000)]
CI: Re-enable caching for *fixed* versions of apr/apr-util which
should now work correctly (since the version is in the cache key).
For 1.x branches, CLEAR_CACHE must still be used. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916053 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 29 Feb 2024 13:19:26 +0000 (13:19 +0000)]
CI: Enable caching for the rustls install used for mod_tls testing.
Github: closes #416
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916052 13f79535 -47bb-0310-9956-
ffa450edef68
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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