]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
2 years agoFix the rewriterule syntax, while also removing the directory-vs-file
Rich Bowen [Thu, 12 Jan 2023 15:45:21 +0000 (15:45 +0000)] 
Fix the rewriterule syntax, while also removing the directory-vs-file
confusion that I introduced with my earlier change.

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

2 years agorebuild rewrite docs
Rich Bowen [Wed, 11 Jan 2023 18:49:05 +0000 (18:49 +0000)] 
rebuild rewrite docs

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

2 years agoAddresses https://bz.apache.org/bugzilla/show_bug.cgi?id=53108 -
Rich Bowen [Wed, 11 Jan 2023 18:47:21 +0000 (18:47 +0000)] 
Addresses https://bz.apache.org/bugzilla/show_bug.cgi?id=53108 -
explains the difference between rewriting to a full filesystem path vs a
webroot local path.

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

2 years agoRebuild docs.
Rich Bowen [Wed, 11 Jan 2023 15:35:24 +0000 (15:35 +0000)] 
Rebuild docs.

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

2 years agoAs per this thread -
Rich Bowen [Wed, 11 Jan 2023 15:32:28 +0000 (15:32 +0000)] 
As per this thread -
https://lists.apache.org/thread/g36po3tp24xl92s182plxlgv8rnl1hj8 -
clarify what RewriteCond evaluation is "fast fail."

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

2 years agocleanup on error
Eric Covener [Tue, 10 Jan 2023 13:19:07 +0000 (13:19 +0000)] 
cleanup on error

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

2 years agofail on bad header
Eric Covener [Tue, 10 Jan 2023 13:18:26 +0000 (13:18 +0000)] 
fail on bad header

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

2 years agoAdd a compatibility note
Christophe Jaillet [Mon, 9 Jan 2023 21:06:42 +0000 (21:06 +0000)] 
Add a compatibility note

[skip ci]

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

2 years agoAdd a compatibility note for HeartbeatMaxServers 0
Christophe Jaillet [Mon, 9 Jan 2023 20:45:00 +0000 (20:45 +0000)] 
Add a compatibility note for HeartbeatMaxServers 0
Add a missing hyperlink.

[skip ci]

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

2 years agoLimit triggering on non-code changes, try to capture error_log as
Joe Orton [Mon, 9 Jan 2023 13:33:58 +0000 (13:33 +0000)] 
Limit triggering on non-code changes, try to capture error_log as
an artifact on failure.

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

2 years agobundle in r1904518
Eric Covener [Mon, 9 Jan 2023 13:19:41 +0000 (13:19 +0000)] 
bundle in r1904518

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

2 years ago* modules/dav/main/util.c (dav_process_if_header): Fix error
Joe Orton [Mon, 9 Jan 2023 12:01:56 +0000 (12:01 +0000)] 
* modules/dav/main/util.c (dav_process_if_header): Fix error
  path for "Not" prefix parsing.

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

