]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
9 months agoMerge r1921311 from trunk: [RTC exception for CI]
Joe Orton [Tue, 15 Oct 2024 11:33:02 +0000 (11:33 +0000)] 
Merge r1921311 from trunk: [RTC exception for CI]

CI: Use the image version in the cache keys. This is likely a simpler
and more robust fix for the issues with Perl XS builds being cached.
Root cause was likely "ubuntu-latest" changing from 22.04 to 24.04.
Cache keys will now change when that happens again, preventing reuse
of cached builds across OS versions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1921330 13f79535-47bb-0310-9956-ffa450edef68

9 months agoMerge r1838684, r1920570, r1920571, r1920572 from trunk:
Ruediger Pluem [Mon, 14 Oct 2024 06:56:45 +0000 (06:56 +0000)] 
Merge r1838684, r1920570, r1920571, r1920572 from trunk:

When a rewrite to proxy is configured in the server config, a check is made to make sure mod_proxy is active.  But the same is not done if a rewrite to proxy is configured in an .htaccess file.

Basically this patch is the block of code from hook_uri2file that does the proxy check, copied to hook_fixup.

Patch provided by Michael Streeter [mstreeter1 gmail.com], slightly modified to use a new APLOGNO
PR 56264

mod_rewrite, mod_proxy: mod_proxy to cononicalize rewritten [P] URLs. PR 69235.

When mod_rewrite sets a "proxy:" URL with [P], it should be canonicalized by
mod_proxy still, notably to handle any "unix:" local socket part.

To avoid double encoding in perdir context, a follow up commit should remove the
ap_escape_uri() done in mod_rewrite since it's now on mod_proxy to canonicalize,
per PR 69260.

* Leave the proper escaping of the URL and the adding of r->args to the
  proxy module which runs after us after r1920570.
  Just take care to add r->args in case the proxy rule has the
  [NE] flag set and tell the proxy module to not escape in this case.

* Mention the additional bug

Submitted by: jailletc36, ylavic, rpluem
Reviewed by: rpluem, ylavic, covener

Github: closes #484

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1921299 13f79535-47bb-0310-9956-ffa450edef68

9 months ago* Vote and promote [skip ci]
Ruediger Pluem [Mon, 14 Oct 2024 06:52:14 +0000 (06:52 +0000)] 
* Vote and promote [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1921298 13f79535-47bb-0310-9956-ffa450edef68

9 months agovote/promote
Eric Covener [Sat, 12 Oct 2024 18:46:27 +0000 (18:46 +0000)] 
vote/promote

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1921279 13f79535-47bb-0310-9956-ffa450edef68

9 months agoSplit mod_proxy_fcgi backports in two, the showstopper (BZ-69203) and fixup for
Yann Ylavic [Thu, 10 Oct 2024 16:30:29 +0000 (16:30 +0000)] 
Split mod_proxy_fcgi backports in two, the showstopper (BZ-69203) and fixup for
proxy-fcgi-pathinfo=full, thus reset Ruediger's vote.

Move showstopper proposals to their section (BZ-69203 and BZ-69235/69260/56264)
instead of the BZ refs.

Re-add my vote for r1920597.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1921239 13f79535-47bb-0310-9956-ffa450edef68

10 months agopause on rewrite/proxy thing
Eric Covener [Wed, 2 Oct 2024 14:42:25 +0000 (14:42 +0000)] 
pause on rewrite/proxy thing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1921086 13f79535-47bb-0310-9956-ffa450edef68

10 months agovote/promote/comment
Eric Covener [Wed, 2 Oct 2024 14:36:35 +0000 (14:36 +0000)] 
vote/promote/comment

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1921085 13f79535-47bb-0310-9956-ffa450edef68

10 months agoUpdate & reset mod_ssl vote.
Joe Orton [Tue, 1 Oct 2024 16:28:26 +0000 (16:28 +0000)] 
Update & reset mod_ssl vote.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1921077 13f79535-47bb-0310-9956-ffa450edef68

10 months ago+1 x 2
Yann Ylavic [Sat, 28 Sep 2024 00:07:55 +0000 (00:07 +0000)] 
+1 x 2

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1921001 13f79535-47bb-0310-9956-ffa450edef68

10 months ago* Add proposal
Ruediger Pluem [Fri, 27 Sep 2024 15:31:02 +0000 (15:31 +0000)] 
* Add proposal

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920993 13f79535-47bb-0310-9956-ffa450edef68

10 months agobackported
Eric Covener [Fri, 27 Sep 2024 13:11:34 +0000 (13:11 +0000)] 
backported

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920983 13f79535-47bb-0310-9956-ffa450edef68

10 months ago *) mod_rewrite: Improve safe question mark detection
Eric Covener [Fri, 27 Sep 2024 13:11:05 +0000 (13:11 +0000)] 
  *) mod_rewrite: Improve safe question mark detection

     Trunk version of patch:
        https://svn.apache.org/r1920566
     Backport version for 2.4.x of patch:
      Trunk version of patch works
      svn merge -c 1920566 ^/httpd/httpd/trunk .
     +1: rpluem, covener, jorton

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920982 13f79535-47bb-0310-9956-ffa450edef68

10 months agoMerge r1427465, r1918823 from trunk:
Eric Covener [Fri, 27 Sep 2024 13:10:34 +0000 (13:10 +0000)] 
Merge r1427465, r1918823 from trunk:

Remove support for Request-Range header sent by Navigator 2-3 and
MSIE 3

* Follow up to r1918814: Strings are from configuration and thus trusted

