]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
3 years ago *) test: log rustc and cbindget versions used to build rustls-ffi
Stefan Eissing [Wed, 11 May 2022 08:20:43 +0000 (08:20 +0000)] 
  *) test: log rustc and cbindget versions used to build rustls-ffi
     to speed up analysis of any problems in the future.

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

3 years ago *) test: backport the cbindgen workaround for building rustls-ffi
Stefan Eissing [Wed, 11 May 2022 08:02:02 +0000 (08:02 +0000)] 
  *) test: backport the cbindgen workaround for building rustls-ffi
     so that rustc and cbindget are in a combination that works on
     focal.

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

3 years agoMerge r1899451, r1899454, r1899562, r1899564, r1899584, r1899886 from trunk:
Jim Jagielski [Mon, 9 May 2022 18:02:07 +0000 (18:02 +0000)] 
Merge r1899451, r1899454, r1899562, r1899564, r1899584, r1899886 from trunk:

* Close the connection in case an EOC bucket was seen

* In case we see an EOC bucket and there was an error bucket before, use its
  status as status for the request. This should ensure proper status logging
  in the access log.

* We need to set r->status on each call after we noticed an EOC as
  data bucket generators like ap_die might have changed the status
  code. But we know better in this case and insist on the status
  code that we have seen in the error bucket.

* Keep track of the number of keepalives we processed on this connection.

* Report a broken backend in case reading the response line failed on the
  first request on this connection otherwise we assume we have just run
  into a keepalive race and the backend is still healthy.

* Add Changelog for r1899451, r1899454, r1899562, r1899564, r1899584

Submitted by: rpluem
Reviewed by: jim

Github: closes #314

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

3 years agopromote
Jim Jagielski [Mon, 9 May 2022 17:57:48 +0000 (17:57 +0000)] 
promote

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

3 years agor1900751.
Jim Jagielski [Mon, 9 May 2022 17:55:29 +0000 (17:55 +0000)] 
r1900751.

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

3 years agopromote
Jim Jagielski [Mon, 9 May 2022 17:55:06 +0000 (17:55 +0000)] 
promote

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

3 years agoMerge r1900026 from trunk:
Jim Jagielski [Mon, 9 May 2022 17:54:42 +0000 (17:54 +0000)] 
Merge r1900026 from trunk:

  *) mod_heartmonitor: Set the documented default value
     "10" for HeartbeatMaxServers instead of "0". With "0"
     no shared memory slotmem was initialized. [Rainer Jung]

Submitted by: rjung
Reviewed by: 1899841

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

3 years agoVotes
Jim Jagielski [Mon, 9 May 2022 17:53:20 +0000 (17:53 +0000)] 
Votes

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

3 years agoXforms
Jim Jagielski [Mon, 9 May 2022 17:08:33 +0000 (17:08 +0000)] 
Xforms

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

3 years agoFix a typo (s/virtal/virtual) and add a missing hyper-link.
Christophe Jaillet [Sun, 8 May 2022 12:28:51 +0000 (12:28 +0000)] 
Fix a typo (s/virtal/virtual) and add a missing hyper-link.

r1900689 in trunk

[skip ci]

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

3 years agofr doc rebuild.
Lucien Gentis [Sat, 7 May 2022 14:39:09 +0000 (14:39 +0000)] 
fr doc rebuild.

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

3 years agofr doc XML files updates.
Lucien Gentis [Sat, 7 May 2022 14:38:22 +0000 (14:38 +0000)] 
fr doc XML files updates.

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

3 years agoMerge /httpd/httpd/trunk:r1900628
Stefan Eissing [Fri, 6 May 2022 13:16:36 +0000 (13:16 +0000)] 
Merge /httpd/httpd/trunk:r1900628

  *) mod_md:  fixed a bug leading to failed transfers for OCSP
     stapling information when more than 6 certificates needed
     updates in the same run.

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

3 years ago* Propose [skip ci]
Ruediger Pluem [Fri, 6 May 2022 08:26:05 +0000 (08:26 +0000)] 
* Propose [skip ci]

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

3 years agopropose backport h2 [skip ci]
Stefan Eissing [Thu, 5 May 2022 08:37:49 +0000 (08:37 +0000)] 
propose backport h2 [skip ci]

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