2 years agoEnable simplest CI test cases in GitHub Actions (currently also
Joe Orton [Mon, 9 Jan 2023 10:47:13 +0000 (10:47 +0000)] 
Enable simplest CI test cases in GitHub Actions (currently also
still enabled in Travis).  Based on apr/trunk.

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

2 years ago* .gdbinit (dump_bucket_ex): Use a string comparison with the bucket
Joe Orton [Mon, 9 Jan 2023 10:09:46 +0000 (10:09 +0000)] 
* .gdbinit (dump_bucket_ex): Use a string comparison with the bucket
  type name rather than a type pointer comparison, so this .gdbinit is
  usable outside httpd.

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

2 years agoPrep for GitHub actions: move CPAN handling into test scripts,
Joe Orton [Mon, 9 Jan 2023 09:26:05 +0000 (09:26 +0000)] 
Prep for GitHub actions: move CPAN handling into test scripts,
don't reference /home/travis directly.

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

2 years agofr doc rebuild.
Lucien Gentis [Sat, 7 Jan 2023 13:40:18 +0000 (13:40 +0000)] 
fr doc rebuild.

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

2 years agofr doc XML file update.
Lucien Gentis [Sat, 7 Jan 2023 13:39:15 +0000 (13:39 +0000)] 
fr doc XML file update.

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

2 years agoadd -T flag to truncate rotated logs only
Eric Covener [Fri, 6 Jan 2023 23:46:35 +0000 (23:46 +0000)] 
add -T flag to truncate rotated logs only

for strftime formats that will loop back on themselves, like
day of month or weekday name.

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

2 years agominor tweak to -n with size rotation
Eric Covener [Fri, 6 Jan 2023 20:45:16 +0000 (20:45 +0000)] 
minor tweak to -n with size rotation

Without -t, One line can be added to base "logfile" even when
it's over the size limit already.

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

2 years agoUse 'command -v' instead of 'which' which is more portable.
Ruediger Pluem [Wed, 4 Jan 2023 13:42:35 +0000 (13:42 +0000)] 
Use 'command -v' instead of 'which' which is more portable.

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

2 years ago* Add CHANGELOG for r1906379, r1906380
Ruediger Pluem [Wed, 4 Jan 2023 12:49:54 +0000 (12:49 +0000)] 
* Add CHANGELOG for r1906379, r1906380

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

2 years ago* Log URI causing to exceed the limit to ease analysis
Ruediger Pluem [Wed, 4 Jan 2023 11:36:19 +0000 (11:36 +0000)] 
* Log URI causing to exceed the limit to ease analysis

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

2 years ago* Optimize code flow
Ruediger Pluem [Wed, 4 Jan 2023 11:30:19 +0000 (11:30 +0000)] 
* Optimize code flow

  This whole code is only needed if have a loglevel of at least DEBUG.

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

2 years agofr doc rebuild.
Lucien Gentis [Sat, 17 Dec 2022 13:53:56 +0000 (13:53 +0000)] 
fr doc rebuild.

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

2 years ago *) mod_proxy_http2: apply the standard httpd content type handling
Stefan Eissing [Sat, 17 Dec 2022 10:21:56 +0000 (10:21 +0000)] 
  *) mod_proxy_http2: apply the standard httpd content type handling
     to responses from the backend, as other proxy modules do. Fixes PR 66391.
     Thanks to Jérôme Billiras for providing the patch.

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

2 years agofr doc XML file update.
Lucien Gentis [Thu, 15 Dec 2022 09:16:52 +0000 (09:16 +0000)] 
fr doc XML file update.

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

2 years agofr doc rebuild.
Lucien Gentis [Tue, 13 Dec 2022 09:10:03 +0000 (09:10 +0000)] 
fr doc rebuild.

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

2 years agofr doc XML file update.
Lucien Gentis [Tue, 13 Dec 2022 09:07:58 +0000 (09:07 +0000)] 
fr doc XML file update.

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

2 years agofr doc rebuild.
Lucien Gentis [Sat, 10 Dec 2022 17:04:00 +0000 (17:04 +0000)] 
fr doc rebuild.

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

2 years agofr doc XML files updates.
Lucien Gentis [Sat, 10 Dec 2022 17:02:54 +0000 (17:02 +0000)] 
fr doc XML files updates.

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

2 years agotypo
Eric Covener [Tue, 6 Dec 2022 13:38:37 +0000 (13:38 +0000)] 
typo

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

2 years agoPR66374: add some <If> warning notes.
Eric Covener [Tue, 6 Dec 2022 13:36:03 +0000 (13:36 +0000)] 
PR66374: add some <If> warning notes.

EXEC_ON_READ and similar can't be conditional on runtime checks,
but for backwards compat they aren't yet rejected.

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

2 years agomention some non-inuititive <If> stuff
Eric Covener [Sat, 3 Dec 2022 15:31:53 +0000 (15:31 +0000)] 
mention some non-inuititive <If> stuff

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

2 years agofr doc rebuild.
Lucien Gentis [Thu, 1 Dec 2022 17:24:01 +0000 (17:24 +0000)] 
fr doc rebuild.

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

2 years agofr doc XML file update.
Lucien Gentis [Thu, 1 Dec 2022 17:20:46 +0000 (17:20 +0000)] 
fr doc XML file update.

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

2 years agobump again
Jim Jagielski [Thu, 1 Dec 2022 13:07:45 +0000 (13:07 +0000)] 
bump again

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

