]>
git.ipfire.org Git - thirdparty/apache/httpd.git/log
Rainer Jung [Thu, 4 Apr 2024 22:46:59 +0000 (22:46 +0000)]
Fix occasional pytest failures
in modules/http2/test_800_websockets.py
(test_h2_800_04_non_ws_resource and
test_h2_800_09b_unsupported) due to
additional RST messages.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916808 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Thu, 4 Apr 2024 22:19:09 +0000 (22:19 +0000)]
Fix failing pytest modules/http2/test_712_buffering.py:48.
Do not count lines like "00:12:26.578220 <= Recv data, 0 bytes (0x0)"
(which happen before the final close) as receiving a real chunk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916806 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Thu, 4 Apr 2024 21:48:51 +0000 (21:48 +0000)]
Fix pytest failure when using older nghttp2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916804 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 3 Apr 2024 11:55:16 +0000 (11:55 +0000)]
bail after too many failed reads
Submitted By: icing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916771 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 3 Apr 2024 11:51:36 +0000 (11:51 +0000)]
header validation after content-* are eval'ed
Submitted By: ylavic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916770 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 3 Apr 2024 11:49:53 +0000 (11:49 +0000)]
let httpd handle CL/TE for non-http handlers
Submitted By: ylavic, covener
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916769 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Mon, 1 Apr 2024 08:39:13 +0000 (08:39 +0000)]
r1881790 has also added the 3rd argument to "ProxyRemoteMatch"
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916708 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Mon, 1 Apr 2024 08:21:46 +0000 (08:21 +0000)]
Add <compatibility> note for CGIScriptTimeout.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916704 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Sat, 30 Mar 2024 21:10:59 +0000 (21:10 +0000)]
Update copyright year
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916669 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 26 Mar 2024 17:00:09 +0000 (17:00 +0000)]
mod_ssl: Allow for "SSLCompression off" still when OPENSSL_NO_COMP.
Latest OpenSSL versions have OPENSSL_NO_COMP by default, avoid breaking
existing "SSLCompression off" in configurations since it's a noop.
* modules/ssl/ssl_engine_config.c(ssl_cmd_SSLCompression):
Don't fail for OPENSSL_NO_COMP if the flag is "off".
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916561 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 26 Mar 2024 15:03:23 +0000 (15:03 +0000)]
CI: Add OpenSSL 3.3.0 alpha1 build.
Github: closes #424
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916559 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 18 Mar 2024 16:46:11 +0000 (16:46 +0000)]
CI: conditional didn't work in r1916396, always apply ASAN workaround.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916397 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 18 Mar 2024 16:40:37 +0000 (16:40 +0000)]
CI: Try working around recent ASAN failures.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916396 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 18 Mar 2024 10:56:44 +0000 (10:56 +0000)]
Reserve two lognos. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916388 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Mon, 18 Mar 2024 08:18:11 +0000 (08:18 +0000)]
Fix BrowserMatch for gvfs.
PR: 66148
Submitted by: Romain Tartière <romain blogreen.org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916381 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Fri, 15 Mar 2024 15:26:11 +0000 (15:26 +0000)]
mod_systemd: if SELinux is available and enabled, log the SELinux
context at startup, since this may vary when httpd is started via
systemd vs being started directly.
* modules/arch/unix/mod_systemd.c (systemd_post_config):
Do nothing for the pre-config iteration.
Log the SELinux context if available.
* modules/arch/unix/config5.m4: Detect libselinux.
Have at least one CI job build mod_systemd.
Github: closes #422
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916344 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Fri, 15 Mar 2024 14:49:38 +0000 (14:49 +0000)]
Steal a number. [skip ci]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916343 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Mar 2024 17:12:17 +0000 (17:12 +0000)]
mod_systemd: Axe APR_OPTIONAL_FN redeclarations to avoid compiler warning.
ap_find_systemd_socket() and ap_systemd_listen_fds() are already declared in
"ap_listen.h", so just include them.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916312 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Mar 2024 15:02:59 +0000 (15:02 +0000)]
mod_autht_jwt: Use unsigned rather than signed one-bit fields.
Or their non-zero value should be considered -1 rather than 1.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916300 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Mar 2024 14:54:59 +0000 (14:54 +0000)]
mod_crypto: Fix warnings about signed bit fields.
The non-zero value for one bit field is -1:
mod_crypto.c|565 col 18| error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
|| ctx->encrypt = 1;
|| ^ ~
mod_crypto.c|746 col 22| error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
|| ctx->clength = 1;
|| ^ ~
mod_crypto.c|903 col 35| error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
|| ctx->seen_eos = 1;
|| ^ ~
mod_crypto.c|960 col 22| error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
|| ctx->clength = 1;
|| ^ ~
Use unsigned bit fields for struct crypto_ctx's members seen_eos, encrypt and clength.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916299 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Mar 2024 14:38:36 +0000 (14:38 +0000)]
mod_rewrite: disambiguate select_random_value_part().
gcc-13's -fsanitize=undefined finds:
mod_rewrite.c|1702 col 37| error: '%s' directive argument is null [-Werror=format-overflow=]
|| 1701 | value = select_random_value_part(r, value);
|| 1702 | rewritelog((r, 5, NULL, "randomly chosen the subvalue `%s'",value));
|| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
because it's not clear from select_random_value_part() whether it can return NULL or not.
Rewrite the function so that it's clearer/simpler.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916298 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 13 Mar 2024 01:26:54 +0000 (01:26 +0000)]
shutdown carefully when threads don't start
Submitted By: ylavic, covener
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916267 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Tue, 12 Mar 2024 00:28:34 +0000 (00:28 +0000)]
use graceful exit if lister started
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1916243 13f79535 -47bb-0310-9956-
ffa450edef68
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