3 years agohttpd 2.4.x and above require at least APR 1.3, so this is always the case.
Christophe Jaillet [Wed, 4 May 2022 17:50:35 +0000 (17:50 +0000)] 
httpd 2.4.x and above require at least APR 1.3, so this is always the case.
Simplify the wording in the doc.

r1900557 in trunk

[skip ci]

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

3 years agohttpd 2.4.x and above require at least APR 1.3, so this is always the case.
Christophe Jaillet [Tue, 3 May 2022 19:58:01 +0000 (19:58 +0000)] 
httpd 2.4.x and above require at least APR 1.3, so this is always the case.
Simplify the wording in the doc.

r1900525 in trunk

[skip ci]

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

3 years agofr doc rebuild.
Lucien Gentis [Sat, 30 Apr 2022 15:48:22 +0000 (15:48 +0000)] 
fr doc rebuild.

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

3 years agofr doc XML file update.
Lucien Gentis [Sat, 30 Apr 2022 15:47:34 +0000 (15:47 +0000)] 
fr doc XML file update.

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

3 years agovote [skip ci]
Stefan Eissing [Sat, 30 Apr 2022 10:07:06 +0000 (10:07 +0000)] 
vote [skip ci]

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

3 years agoPropose
Christophe Jaillet [Sat, 30 Apr 2022 09:41:10 +0000 (09:41 +0000)] 
Propose

[skip ci]

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

3 years agoVote
Christophe Jaillet [Sat, 30 Apr 2022 09:36:30 +0000 (09:36 +0000)] 
Vote

[skip ci]

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

3 years agoRemove proposal after backport of mod_md change, experimental mods do not need RTC.
Stefan Eissing [Thu, 28 Apr 2022 10:45:11 +0000 (10:45 +0000)] 
Remove proposal after backport of mod_md change, experimental mods do not need RTC.
[skip ci]

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

3 years agobackport proposal for PR66037 fix.
Stefan Eissing [Thu, 28 Apr 2022 10:43:57 +0000 (10:43 +0000)] 
backport proposal for PR66037 fix.
[skip ci]

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

3 years agoFix formatting of CHANGES entry.
Rainer Jung [Wed, 27 Apr 2022 14:30:00 +0000 (14:30 +0000)] 
Fix formatting of CHANGES entry.
CTR
[skip ci]

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

3 years agoMerge /httpd/httpd/trunk:r1898962,1900039,1900145,1900313-1900314
Stefan Eissing [Wed, 27 Apr 2022 12:08:18 +0000 (12:08 +0000)] 
Merge /httpd/httpd/trunk:r1898962,1900039,1900145,1900313-1900314

Backport of all recent changes to experimental mod_md.

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

3 years agoVote
Rainer Jung [Mon, 25 Apr 2022 15:30:36 +0000 (15:30 +0000)] 
Vote
[skip ci]

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

3 years agobackport proposal for recent mod_md changes.
Stefan Eissing [Fri, 22 Apr 2022 08:49:20 +0000 (08:49 +0000)] 
backport proposal for recent mod_md changes.
[skip ci]

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

3 years agoPropose.
Rainer Jung [Wed, 20 Apr 2022 21:16:29 +0000 (21:16 +0000)] 
Propose.
[skip ci]

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

3 years ago* Vote [skip ci]
Ruediger Pluem [Tue, 19 Apr 2022 13:44:32 +0000 (13:44 +0000)] 
* Vote [skip ci]

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

3 years ago* Vote [skip ci]
Ruediger Pluem [Tue, 19 Apr 2022 13:42:10 +0000 (13:42 +0000)] 
* Vote [skip ci]

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

3 years agoReset vote, use changes-entries, add additional
Rainer Jung [Tue, 19 Apr 2022 09:06:15 +0000 (09:06 +0000)] 
Reset vote, use changes-entries, add additional
fix by ylavic.
[skip ci]

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

3 years agoAdding r1899905 for the ap_escape_quotes backport.
Stefan Eissing [Sat, 16 Apr 2022 10:11:20 +0000 (10:11 +0000)] 
Adding r1899905 for the ap_escape_quotes backport.
[skip ci]

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

3 years ago* Vote and promote [skip ci]
Ruediger Pluem [Fri, 15 Apr 2022 15:55:53 +0000 (15:55 +0000)] 
* Vote and promote [skip ci]

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

3 years agoVote, comment [skip ci]
Yann Ylavic [Fri, 15 Apr 2022 13:26:01 +0000 (13:26 +0000)] 
Vote, comment [skip ci]

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