2 years agoBump mmn
Jim Jagielski [Wed, 30 Nov 2022 14:44:05 +0000 (14:44 +0000)] 
Bump mmn

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

2 years ago* CMakeLists.txt: Make CMAKE_MINIMUM_REQUIRED the first directive as
Ivan Zhakov [Tue, 29 Nov 2022 14:47:15 +0000 (14:47 +0000)] 
* CMakeLists.txt: Make CMAKE_MINIMUM_REQUIRED the first directive as
  required by CMake documentation [1]

[1] https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html

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

2 years agoAdd a change entry for r1905229
Christophe Jaillet [Sat, 19 Nov 2022 16:00:03 +0000 (16:00 +0000)] 
Add a change entry for r1905229

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

2 years agofr doc rebuild.
Lucien Gentis [Sat, 19 Nov 2022 15:11:26 +0000 (15:11 +0000)] 
fr doc rebuild.

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

2 years agofr doc XML file update.
Lucien Gentis [Sat, 19 Nov 2022 15:10:03 +0000 (15:10 +0000)] 
fr doc XML file update.

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

2 years agofr doc XML files updates.
Lucien Gentis [Sat, 19 Nov 2022 15:00:26 +0000 (15:00 +0000)] 
fr doc XML files updates.

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

2 years agoRegen after r1905230: Document DAVlockDiscovery directive (en, fr)
manu [Wed, 16 Nov 2022 01:30:33 +0000 (01:30 +0000)] 
Regen after r1905230: Document DAVlockDiscovery directive (en, fr)

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

2 years agoDocument DAVlockDiscovery directive (en, fr)
manu [Fri, 11 Nov 2022 01:57:18 +0000 (01:57 +0000)] 
Document DAVlockDiscovery directive (en, fr)

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

2 years agoOpen the lock database read-only when possible
manu [Fri, 11 Nov 2022 01:46:28 +0000 (01:46 +0000)] 
Open the lock database read-only when possible

The goal is to reduce lock contention, since a read access only
requires a shared lock. The improvement should not be significant
since for now we open and close the lock database on each HTTP
request.

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

2 years agoadd an example where the filename doesnt change
Eric Covener [Wed, 9 Nov 2022 21:12:59 +0000 (21:12 +0000)] 
add an example where the filename doesnt change

also expand on conditions that authors of post-rotation programs might need to know

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

2 years agoInitialize allow_lockdiscovery as unset
manu [Wed, 9 Nov 2022 16:50:06 +0000 (16:50 +0000)] 
Initialize allow_lockdiscovery as unset

Removing the initialization means it is set as 0 by apr_pcalloc(), and
0 is DAV_ENABLED_UNSET

That is required to inherit configuration in dav_merge_dir_config()
as pointed out by rpluem@

We only check for allow_lockdiscovery against DAV_ENABLED_OFF, hence
DAV_ENABLED_UNSET is equivalent to DAV_ENABLED_ON, which is required
for backware compatibility sake.

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

2 years agoTurn DavLockDiscovery into a flag
manu [Wed, 9 Nov 2022 01:12:26 +0000 (01:12 +0000)] 
Turn DavLockDiscovery into a flag

As requested on dev@httpd.apache.org, turn DavLockDiscovery into a Flag.
Expressions can still be used by enclosing the directive by
<If "expr">...</If>

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

2 years agoTest against OpenSSL 3.0.7.
Joe Orton [Tue, 1 Nov 2022 15:52:35 +0000 (15:52 +0000)] 
Test against OpenSSL 3.0.7.

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

2 years agofr doc rebuild.
Lucien Gentis [Mon, 24 Oct 2022 11:36:35 +0000 (11:36 +0000)] 
fr doc rebuild.

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

2 years agofr doc XML files updates.
Lucien Gentis [Mon, 24 Oct 2022 11:23:39 +0000 (11:23 +0000)] 
fr doc XML files updates.

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

2 years agotypo
Lucien Gentis [Mon, 24 Oct 2022 11:21:46 +0000 (11:21 +0000)] 
typo

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