Submitted by: sf, rpluem
Reviewed by: rpluem, covener, jorton

Github: closes #475

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920981 13f79535-47bb-0310-9956-ffa450edef68

10 months agoMerge r1919860 from trunk:
Eric Covener [Fri, 27 Sep 2024 13:09:43 +0000 (13:09 +0000)] 
Merge r1919860 from trunk:

don't merge slashes on perdir prefix

Submitted by: covener
Reviewed by: covener, rpluem, jorton

Github: closes #473

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920980 13f79535-47bb-0310-9956-ffa450edef68

10 months ago *) Windows: Make UNCList EXEC_ON_READ to be early enough for
Eric Covener [Fri, 27 Sep 2024 13:08:17 +0000 (13:08 +0000)] 
  *) Windows: Make UNCList EXEC_ON_READ to be early enough for

     `Include //computername/include.conf`. PR69313
     Trunk version of patch:
       https://svn.apache.org/r1920564
     Backport version for 2.4.x of patch:
       svn merge -c r1920564 ^/httpd/httpd/trunk .
     +1 covener, rpluem, steffenal

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920979 13f79535-47bb-0310-9956-ffa450edef68

10 months ago *) mod_ldap: Add a hint to install the apr_ldap module on init failure.
Eric Covener [Fri, 27 Sep 2024 13:07:26 +0000 (13:07 +0000)] 
  *) mod_ldap: Add a hint to install the apr_ldap module on init failure.

      trunk patch: http://svn.apache.org/r1914038
      2.4.x patch: svn merge -c r1914038 ^/httpd/httpd/trunk .
      +1: minfrin, covener, rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920978 13f79535-47bb-0310-9956-ffa450edef68

10 months agoMerge r1919532, r1919533 from trunk:
Eric Covener [Fri, 27 Sep 2024 13:06:46 +0000 (13:06 +0000)] 
Merge r1919532, r1919533 from trunk:

*) mod_proxy: Avoid AH01059 parsing error for SetHandler "unix:" URLs
   in <Location> (incomplete fix in 2.4.62). PR 69160.

When SetHandler "unix:..." is used in a <Location "/path"> block, the path
gets appended (including $DOCUMENT_ROOT somehow) to r->filename hence the
current checks in fixup_uds_filename() to add "localhost" when missing don't
work. Fix them.

mod_proxy: Allow for empty UDS URL hostname in ProxyPass workers too.

Using "unix:/udspath|scheme:" or "unix:/udspath|scheme://" for a ProxyPass URL
does not work currently, while it works for SetHandler "proxy:unix:...".

Submitted by: ylavic
Reviewed by: ylavic, covener, rpluem

Github: closes #467

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920977 13f79535-47bb-0310-9956-ffa450edef68

10 months agoupdate-changes
Eric Covener [Fri, 27 Sep 2024 13:05:54 +0000 (13:05 +0000)] 
update-changes

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920976 13f79535-47bb-0310-9956-ffa450edef68

10 months agoVote x3, propose x1, note: CMake changes should be CTR.
Joe Orton [Thu, 26 Sep 2024 16:00:21 +0000 (16:00 +0000)] 
Vote x3, propose x1, note: CMake changes should be CTR.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920961 13f79535-47bb-0310-9956-ffa450edef68

10 months agovote, summarize must-haves
Eric Covener [Thu, 26 Sep 2024 15:39:54 +0000 (15:39 +0000)] 
vote, summarize must-haves

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920959 13f79535-47bb-0310-9956-ffa450edef68

10 months agofr doc xml file reviewed and corrected.
Lucien Gentis [Wed, 25 Sep 2024 12:52:39 +0000 (12:52 +0000)] 
fr doc xml file reviewed and corrected.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920910 13f79535-47bb-0310-9956-ffa450edef68

10 months agofr doc xml file reviewed and corrected.
Lucien Gentis [Tue, 24 Sep 2024 11:00:56 +0000 (11:00 +0000)] 
fr doc xml file reviewed and corrected.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920874 13f79535-47bb-0310-9956-ffa450edef68

10 months agofr doc rebuild.
Lucien Gentis [Mon, 23 Sep 2024 12:27:19 +0000 (12:27 +0000)] 
fr doc rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920859 13f79535-47bb-0310-9956-ffa450edef68

10 months agofr doc xml files updated and corrected.
Lucien Gentis [Mon, 23 Sep 2024 12:25:49 +0000 (12:25 +0000)] 
fr doc xml files updated and corrected.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920858 13f79535-47bb-0310-9956-ffa450edef68

10 months agoMerge /httpd/httpd/trunk:r1920747,1920751
Stefan Eissing [Tue, 17 Sep 2024 12:10:23 +0000 (12:10 +0000)] 
Merge /httpd/httpd/trunk:r1920747,1920751

  *) mod_md: update to version 2.4.28
     - When the server starts, it looks for new, staged certificates to
       activate. If the staged set of files in 'md/staging/<domain>' is messed
       up, this could prevent further renewals to happen. Now, when the staging
       set is present, but could not be activated due to an error, purge the
       whole directory. [icing]
     - Fix certificate retrieval on ACME renewal to not require a 'Location:'
       header returned by the ACME CA. This was the way it was done in ACME
       before it became an IETF standard. Let's Encrypt still supports this,
       but other CAs do not. [icing]
     - Restore compatibility with OpenSSL < 1.1. [ylavic]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920753 13f79535-47bb-0310-9956-ffa450edef68