3 years ago* Vote
Ruediger Pluem [Fri, 15 Apr 2022 12:06:18 +0000 (12:06 +0000)] 
* Vote

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

3 years ago* Add proposal
Ruediger Pluem [Fri, 15 Apr 2022 11:46:44 +0000 (11:46 +0000)] 
* Add proposal

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

3 years agoAdd proposal.
Rainer Jung [Wed, 13 Apr 2022 12:14:32 +0000 (12:14 +0000)] 
Add proposal.
[skip ci]

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

3 years ago- postpoing http2 backport
Stefan Eissing [Wed, 6 Apr 2022 09:21:11 +0000 (09:21 +0000)] 
- postpoing http2 backport
- adding core fix for ap_escape_quotes() on huge strings.
[skip ci]

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

3 years agofr doc rebuild.
Lucien Gentis [Sat, 2 Apr 2022 13:23:17 +0000 (13:23 +0000)] 
fr doc rebuild.

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

3 years agoXML files updates.
Lucien Gentis [Sat, 2 Apr 2022 13:20:16 +0000 (13:20 +0000)] 
XML files updates.

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

3 years agoxforms
Eric Covener [Mon, 28 Mar 2022 00:18:05 +0000 (00:18 +0000)] 
xforms

[skip ci]

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

3 years agoMerge r1605841 from trunk:
Eric Covener [Mon, 28 Mar 2022 00:17:39 +0000 (00:17 +0000)] 
Merge r1605841 from trunk:

- ignore <br> inside <dd> too, since ab.xml is using that,
  though it's kind of wrong

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

3 years agoMerge r1899269 from trunk:
Eric Covener [Mon, 28 Mar 2022 00:07:16 +0000 (00:07 +0000)] 
Merge r1899269 from trunk:

add -n warnings/quirks

https://bz.apache.org/bugzilla/show_bug.cgi?id=65980

[skip ci]

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

3 years agoFix a typo.
Christophe Jaillet [Sun, 27 Mar 2022 06:45:09 +0000 (06:45 +0000)] 
Fix a typo.
PR 65978.

Thanks to Stefan Hamburger <apache_f5dosu stefanhamburger.de> for finding it.

(r1899234 in trunk)
[skip ci]

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

3 years agofr doc rebuild.
Lucien Gentis [Sat, 26 Mar 2022 14:11:51 +0000 (14:11 +0000)] 
fr doc rebuild.

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

3 years agofr doc XML doc file update.
Lucien Gentis [Sat, 26 Mar 2022 14:10:26 +0000 (14:10 +0000)] 
fr doc XML doc file update.

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

3 years ago'interpolate' is a keyword, not a user-defined string.
Christophe Jaillet [Sat, 26 Mar 2022 06:17:34 +0000 (06:17 +0000)] 
'interpolate' is a keyword, not a user-defined string.
So it should not be in <var></var> in <syntax>  and  <code> should be used instead of <var> in explanations.

While at it, fix some other style issues and missing links spotted here and there.

(t1899205 in trunk)

[skip ci]

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

3 years agopublishing release httpd-2.4.53
Stefan Eissing [Mon, 14 Mar 2022 09:51:39 +0000 (09:51 +0000)] 
publishing release httpd-2.4.53

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

3 years ago update transformations.
Nilgun Belma Buguner [Sat, 12 Mar 2022 18:17:07 +0000 (18:17 +0000)] 
 update transformations.

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

3 years agoupdate for sync with English docs.
Nilgun Belma Buguner [Sat, 12 Mar 2022 18:16:32 +0000 (18:16 +0000)] 
update for sync with English docs.

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

3 years agofr doc rebuild.
Lucien Gentis [Sat, 12 Mar 2022 14:51:23 +0000 (14:51 +0000)] 
fr doc rebuild.

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

3 years agoXML files updates.-Cette ligne, et les suivantes ci-dessous, seront ignorées--
Lucien Gentis [Sat, 12 Mar 2022 14:50:30 +0000 (14:50 +0000)] 
XML files updates.-Cette ligne, et les suivantes ci-dessous, seront ignorĂ©es--

M    manual/mod/core.xml.fr
M    manual/mod/mod_proxy.xml.fr
M    manual/rewrite/avoid.xml.fr
M    manual/rewrite/flags.xml.fr

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