2 years ago *) mod_http2: field values (headers and trailers) are stripped of
Stefan Eissing [Sat, 22 Oct 2022 11:41:55 +0000 (11:41 +0000)] 
  *) mod_http2: field values (headers and trailers) are stripped of
     leading/trailing whitespace (space +htab) before being processed
     or send in a response. This is compatible behaviour to HTTP/1.1
     parsers that strip incoming headers of such characters.
     [Stefan Eissing]

  - removed intermittent "H2HeaderStrictness" directive again.

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

2 years ago *) test modules/http1, add testing field value with just whitespace.
Stefan Eissing [Sat, 22 Oct 2022 10:37:25 +0000 (10:37 +0000)] 
  *) test modules/http1, add testing field value with just whitespace.

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

2 years agoSteal a number
Christophe Jaillet [Sat, 22 Oct 2022 05:02:04 +0000 (05:02 +0000)] 
Steal a number

[skip ci]

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

2 years ago *) test modules/http1: adding new invalid header values and testing also via h1...
Stefan Eissing [Fri, 21 Oct 2022 07:39:49 +0000 (07:39 +0000)] 
  *) test modules/http1: adding new invalid header values and testing also via h1 proxy.

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

2 years agotests modules/http1: use "Header add" to produce response headers with whitespace.
Stefan Eissing [Wed, 19 Oct 2022 09:16:30 +0000 (09:16 +0000)] 
tests modules/http1: use "Header add" to produce response headers with whitespace.

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

2 years agomod_dav: Follow up to r1904638: Fix duplicated APLOGNO.
Yann Ylavic [Mon, 17 Oct 2022 17:54:01 +0000 (17:54 +0000)] 
mod_dav: Follow up to r1904638: Fix duplicated APLOGNO.

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

2 years agoSteal APLOGNO [skip ci]
Yann Ylavic [Mon, 17 Oct 2022 17:52:47 +0000 (17:52 +0000)] 
Steal APLOGNO [skip ci]

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

2 years agocatch by CJ
Jim Jagielski [Mon, 17 Oct 2022 11:16:49 +0000 (11:16 +0000)] 
catch by CJ

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

2 years agomod_dav: Allow to disable lock discovery via an DAVLockDiscovery expression.
Yann Ylavic [Mon, 17 Oct 2022 09:48:11 +0000 (09:48 +0000)] 
mod_dav: Allow to disable lock discovery via an DAVLockDiscovery expression.

mod_dav-fs scales badly when a few clients run PROPFIND requests to discover
directory content. Each PROPFIND involves lockdiscovery, which in turn waits
for a locked access to the file containing the lock database. Performances
quickly drop because of lock contention on this file.

Add a DAVLockDiscovery configuration directive that allows lockdiscovery to be
disabled. Its argument is an Apache expression so that flexible configuration
are possible (per-request).

When lock discovery is disabled, an empty lockdiscovery property is returned on
POPRFIND methods, just like if no lock was set on the object. That should cause
no regression, since a client cannot rely on lockdiscovery to decide when a
file should be accessed, the LOCK methood must be used.

If DAVLockDiscovery is not specified, the behavior is unchanged.

PR 66313.
Submitted by: Emmanuel Dreyfus <manu netbsd.org>
Reviewed by: ylavic

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

2 years agomod_http2: resolving duplicate log tag in #if/#else code copies.
Stefan Eissing [Fri, 14 Oct 2022 12:57:24 +0000 (12:57 +0000)] 
mod_http2: resolving duplicate log tag in #if/#else code copies.

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

2 years agostealing a number [skip ci]
Stefan Eissing [Fri, 14 Oct 2022 12:51:51 +0000 (12:51 +0000)] 
stealing a number [skip ci]

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

2 years agoaplogno should be called aplogyes
Stefan Eissing [Thu, 13 Oct 2022 07:12:43 +0000 (07:12 +0000)] 
aplogno should be called aplogyes

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

2 years agostealing another number. [skip ci]
Stefan Eissing [Thu, 13 Oct 2022 07:12:07 +0000 (07:12 +0000)] 
stealing another number. [skip ci]

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