10 months agoMerged /httpd/httpd/trunk:r1920744
Stefan Eissing [Tue, 17 Sep 2024 11:17:23 +0000 (11:17 +0000)] 
Merged /httpd/httpd/trunk:r1920744

  *) mod_tls: removed the experimental module. It now is availble standalone
     from https://github.com/icing/mod_tls. The rustls provided API is not
     stable and does not align with the httpd release cycle.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920745 13f79535-47bb-0310-9956-ffa450edef68

10 months agopromote, track another must-have
Eric Covener [Thu, 12 Sep 2024 10:16:52 +0000 (10:16 +0000)] 
promote, track another must-have

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920590 13f79535-47bb-0310-9956-ffa450edef68

10 months agogit-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920569 13f79...
Steffen Land [Wed, 11 Sep 2024 15:27:41 +0000 (15:27 +0000)] 
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920569 13f79535-47bb-0310-9956-ffa450edef68

10 months ago* Add proposal [skip ci]
Ruediger Pluem [Wed, 11 Sep 2024 14:42:32 +0000 (14:42 +0000)] 
* Add proposal [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920568 13f79535-47bb-0310-9956-ffa450edef68

10 months ago* Vote [skip ci]
Ruediger Pluem [Wed, 11 Sep 2024 14:39:08 +0000 (14:39 +0000)] 
* Vote [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920567 13f79535-47bb-0310-9956-ffa450edef68

10 months agopropose
Eric Covener [Wed, 11 Sep 2024 13:09:55 +0000 (13:09 +0000)] 
propose

[skip CI]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920565 13f79535-47bb-0310-9956-ffa450edef68

11 months agofr doc rebuild.
Lucien Gentis [Sat, 24 Aug 2024 16:28:38 +0000 (16:28 +0000)] 
fr doc rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920164 13f79535-47bb-0310-9956-ffa450edef68

11 months agofr doc XML file update.
Lucien Gentis [Sat, 24 Aug 2024 16:27:25 +0000 (16:27 +0000)] 
fr doc XML file update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920163 13f79535-47bb-0310-9956-ffa450edef68

11 months agofr doc XML files updates.
Lucien Gentis [Sat, 24 Aug 2024 16:23:33 +0000 (16:23 +0000)] 
fr doc XML files updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920162 13f79535-47bb-0310-9956-ffa450edef68

11 months agostart noting some must-have PRs
Eric Covener [Thu, 22 Aug 2024 12:09:36 +0000 (12:09 +0000)] 
start noting some must-have PRs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920134 13f79535-47bb-0310-9956-ffa450edef68

11 months agoMerge r1920050 from trunk:
Joe Orton [Wed, 21 Aug 2024 14:05:50 +0000 (14:05 +0000)] 
Merge r1920050 from trunk:

CI: Install libsasl2-dev to fix build errors with APR trunk/apr-util 1.7.x

https://lists.apache.org/thread/8hhs2otod7fo44964yd1csck3ddm1fq2

CI: Add job to test LDAP with the (apr 1.7.x, apr-util 1.7.x) combination.

Github: closes #474

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920118 13f79535-47bb-0310-9956-ffa450edef68

11 months agoMerge r1920109 from trunk:
Ruediger Pluem [Wed, 21 Aug 2024 12:38:12 +0000 (12:38 +0000)] 
Merge r1920109 from trunk:

* Fix typo in anchor [skip ci]
Submitted by: rpluem
Reviewed by: rpluem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920110 13f79535-47bb-0310-9956-ffa450edef68

11 months agovote
Eric Covener [Wed, 21 Aug 2024 11:37:03 +0000 (11:37 +0000)] 
vote

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920108 13f79535-47bb-0310-9956-ffa450edef68

11 months ago* Propose [skip ci]
Ruediger Pluem [Wed, 21 Aug 2024 11:17:34 +0000 (11:17 +0000)] 
* Propose [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920106 13f79535-47bb-0310-9956-ffa450edef68

11 months agoMerged x1.
Joe Orton [Tue, 20 Aug 2024 08:35:28 +0000 (08:35 +0000)] 
Merged x1.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920053 13f79535-47bb-0310-9956-ffa450edef68

11 months agoMerge r1866894 from trunk:
Joe Orton [Tue, 20 Aug 2024 08:33:00 +0000 (08:33 +0000)] 
Merge r1866894 from trunk:

* modules/mappers/mod_rewrite.c: Enhance trace-level logging to log
  line numbers accurately for C99 compilers, and remove odd/awkward
  double-parentheses using the rewritelog() macro.  For non-C99
  compilers do_rewritelog() will now be defined - but as a noop - if
  REWRITELOG_DISABLED is defined at compile time.

No functional change at runtime apart from the line numbers being
fixed.

Submitted by: jorton
Reviewed by: jorton, ylavic, covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1920052 13f79535-47bb-0310-9956-ffa450edef68

11 months agoWIP
Eric Covener [Fri, 16 Aug 2024 17:40:26 +0000 (17:40 +0000)] 
WIP

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919934 13f79535-47bb-0310-9956-ffa450edef68

11 months agofound in directoryindex, update link
Eric Covener [Fri, 16 Aug 2024 17:38:53 +0000 (17:38 +0000)] 
found in directoryindex, update link

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919933 13f79535-47bb-0310-9956-ffa450edef68

11 months ago* Vote, promote, comment [skip ci]
Ruediger Pluem [Thu, 15 Aug 2024 08:20:59 +0000 (08:20 +0000)] 
* Vote, promote, comment [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919904 13f79535-47bb-0310-9956-ffa450edef68

11 months ago* Vote and promote
Ruediger Pluem [Thu, 15 Aug 2024 08:17:06 +0000 (08:17 +0000)] 
* Vote and promote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919903 13f79535-47bb-0310-9956-ffa450edef68

11 months agoa few addl votes
Eric Covener [Tue, 13 Aug 2024 14:33:21 +0000 (14:33 +0000)] 
a few addl votes

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919862 13f79535-47bb-0310-9956-ffa450edef68

11 months agoadd/vote/promote
Eric Covener [Tue, 13 Aug 2024 14:19:32 +0000 (14:19 +0000)] 
add/vote/promote

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919861 13f79535-47bb-0310-9956-ffa450edef68

11 months agoAdd some compatibility notes.
Christophe Jaillet [Fri, 9 Aug 2024 09:30:31 +0000 (09:30 +0000)] 
Add some compatibility notes.

(r1919564 in trunk, modified to match the 2.4.x release versions)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919774 13f79535-47bb-0310-9956-ffa450edef68

11 months agoAdd a new <since> tag to ease writing compatibility notes.
Christophe Jaillet [Fri, 9 Aug 2024 09:26:19 +0000 (09:26 +0000)] 
Add a new <since> tag to ease writing compatibility notes.

This is much less verbose and will make wording more consistent in the generated html files.

It is declared in synopsis.xsl because its main use should be here, but it is usable anywhere.

Only the French translation is provided.

(1919560 and 1919653 in trunk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919773 13f79535-47bb-0310-9956-ffa450edef68

12 months agoPropose.
Ivan Zhakov [Sun, 4 Aug 2024 11:53:29 +0000 (11:53 +0000)] 
Propose.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919667 13f79535-47bb-0310-9956-ffa450edef68

12 months agoMerge r1919397, r1919398, r1919399, r1919411, r1919414, r1919415,
Ivan Zhakov [Sun, 4 Aug 2024 11:21:30 +0000 (11:21 +0000)] 
Merge r1919397, r1919398, r1919399, r1919411, r1919414, r1919415,
r1919416, r1919417, r1919665 from trunk [ CTR for CI changes ]

CI: Add Windows GitHub Actions job.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919666 13f79535-47bb-0310-9956-ffa450edef68

12 months agoMerge r1919395 from trunk:
Ivan Zhakov [Sun, 4 Aug 2024 11:03:16 +0000 (11:03 +0000)] 
Merge r1919395 from trunk:
  *) CMake: By default use PCRE2 CMake package if supported.

Use non-Unix build exception to backport with CTR.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919664 13f79535-47bb-0310-9956-ffa450edef68

12 months agoMerge r1902366 from trunk:
Ivan Zhakov [Sun, 4 Aug 2024 11:01:17 +0000 (11:01 +0000)] 
Merge r1902366 from trunk:

  *) CMake: Use full path to gen_test_char.exe in CUSTOM_COMMAND.

Submitted by: ivan
Reviewed By: ylavic, covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919663 13f79535-47bb-0310-9956-ffa450edef68

12 months agoUpdate proposal
Yann Ylavic [Fri, 2 Aug 2024 01:01:37 +0000 (01:01 +0000)] 
Update proposal

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919629 13f79535-47bb-0310-9956-ffa450edef68

12 months agoPropose x 3
Yann Ylavic [Thu, 1 Aug 2024 17:41:33 +0000 (17:41 +0000)] 
Propose x 3

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919624 13f79535-47bb-0310-9956-ffa450edef68

12 months agoFix 2.4 versions of latest MMN entries.
Yann Ylavic [Thu, 1 Aug 2024 12:48:02 +0000 (12:48 +0000)] 
Fix 2.4 versions of latest MMN entries.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919618 13f79535-47bb-0310-9956-ffa450edef68

12 months agoAdd missing CHANGES entry from r1919548
Yann Ylavic [Thu, 1 Aug 2024 10:15:08 +0000 (10:15 +0000)] 
Add missing CHANGES entry from r1919548

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919616 13f79535-47bb-0310-9956-ffa450edef68

12 months agoAdd missing CHANGES entry from r1919545
Yann Ylavic [Thu, 1 Aug 2024 10:07:59 +0000 (10:07 +0000)] 
Add missing CHANGES entry from r1919545

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919615 13f79535-47bb-0310-9956-ffa450edef68

12 months agoBackported in 2.4.41 (r1860166).
Yann Ylavic [Thu, 1 Aug 2024 09:15:39 +0000 (09:15 +0000)] 
Backported in 2.4.41 (r1860166).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919614 13f79535-47bb-0310-9956-ffa450edef68

12 months agoRebased mod_rewrite rewritelog() backport.
Joe Orton [Mon, 29 Jul 2024 09:08:06 +0000 (09:08 +0000)] 
Rebased mod_rewrite rewritelog() backport.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919581 13f79535-47bb-0310-9956-ffa450edef68

12 months agoBackported in r1919548.
Yann Ylavic [Sat, 27 Jul 2024 14:19:32 +0000 (14:19 +0000)] 
Backported in r1919548.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919549 13f79535-47bb-0310-9956-ffa450edef68

12 months agoMerge r1918003, r1918022, r1918035, r1918078, r1918098, r1918099, r1918257, r1918482...
Yann Ylavic [Sat, 27 Jul 2024 14:18:49 +0000 (14:18 +0000)] 
Merge r1918003, r1918022, r1918035, r1918078, r1918098, r1918099, r1918257, r1918482, r1918483, r1918491, r1919141, r1919148 from trunk

 *) mod_http2: sync with module's github.
    - on newer HTTPD versions, return connection monitoring
      to the event MPM when block on client updates.
      2.4.x versions still treat connections in the event
      MPM as KeepAlive and purge them on load in the middle
      of response processing.
    - spelling fixes
    - support for yield calls in c2 "network" filter

 mpm_event,core: Handle async POLLIN/POLLOUT in CONN_STATE_PROCESS state.

* include/httpd.h:
  Rename CONN_STATE_CHECK_REQUEST_LINE_READABLE to CONN_STATE_KEEPALIVE
  and CONN_STATE_READ_REQUEST_LINE to CONN_STATE_PROCESS, keeping the
  old enums as aliases. Rework comments about each state.

* server/mpm/event/event.c:
  Use the new states names.
  Let the process_connection hooks return CONN_STATE_PROCESS for mpm_event
  to POLLIN or POLLOUT depending on c->cs->sense being CONN_SENSE_WANT_READ
  or CONN_SENSE_WANT_WRITE respectively.
  Remove (ab)use of CONN_STATE_WRITE_COMPLETION with CONN_SENSE_WANT_READ to
  mean poll() for read (and the need for the obscure c->clogging_input_filters
  to make it work as expected). This is what CONN_STATE_PROCESS is for now.
  Update the comment about the states that can be returned by process_connection
  hooks (and their usage).
  Use the same queue (process_q renamed from write_completion_q) for polling
  connections in both CONN_STATE_PROCESS and CONN_STATE_WRITE_COMPLETION
  states since they both use the same (server_rec's) Timeout. This implies
  that both states are accounted as "write-completion" in mod_status for now.

* server/mpm/motorz/motorz.c, server/mpm/simple/simple_io.c, modules/http/http_core.c:
  Use the new states names (only).

* include/scoreboard.h:
  Change comment about process_score->write_completion to note that the
  counter refers to CONN_STATE_PROCESS connections returned to the MPM
  too.

* modules/http2/h2_c1.c:
  Return the c1 connection with the CONN_STATE_PROCESS state rather than
  CONN_STATE_WRITE_COMPLETION when waiting for a window update (i.e. ask
  the MPM to poll for read directly). This avoids the transition to
  CONN_STATE_KEEPALIVE which could kill the connection under high load.

Github: closes #448

Follow up to r1918022: MMN minor bump and checks for the new conn_state_e aliases' usability.

mpm_event: Don't spam with "Stopping process due to MaxConnectionsPerChild"

When MaxConnectionsPerChild is reached there may be some connections to process
still and the listener should stop writing this at every loop. Logging once
is enough.

* server/mpm/event/event.c(check_infinite_requests): Raise conns_this_child
  unconditionally.

mpm_event, mod_status: Separate processing and write completion queues.

As a follow up to r1918022 which handled the new CONN_STATE_PROCESS(ing) and
existing CONN_STATE_WRITE_COMPLETION in the same async queue, let's now have
two separates ones which allows more relevant async accounting in mod_status.

Rename CONN_STATE_PROCESS to CONN_STATE_PROCESSING as it's how it will be
called in mod_status.

* include/ap_mmn.h:
  MMN minor bump for process_score->processing counter.

* include/httpd.h:
  Rename CONN_STATE_PROCESS to CONN_STATE_PROCESSING.

* include/scoreboard.h:
  Add process_score->processing field.

* include/httpd.h, modules/http/http_core.c, modules/http2/h2_c1.c,
    server/mpm/event/event.c, server/mpm/motorz/motorz.c,
    server/mpm/simple/simple_io.c:
  Rename CONN_STATE_PROCESS to CONN_STATE_PROCESSING.

* server/mpm/event/event.c:
  Restore write_completion_q to handle connections in CONN_STATE_WRITE_COMPLETION.
  Use processing_q (renamed from process_q) solely for CONN_STATE_PROCESSING.
  Update process_score->processing according to the length of processing_q.

* modules/generators/mod_status.c:
  Show the value of process_score->processing in the stats.

Follow up to r1918098 (and r1918022): Push missing changes.

mpm_event,mod_http2: Keep compatibility with CONN_STATE_PROCESSING + OK

Before r1918022, returning OK with CONN_STATE_PROCESSING to mpm_event was
handled like/by CONN_STATE_LINGER "to not break old or third-party modules
which might return OK w/o touching the state and expect lingering close,
like with worker or prefork MPMs".

So we need a new return code to be allowed to apply the new POLLIN/POLLOUT
behaviour for CONN_STATE_PROCESSING, thus revive AGAIN as introduced by
Graham some times ago for a nonblocking WIP (moved to a branch/PR since then).

MPM event will advertise its ability to handle CONN_STATE_PROCESSING + AGAIN
with AP_MPMQ_CAN_AGAIN, and mod_http2 can use that to know how to return to
the MPM as expected. When !AP_MPMQ_CAN_AGAIN modules/mod_http2 can still use
CONN_STATE_WRITE_COMPLETION + CONN_SENSE_WANT_READ + c->clogging_input_filters
which will work in mpm_even-2.4.x still.

* include/ap_mmn.h:
  Bump MMN minor for AP_MPMQ_CAN_AGAIN and AGAIN.

* include/ap_mpm.h:
  Define AP_MPMQ_CAN_AGAIN.

* include/httpd.h:
  Define AGAIN.

* modules/http2/h2.h:
  No need for H2_USE_STATE_PROCESSING anymore with AP_MPMQ_CAN_AGAIN.

* modules/http2/h2_c1.c:
  For !keepalive case return to the MPM using CONN_STATE_PROCESSING + AGAIN
  or CONN_STATE_WRITE_COMPLETION + c->clogging_input_filters depending on
  AP_MPMQ_CAN_AGAIN only.

* modules/http2/h2_session.c:
  Can return to the MPM for h2_send_flow_blocked() provided it's async only.

* server/mpm/event/event.c:
  Rework process_socket()'s CONN_STATE_PROCESSING to handle AGAIN and preserve
  compatibility. Have a lingering_close label to goto there faster when
  process_lingering_close() is to be called. Improve relevant comments.

mpm_event,mod_http2,mod_status: Follow up to r1918257: CONN_STATE_ASYNC_WAITIO.

Per discussion on PR #449, have a separate state for returning the connection
to the MPM to wait for an IO (namely CONN_STATE_ASYNC_WAITIO), rather than
(ab)using CONN_STATE_PROCESSING.

This removes the need for AGAIN added in r1918257 (for now), and AP_MPMQ_CAN_AGAIN
is renamed to AP_MPMQ_CAN_WAITIO.

This is also the state that mod_status accounts for, so rename ->processing
to ->wait_io in process_score (shows as "wait-io" in mod_status and mod_lua).

mpm_event: Follow up to r1918482: CONN_STATE_ASYNC_WAITIO > CONN_STATE_LINGER.

mpm_event: Follow up to r1918482: CONN_STATE_LINGER* are not the last anymore.

Since CONN_STATE_ASYNC_WAITIO, we cannot check for < or >= CONN_STATE_LINGER
anymore to determine if in an lingering close state, so let's add a new
CONN_STATE_IS_LINGERING_CLOSE() macro for this and use it in mpm_event.

The test for state == CONN_STATE_LINGER in process_lingering_close() is a
bit weak too in order to call ap_start_lingering_close() the first time only,
so have a conn_state->linger_started flag instead.

mod_status: Follow up to r1918482: Bump colspan for the new wait-io colomn

mod_status: "Threads" span three colomns (busy, graceful, idle), not two.

Submitted by: icing, ylavic, ylavic, ylavic, ylavic, ylavic, ylavic, ylavic, ylavic, ylavic, ylavic, ylavic
Reviewed by: ylavic, icing, gbechis
Github: closes #449

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919548 13f79535-47bb-0310-9956-ffa450edef68

12 months agoBackported in r1919545.
Yann Ylavic [Sat, 27 Jul 2024 13:36:31 +0000 (13:36 +0000)] 
Backported in r1919545.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919546 13f79535-47bb-0310-9956-ffa450edef68

12 months agomod_rewrite: Better question mark tracking to avoid UnsafeAllow3F. PR 69197.
Yann Ylavic [Sat, 27 Jul 2024 13:35:53 +0000 (13:35 +0000)] 
mod_rewrite: Better question mark tracking to avoid UnsafeAllow3F.  PR 69197.

Track in do_expand() whether a '?' in the uri-path comes from a literal in
the substitution string or from an expansion (variable, lookup, ...).
In the former case it's safe to assume that it's the query-string separator
but for the other case it's not (could be a decoded %3f from r->uri).

This allows to avoid [UnsafeAllow3F] for most cases.

Merges r1919325 from trunk
Reviewed by: ylavic, covener, jorton
Github: closes #462

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919545 13f79535-47bb-0310-9956-ffa450edef68

12 months agoTrigger ci
Yann Ylavic [Sat, 27 Jul 2024 13:27:49 +0000 (13:27 +0000)] 
Trigger ci

Merges r1919543 from trunk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919544 13f79535-47bb-0310-9956-ffa450edef68

12 months agoVote x 1
Yann Ylavic [Fri, 26 Jul 2024 14:11:49 +0000 (14:11 +0000)] 
Vote x 1

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919531 13f79535-47bb-0310-9956-ffa450edef68

12 months agofr doc rebuild.
Lucien Gentis [Fri, 26 Jul 2024 12:35:49 +0000 (12:35 +0000)] 
fr doc rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919529 13f79535-47bb-0310-9956-ffa450edef68

12 months agofr doc XML file update.
Lucien Gentis [Fri, 26 Jul 2024 12:35:11 +0000 (12:35 +0000)] 
fr doc XML file update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919528 13f79535-47bb-0310-9956-ffa450edef68

12 months agoReenable test class, upstream bug fixed in pebble.
Rainer Jung [Wed, 24 Jul 2024 10:47:09 +0000 (10:47 +0000)] 
Reenable test class, upstream bug fixed in pebble.
Backport of r1919491 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919492 13f79535-47bb-0310-9956-ffa450edef68

12 months agoVote&promote, propose.
Joe Orton [Tue, 23 Jul 2024 16:01:37 +0000 (16:01 +0000)] 
Vote&promote, propose.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919474 13f79535-47bb-0310-9956-ffa450edef68

12 months agoxforms
Eric Covener [Tue, 23 Jul 2024 12:56:59 +0000 (12:56 +0000)] 
xforms

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919471 13f79535-47bb-0310-9956-ffa450edef68

12 months agoMerge r1919468 from trunk:
Eric Covener [Tue, 23 Jul 2024 12:56:43 +0000 (12:56 +0000)] 
Merge r1919468 from trunk:

use UNCList in UNC examples

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919470 13f79535-47bb-0310-9956-ffa450edef68

12 months agofr doc rebuild.
Lucien Gentis [Sat, 20 Jul 2024 13:44:57 +0000 (13:44 +0000)] 
fr doc rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919407 13f79535-47bb-0310-9956-ffa450edef68

12 months agofr doc XML files updates.
Lucien Gentis [Sat, 20 Jul 2024 13:43:33 +0000 (13:43 +0000)] 
fr doc XML files updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919406 13f79535-47bb-0310-9956-ffa450edef68

12 months agovote/promote/stall
Eric Covener [Wed, 17 Jul 2024 23:34:06 +0000 (23:34 +0000)] 
vote/promote/stall

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919336 13f79535-47bb-0310-9956-ffa450edef68

12 months agoSkip more h2 tests in prefork.
Rainer Jung [Wed, 17 Jul 2024 22:12:49 +0000 (22:12 +0000)] 
Skip more h2 tests in prefork.
Backport of r1919334 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919335 13f79535-47bb-0310-9956-ffa450edef68

12 months agoSkip h2 tests on prefork.
Rainer Jung [Wed, 17 Jul 2024 22:04:01 +0000 (22:04 +0000)] 
Skip h2 tests on prefork.
Backport of r1919332 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919333 13f79535-47bb-0310-9956-ffa450edef68

12 months agoFix typo in test name.
Rainer Jung [Wed, 17 Jul 2024 21:59:39 +0000 (21:59 +0000)] 
Fix typo in test name.
Backport of r1919330 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919331 13f79535-47bb-0310-9956-ffa450edef68

12 months agoPropose x 1, vote x 1
Yann Ylavic [Wed, 17 Jul 2024 21:51:33 +0000 (21:51 +0000)] 
Propose x 1, vote x 1

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919329 13f79535-47bb-0310-9956-ffa450edef68

12 months agoFix copy and paste typo in comment
Rainer Jung [Wed, 17 Jul 2024 18:37:41 +0000 (18:37 +0000)] 
Fix copy and paste typo in comment

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919318 13f79535-47bb-0310-9956-ffa450edef68

12 months agopublishing release httpd-2.4.62
Eric Covener [Wed, 17 Jul 2024 18:20:34 +0000 (18:20 +0000)] 
publishing release httpd-2.4.62

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919317 13f79535-47bb-0310-9956-ffa450edef68

12 months agoMake sure pytest shuts down the web server after each package.
Rainer Jung [Mon, 15 Jul 2024 22:42:20 +0000 (22:42 +0000)] 
Make sure pytest shuts down the web server after each package.

Backport of r1919265 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919267 13f79535-47bb-0310-9956-ffa450edef68

12 months agoxforms
Eric Covener [Mon, 15 Jul 2024 12:09:05 +0000 (12:09 +0000)] 
xforms

[skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919250 13f79535-47bb-0310-9956-ffa450edef68

12 months agoMerge r1919247 from trunk:
Eric Covener [Mon, 15 Jul 2024 12:08:30 +0000 (12:08 +0000)] 
Merge r1919247 from trunk:

copy the trusted flag from the subrequest

Submitted By: covener
Reviewed By: covener, ylavic, gbechis

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919249 13f79535-47bb-0310-9956-ffa450edef68

12 months agoMerge r1919246 from trunk:
Eric Covener [Mon, 15 Jul 2024 12:07:57 +0000 (12:07 +0000)] 
Merge r1919246 from trunk:

merge leading slashes by default

Submitted By: ylavic, covener
Reviewed By: ylavic, covener, gbechis

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919248 13f79535-47bb-0310-9956-ffa450edef68

12 months agoMove r1902366 backport proposal to correct section in STATUS file.
Ivan Zhakov [Sat, 13 Jul 2024 19:55:32 +0000 (19:55 +0000)] 
Move r1902366 backport proposal to correct section in STATUS file.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919203 13f79535-47bb-0310-9956-ffa450edef68

12 months agofr doc rebuild.
Lucien Gentis [Sat, 13 Jul 2024 12:09:59 +0000 (12:09 +0000)] 
fr doc rebuild.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919186 13f79535-47bb-0310-9956-ffa450edef68

12 months agofr doc XML file update.
Lucien Gentis [Sat, 13 Jul 2024 12:09:01 +0000 (12:09 +0000)] 
fr doc XML file update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919185 13f79535-47bb-0310-9956-ffa450edef68

12 months agoMore adjustments for PR 449.
Yann Ylavic [Thu, 11 Jul 2024 15:03:20 +0000 (15:03 +0000)] 
More adjustments for PR 449.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919149 13f79535-47bb-0310-9956-ffa450edef68

12 months agoBackported in r1919145.
Yann Ylavic [Thu, 11 Jul 2024 14:35:35 +0000 (14:35 +0000)] 
Backported in r1919145.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919146 13f79535-47bb-0310-9956-ffa450edef68

12 months agoDon't reset the balancer when we create a new child
Yann Ylavic [Thu, 11 Jul 2024 14:35:05 +0000 (14:35 +0000)] 
Don't reset the balancer when we create a new child
and don't change shared memory the load balancer is not using.

Merges r1916004 from trunk
Submitted by: jfclere
Reviewed by: jfclere, rpluem, gbechis

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919145 13f79535-47bb-0310-9956-ffa450edef68

12 months agoMerged in r1919123
Yann Ylavic [Thu, 11 Jul 2024 14:33:31 +0000 (14:33 +0000)] 
Merged in r1919123

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919144 13f79535-47bb-0310-9956-ffa450edef68

12 months agoPromote x 1.99
Yann Ylavic [Thu, 11 Jul 2024 14:19:08 +0000 (14:19 +0000)] 
Promote x 1.99

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919142 13f79535-47bb-0310-9956-ffa450edef68

12 months agoBackported.
Yann Ylavic [Thu, 11 Jul 2024 13:58:47 +0000 (13:58 +0000)] 
Backported.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919139 13f79535-47bb-0310-9956-ffa450edef68

12 months agomod_proxy: Avoid AH01059 parsing error for SetHandler "unix:" URLs. PR 69160
Yann Ylavic [Thu, 11 Jul 2024 13:58:12 +0000 (13:58 +0000)] 
mod_proxy: Avoid AH01059 parsing error for SetHandler "unix:" URLs.  PR 69160

The hostname part of the URL is not mandated for UDS though the canon_handler
hooks will require it, so add "localhost" if it's missing (won't be used anyway
for an AF_UNIX socket).

This can trigger with SetHandler "unix:" URLs which are now also fixed up.

Follow up to r1919015: fix compilation.

mod_proxy: Fix canonicalisation and FCGI env (PATH_INFO, SCRIPT_NAME) for
           "balancer:" URLs set via SetHandler, also allowing for "unix:"
           sockets with BalancerMember(s).  PR 69168.

* modules/proxy/proxy_util.h, modules/proxy/proxy_util.c:
  Move proxy_interpolate() from mod_proxy.c to ap_proxy_interpolate(),
  exported locally only (non public).
  Move proxy_fixup() from mod_proxy.c to ap_proxy_canon_url(), exported
  locally only too (non public).
  Rollback ap_proxy_fixup_uds_filename() to a local fixup_uds_filename()
  usable from proxy_util.c only. The public function will be removed in
  a following commit.

* modules/proxy/mod_proxy.h:
  Note that ap_proxy_fixup_uds_filename() is deprecated.

* modules/proxy/mod_proxy.c:
  Just use ap_proxy_canon_url() from proxy_fixup() and proxy_handler()
  for SetHandler URLs.

* modules/proxy/mod_proxy_balancer.c:
  Do not canonicalize the path from proxy_balancer_canon() anymore but
  rather from balancer_fixup() where the balancer URL is rewritten to
  the BalancerMember URL.

mod_proxy: Don't mangle r->filename when ap_proxy_canon_netloc() fails.

ap_proxy_canon_netloc() called from the canon_handler hooks modifies its
given url in place, hence &r->filename[6] passed from ap_proxy_canon_url().

This is not an issue if the canon_handler hook succeeds (or declines) since
r->filename is usually completely rewritten finally, but on failure it gets
truncated.

Avoid this by passing a copy of r->filename from the start, the proxy *url
and r->filename don't need to point to the same data.

* proxy/proxy_util.c(ap_proxy_canon_url):
  Pass a copy of r->filename to the canon_handler hooks.

Follow up to r1919023: fix compilation.

Merges r1919015, r1919019, r1919022, r1919023, r1919024 from trunk
Reviewed by: rpluem, covener, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919138 13f79535-47bb-0310-9956-ffa450edef68

12 months agovote [skip ci]
Giovanni Bechis [Thu, 11 Jul 2024 13:54:50 +0000 (13:54 +0000)] 
vote [skip ci]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919137 13f79535-47bb-0310-9956-ffa450edef68

12 months agoSync CHANGES.
Yann Ylavic [Thu, 11 Jul 2024 13:50:42 +0000 (13:50 +0000)] 
Sync CHANGES.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919136 13f79535-47bb-0310-9956-ffa450edef68

12 months agoBackported.
Yann Ylavic [Thu, 11 Jul 2024 13:48:56 +0000 (13:48 +0000)] 
Backported.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919135 13f79535-47bb-0310-9956-ffa450edef68

12 months agompm_event: Simplify pollset "good methods" vs APR_POLLSET_WAKEABLE.
Yann Ylavic [Thu, 11 Jul 2024 13:48:18 +0000 (13:48 +0000)] 
mpm_event: Simplify pollset "good methods" vs APR_POLLSET_WAKEABLE.

* server/mpm/event/event.c(setup_threads_runtime):
  Simplify pollset creation code.

All pollset "good methods" implement APR_POLLSET_WAKEABLE and wake-ability
is quite important for MPM event's correctness anyway so simplify code around
pollset creation so as not to suggest that APR_POLLSET_NODEFAULT if favored
against APR_POLLSET_WAKEABLE.

While at it account for the wakeup pipe in the pollset_size since not all
pollset methods seem to do it internally in APR.

mpm_worker: Fix AH00045 about children processes not terminating timely.

* server/mpm/worker/worker.c(setup_threads_runtime):
  Create pollset with APR_POLLSET_WAKEABLE to be able to wake up the listener
  when stopping.

* server/mpm/worker/worker.c(wakeup_listener):
  Wake up the listener using the wakeup pipe (apr_pollset_wakeup).

* server/mpm/worker/worker.c(join_workers):
  Like mpm_event, don't depend on `pthread_kill(listener_thread, 0)` to check
  whether the listener has exited (this does not work on some systems), but use
  the "dying" global variable instead which is set by the listener just before
  exiting.

mpm_event,mpm_worker: Comment about pollset sizing when APR_POLLSET_WAKEABLE.

Follow up to r1916925 and r1916926.

Merges r1916925, r1916926, r1916929 from trunk
Reviewed by: rjung, ylavic, jorton

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919134 13f79535-47bb-0310-9956-ffa450edef68

12 months agoVote and promote
Yann Ylavic [Thu, 11 Jul 2024 13:36:01 +0000 (13:36 +0000)] 
Vote and promote

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1919133 13f79535-47bb-0310-9956-ffa450edef68