3 years agoMerge r1898771 from trunk:
Ruediger Pluem [Wed, 9 Mar 2022 14:04:15 +0000 (14:04 +0000)] 
Merge r1898771 from trunk:

* Improve detection of _Thread_local

GCC < 4.9 reports __STDC_VERSION__ >= 201112 but does not implement
_Thread_local. Take care of this in the condition.

See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203066

Reviewed by: ylavic, covener, rpluem

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

3 years ago* Vote [skip ci]
Ruediger Pluem [Wed, 9 Mar 2022 14:00:33 +0000 (14:00 +0000)] 
* Vote [skip ci]

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

3 years agovote [skip ci]
Eric Covener [Wed, 9 Mar 2022 13:55:52 +0000 (13:55 +0000)] 
vote [skip ci]

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

3 years agoPropose r1898771 [skip ci]
Yann Ylavic [Wed, 9 Mar 2022 13:53:03 +0000 (13:53 +0000)] 
Propose r1898771 [skip ci]

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

3 years agoMerge r1898735 from trunk:
Ruediger Pluem [Wed, 9 Mar 2022 07:41:40 +0000 (07:41 +0000)] 
Merge r1898735 from trunk:

* Improve the logic flow

Reviewed by: rpluem, covener, ylavic

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

3 years agoSync docs [skip ci]
Yann Ylavic [Mon, 7 Mar 2022 16:49:15 +0000 (16:49 +0000)] 
Sync docs [skip ci]

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

3 years agoMerge r1898702 from trunk:
Stefan Eissing [Mon, 7 Mar 2022 15:46:15 +0000 (15:46 +0000)] 
Merge r1898702 from trunk:

  *) docs: fixing missing closing tag.

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

3 years agoSync CHANGES entries [skip ci]
Yann Ylavic [Mon, 7 Mar 2022 14:53:15 +0000 (14:53 +0000)] 
Sync CHANGES entries [skip ci]

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

3 years agomod_sed: use size_t to allow for larger buffer sizes and unsigned arithmetics.
Yann Ylavic [Mon, 7 Mar 2022 14:52:42 +0000 (14:52 +0000)] 
mod_sed: use size_t to allow for larger buffer sizes and unsigned arithmetics.

Let's switch to apr_size_t buffers and get rid of the ints.

Merge r1898690 from trunk.
Submitted by: rpluem
Reviewed by: rpluem, covener, ylavic

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

3 years agomod_lua: Error out if lua_read_body() or lua_write_body() fail.
Yann Ylavic [Mon, 7 Mar 2022 14:51:19 +0000 (14:51 +0000)] 
mod_lua: Error out if lua_read_body() or lua_write_body() fail.

Otherwise r:requestbody() or r:parsebody() failures might go unnoticed for
the user.

Merge r1898689 from trunk.
Submitted by: rpluem
Reviewed by: rpluem, covener, ylavic

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

3 years agocore: Make sure and check that LimitXMLRequestBody fits in system memory.
Yann Ylavic [Mon, 7 Mar 2022 14:48:54 +0000 (14:48 +0000)] 
core: Make sure and check that LimitXMLRequestBody fits in system memory.

LimitXMLRequestBody can not exceed the size needed to ap_escape_html2() the
body without failing to allocate memory, so enforce this at load time based
on APR_SIZE_MAX, and make sure that ap_escape_html2() is within the bounds.

Document the limits for LimitXMLRequestBody in our docs.

Merge r1898686 from trunk.
Submitted by: ylavic, rpluem
Reviewed by: ylavic, covener, rpluem

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

3 years agocore: Simpler connection close logic if discarding the request body fails.
Yann Ylavic [Mon, 7 Mar 2022 14:46:08 +0000 (14:46 +0000)] 
core: Simpler connection close logic if discarding the request body fails.

If ap_discard_request_body() sets AP_CONN_CLOSE by itself it simplifies and
allows to consolidate end_output_stream() and error_output_stream().

Merge r1898683 from trunk.
Submitted by: ylavic, rpluem
Reviewed by: ylavic, rpluem, covener

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

3 years agoSync CHANGES entries [skip ci]
Yann Ylavic [Mon, 7 Mar 2022 14:19:15 +0000 (14:19 +0000)] 
Sync CHANGES entries [skip ci]

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