2 years agoSync with v2.0.10 from github:
Stefan Eissing [Tue, 11 Oct 2022 14:54:08 +0000 (14:54 +0000)] 
Sync with v2.0.10 from github:

 * Extensive testing in production done by Alessandro Bianchi (@alexskynet)
   on the v2.0.x versions for stability. Many thanks!
 * refactored stream response handling to reflect the different phases
   (response/data/trailers) more clearly and help resolving cpu busy loops.
 * Adding more negative tests for handling of errored responses to cover
   edge cases.
 * mod_http2: fixed handling of response where neiter an EOS nor an ERROR was
   received as a cause to reset the stream.
 * mod_proxy_http2: generating error buckets for fault response bodies, to
   signal failure to fron when response header were already sent.

v2.0.9
--------------------------------------------------------------------------------
 * Fixed a bug where errors during reponse body handling did not lead to
   a proper RST_STREAM. Instead processing went into an infinite loop.
   Extended test cases to catch this condition.

v2.0.8
--------------------------------------------------------------------------------
 * Delaying input setup of a stream just before processing starts. This allows
   any EOS indicator arriving from the client before that to take effect.
   Without knowing that a stream has no input, internal processing has to
   simulate chunked encoding. This is not wrong, but somewhat more expensive
   and mod_security has been reported to be allergic to seeing 'chunked'
   on some requests. See <https://bz.apache.org/bugzilla/show_bug.cgi?id=66282>.
 * mod_proxy_http2: fixed #235 by no longer forwarding 'Host:' header when
   request ':authority' is known. Improved test case that did not catch that
   the previous 'fix' was incorrect.

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

2 years ago *) mod_proxy_hcheck: Re-enable workers in standard ERROR state. PR 66302.
Jim Jagielski [Tue, 11 Oct 2022 13:20:11 +0000 (13:20 +0000)] 
  *) mod_proxy_hcheck: Re-enable workers in standard ERROR state. PR 66302.
     [Alessandro Cavaliere <alessandro.cavalier7 unibo.it>]

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

2 years agoRemove trailing whitespace
Jim Jagielski [Tue, 11 Oct 2022 13:16:41 +0000 (13:16 +0000)] 
Remove trailing whitespace

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

2 years ago *) mod_proxy_hcheck: Detect AJP/CPING support correctly. PR 66300.
Jim Jagielski [Tue, 11 Oct 2022 13:15:24 +0000 (13:15 +0000)] 
  *) mod_proxy_hcheck: Detect AJP/CPING support correctly. PR 66300.
     [Alessandro Cavaliere <alessandro.cavalier7 unibo.it>]

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

2 years agomod_proxy: Ignore (and warn about) enablereuse=on for ProxyPassMatch when
Yann Ylavic [Tue, 11 Oct 2022 09:53:04 +0000 (09:53 +0000)] 
mod_proxy: Ignore (and warn about) enablereuse=on for ProxyPassMatch when
           some dollar substitution (backreference) happens in the hostname
           or port part of the URL.

Address or connection reuse can't work when the autority part of the URL is
dynamic (single origin server[:port] handled/assumed in the reslist). Detect
such cases and unset worker->s->is_address_reusable to disable reuse regardless
of enablereuse/disablereuse.

* modules/proxy/proxy_util.c(ap_proxy_define_worker_ex):
  Lookup for $n substitution in the hostname[:port] when parsing the URL and
  if present, set worker->->is_address_reusable=0 / worker->s->disablereuse=1.

* modules/proxy/proxy_util.c(ap_proxy_initialize_worker):
  Don't overwrite worker->s->is_address_reusable from enablereuse/disablereuse
  parameters, and set both consistently.

* docs/manual/mod/mod_proxy.xml:
  Add ProxyPassMatch compatibility note about key=value parameters handled with
  $n substitutions since 2.4.47.
  Document the specificities of enablereuse/disablereuse w.r.t. $n subsitutions
  in the different part of the URL.
  Axe the note about unparsable URLs when the $n substitution happens in the
  port, this has been addressed in 2.4.47 too (and works now).

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

2 years agoSteal a number for next commit. [skip ci]
Yann Ylavic [Tue, 11 Oct 2022 08:41:44 +0000 (08:41 +0000)] 
Steal a number for next commit. [skip ci]

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

2 years agoResolving a duplicate log tag after ressurecting h2_headers.c for 2.4.x compat.
Stefan Eissing [Thu, 6 Oct 2022 11:23:46 +0000 (11:23 +0000)] 
Resolving a duplicate log tag after ressurecting h2_headers.c for 2.4.x compat.

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

2 years agosteal a number [skip ci]
Stefan Eissing [Thu, 6 Oct 2022 11:13:58 +0000 (11:13 +0000)] 
steal a number [skip ci]

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

2 years agofr doc rebuild.
Lucien Gentis [Sat, 1 Oct 2022 12:33:34 +0000 (12:33 +0000)] 
fr doc rebuild.

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

2 years agofr doc XML file update.
Lucien Gentis [Sat, 1 Oct 2022 12:32:34 +0000 (12:32 +0000)] 
fr doc XML file update.

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

2 years ago *) mod_http2: synchronization with github sources.
Stefan Eissing [Tue, 27 Sep 2022 13:21:21 +0000 (13:21 +0000)] 
  *) mod_http2: synchronization with github sources.
     Building in trunk and against 2.4.x is now supported
     via AP_HAS_RESPONSE_BUCKETS defines.

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

2 years ago *) mod_http2: use proper apr_time_t where it is due, no (int) casting.
Stefan Eissing [Tue, 27 Sep 2022 11:00:10 +0000 (11:00 +0000)] 
  *) mod_http2: use proper apr_time_t where it is due, no (int) casting.

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

2 years ago *) mod_http2: type adjustments and castings for int/apr_uint32_t/apr_size_t/apr_off_t.
Stefan Eissing [Tue, 27 Sep 2022 10:53:51 +0000 (10:53 +0000)] 
  *) mod_http2: type adjustments and castings for int/apr_uint32_t/apr_size_t/apr_off_t.

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

2 years ago *) mod_http2: documentation clarification on dependency of H2HeaderStrictness on
Stefan Eissing [Mon, 26 Sep 2022 13:33:23 +0000 (13:33 +0000)] 
  *) mod_http2: documentation clarification on dependency of H2HeaderStrictness on
     the underlying nghttp2 version in play.

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

2 years ago *) mod_http2: documentation update on values for H2HeaderStrictness.
Stefan Eissing [Mon, 26 Sep 2022 13:28:18 +0000 (13:28 +0000)] 
  *) mod_http2: documentation update on values for H2HeaderStrictness.

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

2 years ago *) mod_http2: new directive "H2HeaderStrictness" to control the compliance
Stefan Eissing [Mon, 26 Sep 2022 12:29:47 +0000 (12:29 +0000)] 
  *) mod_http2: new directive "H2HeaderStrictness" to control the compliance
     level of header checks as defined in the HTTP/2 RFCs. Default is 7540.
     9113 activates the checks for forbidden leading/trailing whitespace in
     field values (available from nghttp2 v1.50.0 on).

   - source sync with github version
   - fix for keepalive idle wait in mpm_worker setup
   - ensuring EOS when secondary connection has been handled
   - fixed race in late input EOS arrival when stream was
     already scheduled for execution.

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

2 years ago *) mod_http2: removing bucket splitting into an extra recv brigade.
Stefan Eissing [Wed, 21 Sep 2022 11:23:24 +0000 (11:23 +0000)] 
  *) mod_http2: removing bucket splitting into an extra recv brigade.
     buckets are always received as a whole now, even if the total size
     exceeds the receivers specified length. This simplifies the internal
     handling and, since these buckets already exist, lead to less memory
     consumption overall.

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

2 years ago *) tests: load the top-level mod_aptest in all test suites.
Stefan Eissing [Wed, 21 Sep 2022 11:03:44 +0000 (11:03 +0000)] 
  *) tests: load the top-level mod_aptest in all test suites.
     - aptest logs the test name from the header 'AP-Test-Name' with
       the request line. LogLevel aptest:info is switched on.
     - pytest sets 'AP-Test-Name' for all curl/nghttp invocation
       against the server.

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

2 years ago *) mod_proxy_http2: use only the ':authority' header to forward 'Host'
Stefan Eissing [Tue, 20 Sep 2022 12:40:58 +0000 (12:40 +0000)] 
  *) mod_proxy_http2: use only the ':authority' header to forward 'Host'
     information to a backend. Deduce ':authority' from what the client
     sent when 'ProxyPreserveHost' is on.

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