3 years agoMerge r1898671 from trunk:
Joe Orton [Mon, 7 Mar 2022 11:07:32 +0000 (11:07 +0000)] 
Merge r1898671 from trunk:

Adjust Travis branch-matching conditions to treat any
branch starting "2.4" like 2.4.x (in addition to
"candidate-2.4").

[under CTR for Travis exemption]

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

3 years agoxforms
Christophe Jaillet [Sun, 6 Mar 2022 19:36:50 +0000 (19:36 +0000)] 
xforms

[skip ci]

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

3 years agoFix the compatibility note for ProxyErrorOverride used with error code. (revision...
Christophe Jaillet [Sun, 6 Mar 2022 19:32:47 +0000 (19:32 +0000)] 
Fix the compatibility note for ProxyErrorOverride used with error code. (revision 2.4.47 based on CHANGES)

[skip ci]

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

3 years agoSynch with trunk and add a missing word.
Christophe Jaillet [Sun, 6 Mar 2022 12:41:28 +0000 (12:41 +0000)] 
Synch with trunk and add a missing word.

[skip ci]

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

3 years ago'samesite' in CO is available since 2.4.47.
Christophe Jaillet [Sun, 6 Mar 2022 11:05:56 +0000 (11:05 +0000)] 
'samesite' in CO is available since 2.4.47.

While at it, remove some trainling spaces to synch with trunk.

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

3 years agopropose
Christophe Jaillet [Sat, 5 Mar 2022 15:16:29 +0000 (15:16 +0000)] 
propose

[skip ci]

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

3 years agoupdate after backport before last backport - crazy times [skip ci]
Stefan Eissing [Fri, 4 Mar 2022 09:32:35 +0000 (09:32 +0000)] 
update after backport before last backport - crazy times [skip ci]

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

3 years agoupdate after backport [skip ci]
Stefan Eissing [Fri, 4 Mar 2022 09:30:57 +0000 (09:30 +0000)] 
update after backport [skip ci]

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

3 years agoMerge of 1891019,1891023 from trunk:
Stefan Eissing [Fri, 4 Mar 2022 09:30:28 +0000 (09:30 +0000)] 
Merge of 1891019,1891023 from trunk:

  *) dbm: Split the loading of a dbm driver from the opening of a dbm file. When
     an attempt to load a dbm driver fails, log clearly which driver triggered
     the error (not "default"), and what the error was.

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

3 years agoRevert of 1898566, backport of dbm loading, to allow clean apply of proposed patch.
Stefan Eissing [Fri, 4 Mar 2022 09:16:02 +0000 (09:16 +0000)] 
Revert of 1898566, backport of dbm loading, to allow clean apply of proposed patch.

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

3 years agoMerge of r1896253,r1897859 from trunk (via PR 288):
Stefan Eissing [Fri, 4 Mar 2022 09:06:07 +0000 (09:06 +0000)] 
Merge of r1896253,r1897859 from trunk (via PR 288):

  *) mod_proxy: Bump shared worker name to 384 chars. PR 53218

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

3 years agoupdate after backport [skip ci]
Stefan Eissing [Fri, 4 Mar 2022 08:52:17 +0000 (08:52 +0000)] 
update after backport [skip ci]

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

3 years agomerge of 1898146,1898173 from trunk:
Stefan Eissing [Fri, 4 Mar 2022 08:51:47 +0000 (08:51 +0000)] 
merge of 1898146,1898173 from trunk:

  *) mod_http2: preserve the port number given in a HTTP/1.1
     request that was Upgraded to HTTP/2. Fixes PR65881.

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

3 years agodbm backport approved and merged
Jim Jagielski [Thu, 3 Mar 2022 13:30:46 +0000 (13:30 +0000)] 
dbm backport approved and merged

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

3 years agopromote
Jim Jagielski [Thu, 3 Mar 2022 13:26:22 +0000 (13:26 +0000)] 
promote

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

3 years agotested and voted
Jim Jagielski [Thu, 3 Mar 2022 13:25:42 +0000 (13:25 +0000)] 
tested and voted

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

3 years agocleanup after backport [skip ci]
Stefan Eissing [Thu, 3 Mar 2022 09:32:22 +0000 (09:32 +0000)] 
cleanup after backport [skip ci]

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

3 years agoMerge of r1898127 from trunk:
Stefan Eissing [Thu, 3 Mar 2022 09:31:51 +0000 (09:31 +0000)] 
Merge of r1898127 from trunk:

  *) mod_proxy: Use the maxium of front end and backend timeouts instead of the
     minimum when tunneling requests (websockets, CONNECT requests).
     Backend timeouts can be configured more selectively (per worker if needed)
     as front end timeouts and typically the backend timeouts reflect the
     application requirements better.  PR 65886

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

3 years agovote and promote [skip ci]
Stefan Eissing [Thu, 3 Mar 2022 09:30:53 +0000 (09:30 +0000)] 
vote and promote [skip ci]

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

3 years agoVote [skip ci]
Yann Ylavic [Mon, 28 Feb 2022 12:07:12 +0000 (12:07 +0000)] 
Vote [skip ci]

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

3 years agoAxe backported entry [skip ci]
Yann Ylavic [Mon, 28 Feb 2022 12:04:41 +0000 (12:04 +0000)] 
Axe backported entry [skip ci]

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

3 years agoap_regex: Use Thread Local Storage (if efficient) to avoid allocations.
Yann Ylavic [Mon, 28 Feb 2022 11:56:43 +0000 (11:56 +0000)] 
ap_regex: Use Thread Local Storage (if efficient) to avoid allocations.

PCRE2 wants an opaque context by providing the API to allocate and free it, so
to minimize these calls we maintain one opaque context per thread (in Thread
Local Storage, TLS) grown as needed, and while at it we do the same for PCRE1
ints vectors. Note that this requires a fast TLS mechanism to be worth it,
which is the case of apr_thread_data_get/set() from/to apr_thread_current()
when APR_HAS_THREAD_LOCAL; otherwise we'll do the allocation and freeing for
each ap_regexec().

The small stack vector is used for PCRE1 && !APR_HAS_THREAD_LOCAL only now.

Follow up to r1897240: APR_HAS_THREAD_LOCAL wants #ifdef instead of #if.

Follow up to r1897240: CHANGES entry.

ap_regex: PCRE needs buffers sized against the number of captures only.

No more (useless), no less (or PCRE will allocate a new buffer by itself to
satisfy the needs), so we should base our buffer size solely on the number
of captures in the regex (determined at compile time from the pattern).

The nmatch provided by the user is used to fill in pmatch only (up to that),
but "our" buffers are sized exactly as needed to avoid oversized allocations
or PCRE allocating by itself.

ap_regex: Follow up to r1897244: Fix pmatch overflow and returned value at limits.

Don't write to pmatch[nlimit:] when ncaps > nmatch, rc should not exceed nmatch
either as before r1897244.

ap_regex: Follow up to r1897240: Fix issues spotted by RĂ¼diger (thanks!).

#include "apr_thread_proc.h" is enough/needed by util_pcre.c and main.c.
Fix compilation (vector => ovector) for !HAVE_PCRE2 && APR_HAS_THREAD_LOCAL.
Check pcre2_match_data_create() return value for HAVE_PCRE2 && !APR_HAS_THREAD_LOCAL.

ap_regex: Follow up to r1897240: runtime fallback to alloc/free.

Even though APR_HAS_THREAD_LOCAL is compiled in, ap_regexec() might still be
called by non a apr_thread_t thread, let's fall back to alloc/free in this
case too.

ap_regex: Follow up to r1897240: no ap_thread_current() yet.

ap_regex: Follow up to r1897240: cleanups.

ap_regex: Follow up to r1897240: cleanup PCRE2 match data on exit.

ap_regex: Follow up to r1897240: #if APR_HAS_THREAD_LOCAL, not #ifdef.

core: Efficient ap_thread_current() with APR < 1.8.

#define ap_thread_create, ap_thread_current_create and ap_thread_current to
their apr-1.8+ equivalent if available, or implement them using the compiler's
thread_local mechanism if available, or finally provide stubs otherwise.

#define AP_HAS_THREAD_LOCAL to 1 in the two former case or 0 otherwise, while
AP_THREAD_LOCAL is defined to the compiler's keyword iff AP_HAS_THREAD_LOCAL.

Replace all apr_thread_create() calls with ap_thread_create() so that httpd
threads can use ap_thread_current()'s pool data as Thread Local Storage.

Bump MMN minor.

* include/httpd.h():
  Define AP_HAS_THREAD_LOCAL, AP_THREAD_LOCAL (eventually), ap_thread_create(),
  ap_thread_current_create() and ap_thread_current().