2 years agofr doc rebuild.
Lucien Gentis [Sat, 10 Sep 2022 16:20:40 +0000 (16:20 +0000)] 
fr doc rebuild.

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

2 years agofr doc XML file update.
Lucien Gentis [Sat, 10 Sep 2022 16:19:16 +0000 (16:19 +0000)] 
fr doc XML file update.

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

2 years ago *) test mod_md: disabling test holding file lock as this fails in our CI
Stefan Eissing [Sat, 10 Sep 2022 08:15:49 +0000 (08:15 +0000)] 
  *) test mod_md: disabling test holding file lock as this fails in our CI

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

2 years agoFix a doc build issue introduced in r1903933.
Christophe Jaillet [Fri, 9 Sep 2022 16:23:13 +0000 (16:23 +0000)] 
Fix a doc build issue introduced in r1903933.

For an unknown reason, build worked like a charm yesterday, but not today :(

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

2 years agoFix a strange link in the French Doc.
Christophe Jaillet [Fri, 9 Sep 2022 16:14:12 +0000 (16:14 +0000)] 
Fix a strange link in the French Doc.

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

2 years agoAdd some syntax highlight to some directive usage examples.
Christophe Jaillet [Thu, 8 Sep 2022 19:20:17 +0000 (19:20 +0000)] 
Add some syntax highlight to some directive usage examples.

Fix a small style issue.

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

2 years agofr doc rebuild.
Lucien Gentis [Sat, 3 Sep 2022 13:48:28 +0000 (13:48 +0000)] 
fr doc rebuild.

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

2 years agofr doc XML files updates.
Lucien Gentis [Sat, 3 Sep 2022 13:47:01 +0000 (13:47 +0000)] 
fr doc XML files updates.

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

2 years agoemphasize a few things about authz_host
Eric Covener [Fri, 2 Sep 2022 23:17:14 +0000 (23:17 +0000)] 
emphasize a few things about authz_host

- "domain name" is not a good contrast for hostname unqualified, use "partial" as used earlier in the doc
- mention that DNS resolution [of the require line arguments] is done at runtime not startup. This may be
  obvious to developers when you see it uses an ap_expr but the question was specifically asked on IRC.

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

2 years agoxforms
Jim Jagielski [Mon, 29 Aug 2022 17:41:01 +0000 (17:41 +0000)] 
xforms

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

2 years agoDocument hcmethod enhancement to allow HTTP/1.1 comms
Jim Jagielski [Sun, 28 Aug 2022 20:07:35 +0000 (20:07 +0000)] 
Document hcmethod enhancement to allow HTTP/1.1 comms

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

2 years agoAllow for HTTP/1.1 or HTTP/1.0 protocol health checks
Jim Jagielski [Sun, 28 Aug 2022 18:46:21 +0000 (18:46 +0000)] 
Allow for HTTP/1.1 or HTTP/1.0 protocol health checks

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

2 years agofr doc rebuild.
Lucien Gentis [Sat, 27 Aug 2022 14:11:38 +0000 (14:11 +0000)] 
fr doc rebuild.

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

2 years agofr doc XML files updates.
Lucien Gentis [Sat, 27 Aug 2022 14:10:31 +0000 (14:10 +0000)] 
fr doc XML files updates.

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

2 years ago* Use apr_size_t instead of int to harden against overflows.
Ruediger Pluem [Thu, 25 Aug 2022 15:57:59 +0000 (15:57 +0000)] 
* Use apr_size_t instead of int to harden against overflows.

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

2 years agomod_md v2.4.19 from github sync
Stefan Eissing [Thu, 25 Aug 2022 14:00:13 +0000 (14:00 +0000)] 
mod_md v2.4.19 from github sync

  *) mod_md: a new directive `MDStoreLocks` can be used on cluster
     setups with a shared file system for `MDStoreDir` to order
     activation of renewed certificates when several cluster nodes are
     restarted at the same time. Store locks are not enabled by default.

     Restored curl_easy cleanup behaviour from v2.4.14 and refactored
     the use of curl_multi for OCSP requests to work with that.
     Fixes <https://github.com/icing/mod_md/issues/293>.

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