* server/util.c:
  Implement ap_thread_create(), ap_thread_current_create() and
  ap_thread_current() when APR < 1.8.

* modules/core/mod_watchdog.c, modules/http2/h2_workers.c,
    modules/ssl/mod_ssl_ct.c:
  Use ap_thread_create() instead of apr_thread_create.

* server/main.c:
  Use AP_HAS_THREAD_LOCAL and ap_thread_current_create instead of APR's.

* server/util_pcre.c:
  Use AP_HAS_THREAD_LOCAL and ap_thread_current instead of APR's.

* server/mpm/event/event.c, server/mpm/worker/worker.c,
    server/mpm/prefork/prefork.c:
  Use ap_thread_create() instead of apr_thread_create.
  Create an apr_thread_t/ap_thread_current() for the main chaild thread usable
  at child_init().

* server/mpm/winnt/child.c:
  Use ap_thread_create() instead of CreateThread().
  Create an apr_thread_t/ap_thread_current() for the main chaild thread usable

Follow up to r1897460: APLOGNOs.

Follow up to r1897460: !APR_HAS_THREAD implies no ap_thread_* either.

core: Follow up to r1897460: Implement and use ap_thread_current_after_fork().

thread_local variables are not (always?) reset on fork(), so we need a way
to set the current_thread to NULL in the child process.

Implement and use ap_thread_current_after_fork() for that.

* include/httpd.h:
  Define ap_thread_current_after_fork().

* server/util.c:
  Implement ap_thread_current_after_fork().

* server/mpm/event/event.c, server/mpm/prefork/prefork.c,
    server/mpm/worker/worker.c:
  Use ap_thread_current_after_fork().

* server/mpm/winnt/child.c:
  Windows processes are not fork()ed and each child runs the main(), so
  ap_thread_current_create() was already called there.

core: Follow up to r1897460: Provide ap_thread_main_create().

Replace ap_thread_current_create() by ap_thread_main_create() which is how
it's used by httpd. The former is now a local helper only to implement the
latter.

This allows to consolidate/factorize common code in the main() of httpd and
the unix MPMs.

ap_regex: Follow up to r1897240: Fetch the ovector _after_ the match.

Possibly(?) pcre2_match() can modifiy the given pcre2_match_data and invalidate
the old ovector, be safe and fetch it after.

main: Follow up to r1897240: Fix bad log copypasta.

Don't stderr printf the "stat" and "failed" results from the previous
apr_app_initialize() call for an error in ap_thread_main_create().

core: Follow up to r1897240: Opt-out for AP_HAS_THREAD_LOCAL and/or pcre's usage.

If the compiler's thread_local is not efficient enough on some platforms, or
not desired, have a way to disable its usage in httpd (at compile time).

Handle -DAP_NO_THREAD_LOCAL and/or -DAPREG_NO_THREAD_LOCAL as build opt-out for
thread_local usage in httpd gobally and/or in ap_regex only (respectively).

core: Follow up to r1897240: Provide/export ap_thread_current_create()

For completness, and possibly to ease backport to 2.4.x for MPM winnt.

core: Follow up to r1897240 & r1897691: Syntax.

Add compiled and loaded PCRE version numbers
to "httpd -V" output and to mod_info page.

Forgotten file needed for r1612934.

Minor mmn bump due to r1612940.

Backports: r1897240, r1897241, r1897242, r1897244, r1897248, r1897250,
           r1897260, r1897261, r1897263, r1897386, r1897459, r1897460,
           r1897461, r1897462, r1897472, r1897543, r1897651, r1897680,
           r1897689, r1897691, r1897692, r1612934, r1612940, r1613189
Submitted by: ylavic, rjung, rjung, rjung
Reviewed by: ylavic, rpluem, covener, steffenal, wrowe
GH: closes #289 (https://github.com/apache/httpd/pull/289)

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

3 years agoSync CHANGES entries [skip ci]
Yann Ylavic [Mon, 28 Feb 2022 10:31:43 +0000 (10:31 +0000)] 
Sync CHANGES entries [skip ci]

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

3 years agofr doc rebuild.
Lucien Gentis [Sat, 26 Feb 2022 12:42:59 +0000 (12:42 +0000)] 
fr doc rebuild.

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

3 years agofr doc X%ML file update.
Lucien Gentis [Sat, 26 Feb 2022 12:42:01 +0000 (12:42 +0000)] 
fr doc X%ML file update.

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

3 years agoReplace PCRE with PCRE2 where it is available
William A. Rowe Jr [Thu, 24 Feb 2022 22:18:42 +0000 (22:18 +0000)] 
Replace PCRE with PCRE2 where it is available

PCRE 8.45 from May '21 is at end-of-life and will not receive security
vulnerability attention. pcre2-10.x replaces this and has been updated
(as of this time) as recently as Oct '21.

This patch removes the needless assignment of re_erroffset in the conf pool
by the worker threads; such mistakes break the shared copy-on-write pages of
memory that should have remained common between all httpd worker processes.

Two de-optimizations are inherent in this patch, the former ovector-on-stack
opportunity is lost. This is by design of pcre2, more serious exploits were
available with stack array underrun/overrun manipulation. Heap for all pcre
array processing is the recommendation of the implementor, enforced by API.

Safer that we either create a new general context using pool allocation
in heap (requires thread-pool args we don't have in our api), or recycle
a per-req, per-pool, TLS match_data buffer on heap of some arbitrary 10 elts
or so, for these most common cases. Since this can't be done portably in C89
we may revisit this optimization in post-2.4 releases.

This logic refuses to consider --without-pcre, which is nonsequitor.

Submitted by: [wrowe, Petr Pisar <ppisar redhat.com>, rjung]
Backports: 1773454 1773741 1773742 1773839 1773870 1773882 1814662 1881478

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

3 years agoRemove backported entry
Christophe Jaillet [Thu, 24 Feb 2022 20:43:57 +0000 (20:43 +0000)] 
Remove backported entry

[skip ci]

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

3 years agoMerge r1897325, r1897326, r1897329, r1898255 from trunk
Christophe Jaillet [Thu, 24 Feb 2022 20:43:21 +0000 (20:43 +0000)] 
Merge r1897325, r1897326, r1897329, r1898255 from trunk

APR and APU must be at least 1.3 to be able to configure and build httpd 2.4.x.
So remove some osbolete #if in the source code.
   - mod_socache_memcache
   - mod_authn_dbd
   - mod_log_config
   - mod_proxy_ftp and proxy-util

Submitted by: jailletc36, jailletc36, jailletc36, jailletc36
Reviewed by: jailletc36, icing, rpluem
Backported by: jailletc36

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

3 years agoRemove backported entry
Christophe Jaillet [Thu, 24 Feb 2022 20:37:55 +0000 (20:37 +0000)] 
Remove backported entry

[skip ci]

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

3 years agoMerge r1881379, r1892422, r1893011, r1897270, r1897271 from trunk
Christophe Jaillet [Thu, 24 Feb 2022 20:37:08 +0000 (20:37 +0000)] 
Merge r1881379, r1892422, r1893011, r1897270, r1897271 from trunk

Easy patches: synch 2.4.x and trunk
   - mod_ssl: Fix a few warnings on 64 bits windows compilation
   - ap_escape_quotes(): Remove unneeded checks to improve performance
   - test/time-sem.c: unlock the accept mutex before exiting (error conditions)
   - mod_ext_filter: Fix a spurious -1 used as a APR_SIZE_T_FMT in an error message
   - mod_sed: fix some format string (s/lld/APR_INT64_T_FMT/)

Submitted by: jailletc36, rpluem, ylavic, jailletc36, jailletc36
Reviewed by: jailletc36, icing, rpluem
Backported by: jailletc36

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

3 years agoResolves BZ65859 - feature is in trunk but not on 2.4 yet.
Rich Bowen [Wed, 23 Feb 2022 18:12:59 +0000 (18:12 +0000)] 
Resolves BZ65859 - feature is in trunk but not on 2.4 yet.

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

3 years agoResolves BZ65861 - clarify post_config api doc
Rich Bowen [Wed, 23 Feb 2022 14:39:07 +0000 (14:39 +0000)] 
Resolves BZ65861 - clarify post_config api doc

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

3 years ago* Vote and promote [skip ci]
Ruediger Pluem [Wed, 23 Feb 2022 08:10:14 +0000 (08:10 +0000)] 
* Vote and promote [skip ci]

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

3 years ago* Propose [skip ci]
Ruediger Pluem [Wed, 23 Feb 2022 08:01:32 +0000 (08:01 +0000)] 
* Propose [skip ci]

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