]> git.ipfire.org Git - thirdparty/apache/httpd.git/log
thirdparty/apache/httpd.git
4 years agoMerge r1887999 from trunk
Christophe Jaillet [Sun, 18 Apr 2021 19:09:03 +0000 (19:09 +0000)] 
Merge r1887999 from trunk

   * modules/http/http_core.c server/protocol.c:
     Make sure that conn->keepalive is NOT reset after being set in ap_read_request()

Submitted by: jfclere
Reviewed by: jfclere, covener, ylavic
Backported by: jailletc36

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

4 years agoAdd a change entry
Christophe Jaillet [Sun, 18 Apr 2021 19:05:08 +0000 (19:05 +0000)] 
Add a change entry

[skip ci]

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

4 years agoMerge r1826206, r1880678, r1880743, r1880924 from trunk
Christophe Jaillet [Sun, 18 Apr 2021 18:59:39 +0000 (18:59 +0000)] 
Merge r1826206, r1880678, r1880743, r1880924 from trunk

   * mod_lua: Support Lua 5.4 and use pkg-config to detect Lua
     properly on Debian systems.

Submitted by: jorton, jorton, gbechis, rpluem
Reviewed by: jorton, gbechis, ylavic
Backported by: jailletc36

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

4 years agoMerge r1888087 from trunk
Christophe Jaillet [Sun, 18 Apr 2021 18:55:43 +0000 (18:55 +0000)] 
Merge r1888087 from trunk

   * mod_http2: Fixed a race condition that could lead to streams being
     aborted (RST to the client), although a response had been produced

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

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

4 years agoBackported. [skip ci]
Yann Ylavic [Sun, 18 Apr 2021 17:05:20 +0000 (17:05 +0000)] 
Backported. [skip ci]

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

4 years agoMerge r1882370 from trunk:
Yann Ylavic [Sun, 18 Apr 2021 17:04:34 +0000 (17:04 +0000)] 
Merge r1882370 from trunk:

Adjust signal handler before unblocking

* server/mpm/event/event.c: Set the new signal handler before unblocking the
  signal as otherwise queued signals get delivered to the old handler
  immediately when the signal is unblocked.

* server/mpm/worker/worker.c: Same thing as with event.

Submitted by: rpluem
Reviewed by: ylavic, jorton, icing

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

4 years agoVote, promote. [skip ci]
Yann Ylavic [Sun, 18 Apr 2021 16:57:19 +0000 (16:57 +0000)] 
Vote, promote. [skip ci]

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

4 years agovote, fix typo [skip ci]
Giovanni Bechis [Sun, 18 Apr 2021 13:38:55 +0000 (13:38 +0000)] 
vote, fix typo [skip ci]

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

4 years agoupdate transformations.
Nilgun Belma Buguner [Sun, 18 Apr 2021 08:57:41 +0000 (08:57 +0000)] 
update transformations.

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

4 years agoupdate for sync with English docs.
Nilgun Belma Buguner [Sun, 18 Apr 2021 08:56:55 +0000 (08:56 +0000)] 
update for sync with English docs.

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

4 years agoPropose
Christophe Jaillet [Sun, 18 Apr 2021 08:05:16 +0000 (08:05 +0000)] 
Propose

[skip ci]

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

4 years agopromote/vote
Eric Covener [Sat, 17 Apr 2021 20:09:08 +0000 (20:09 +0000)] 
promote/vote

[skip ci]

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

4 years agoPropose
Christophe Jaillet [Sat, 17 Apr 2021 17:56:59 +0000 (17:56 +0000)] 
Propose

[skip ci]

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

4 years ago* Vote [skip ci]
Ruediger Pluem [Tue, 13 Apr 2021 07:47:13 +0000 (07:47 +0000)] 
* Vote [skip ci]

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

4 years agopropose mod_http2 backport of fix regarding response status on a stream.
Stefan Eissing [Mon, 12 Apr 2021 08:47:52 +0000 (08:47 +0000)] 
propose mod_http2 backport of fix regarding response status on a stream.
[no ci]

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

4 years agofr doc rebuild.
Lucien Gentis [Fri, 2 Apr 2021 12:46:15 +0000 (12:46 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML files updates.
Lucien Gentis [Fri, 2 Apr 2021 12:45:10 +0000 (12:45 +0000)] 
fr doc XML files updates.

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

4 years agoUpdated backport PR with recent changes, integrated all ap_ssl_*() related
Stefan Eissing [Fri, 26 Mar 2021 16:13:50 +0000 (16:13 +0000)] 
Updated backport PR with recent changes, integrated all ap_ssl_*() related
trunk revisions and listed them in the proposal.

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

4 years agoBack port proposal and vote.
Jean-Frederic Clere [Thu, 25 Mar 2021 15:05:13 +0000 (15:05 +0000)] 
Back port proposal and vote.

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

4 years agovote
Stefan Eissing [Wed, 24 Mar 2021 14:38:42 +0000 (14:38 +0000)] 
vote
[skip ci]

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

4 years agoadjust PR number for rebased PR on 2.4.x branch.
Stefan Eissing [Wed, 24 Mar 2021 14:33:45 +0000 (14:33 +0000)] 
adjust PR number for rebased PR on 2.4.x branch.

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

4 years agoUpdate after backport of mod_http2 change proposal.
Stefan Eissing [Wed, 24 Mar 2021 14:30:04 +0000 (14:30 +0000)] 
Update after backport of mod_http2 change proposal.
[skip ci]

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

4 years ago *) mod_http2: sync with github standalone version 1.15.17
Stefan Eissing [Wed, 24 Mar 2021 14:28:49 +0000 (14:28 +0000)] 
  *) mod_http2: sync with github standalone version 1.15.17
     - Log requests and sent the configured error response in case of early detected
       errors like too many or too long headers. [Ruediger Pluem]
     - new option 'H2OutputBuffering on/off' which controls the buffering of stream output.
       The default is on, which is the behaviour of older mod-h2 versions. When off, all
       bytes are made available immediately to the main connection for sending them
       out to the client. This fixes interop issues with certain flavours of gRPC, see
       also <https://github.com/icing/mod_h2/issues/207>.

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

4 years agoProposing backport of ap_ssl_* functions and related changes.
Stefan Eissing [Wed, 24 Mar 2021 14:10:09 +0000 (14:10 +0000)] 
Proposing backport of ap_ssl_* functions and related changes.

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

4 years agoMerge r1888004 from trunk:
Eric Covener [Wed, 24 Mar 2021 13:13:29 +0000 (13:13 +0000)] 
Merge r1888004 from trunk:

drive home the purpose of forward-dns

[skip ci]

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

4 years agoMerge r1888002 from trunk:
Eric Covener [Wed, 24 Mar 2021 12:52:36 +0000 (12:52 +0000)] 
Merge r1888002 from trunk:

pull in forward-dns example from authz_host

lots of people miss it reading the doc for Require in authz_core only

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 20 Mar 2021 13:34:22 +0000 (13:34 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML file update.
Lucien Gentis [Sat, 20 Mar 2021 13:33:31 +0000 (13:33 +0000)] 
fr doc XML file update.

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

4 years agoVote, [skip ci]
Joe Orton [Fri, 19 Mar 2021 16:52:59 +0000 (16:52 +0000)] 
Vote, [skip ci]

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

4 years agoUpdate Lua proposal, thanks to jailletc36 for catching missing commit.
Joe Orton [Fri, 19 Mar 2021 16:38:51 +0000 (16:38 +0000)] 
Update Lua proposal, thanks to jailletc36 for catching missing commit.
[skip ci]

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

4 years agoMerge r1880958 from trunk:
Joe Orton [Fri, 19 Mar 2021 16:12:29 +0000 (16:12 +0000)] 
Merge r1880958 from trunk:

Document limitations for private key format in
SSLProxyMachineCertificateFile and
SSLProxyMachineCertificatePath. PR 63935.

Plus, further tweak text to explain failure mode specific to 2.4.

Submitted by: rjung, jorton
Reviewed by: jorton

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

4 years agoPropose. [skip ci]
Yann Ylavic [Wed, 17 Mar 2021 12:11:08 +0000 (12:11 +0000)] 
Propose. [skip ci]

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

4 years agoAxe modules.apache.org.
Christophe Jaillet [Sun, 14 Mar 2021 16:16:34 +0000 (16:16 +0000)] 
Axe modules.apache.org.

It has been off-line for a long time now, and there is no plan to bring it up, AFAIK.

r1887636 on trunk
+ a few changes to synch with trunk

[skip ci]

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

4 years agoAdd a note
Christophe Jaillet [Sat, 13 Mar 2021 16:24:07 +0000 (16:24 +0000)] 
Add a note

[skip ci]

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 13 Mar 2021 10:58:07 +0000 (10:58 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML file update.
Lucien Gentis [Sat, 13 Mar 2021 10:56:57 +0000 (10:56 +0000)] 
fr doc XML file update.

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

4 years agoFix APLOGNO(10258) missing from r1887384.
Yann Ylavic [Tue, 9 Mar 2021 18:15:22 +0000 (18:15 +0000)] 
Fix APLOGNO(10258) missing from r1887384.

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

4 years agoBackported in r1887386 [skip ci].
Yann Ylavic [Tue, 9 Mar 2021 16:35:32 +0000 (16:35 +0000)] 
Backported in r1887386 [skip ci].

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

4 years agoMerge r1887244, r1887245 from trunk:
Yann Ylavic [Tue, 9 Mar 2021 16:35:03 +0000 (16:35 +0000)] 
Merge r1887244, r1887245 from trunk:

Fix a potential duplicated ID generation issue under heavy load.
This is due to a non thread safe use of a counter.

Use a counter for each thread instead to avoid the issue.

PR 65159

Follow-up to r1887244.

Wrong version of the patch attached :(

Submitted by: jailletc36
Reviewed by: jailletc36, ylavic, jorton

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

4 years agoBackported in r1887384 [skip ci].
Yann Ylavic [Tue, 9 Mar 2021 16:30:07 +0000 (16:30 +0000)] 
Backported in r1887384 [skip ci].

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

4 years agoMerge r1879285, r1879322, r1879345, r1879346, r1879465, r1879469, r1879470, r1879488...
Yann Ylavic [Tue, 9 Mar 2021 16:28:23 +0000 (16:28 +0000)] 
Merge r1879285, r1879322, r1879345, r1879346, r1879465, r1879469, r1879470, r1879488, r1879541, r1879548 from trunk:

"[mod_dav_fs etag handling] should really honor the FileETag setting".
- It now does.
- Add "Digest" to FileETag directive, allowing a strong ETag to be
  generated using a file digest.
- Add ap_make_etag_ex() and ap_set_etag_fd() to allow full control over
  ETag generation.
- Add concept of "binary notes" to request_rec, allowing packed bit flags
  to be added to a request.
- First binary note - AP_REQUEST_STRONG_ETAG - allows modules to force
  the ETag to a strong ETag to comply with RFC requirements, such as those
  mandated by various WebDAV extensions.

Be defensive when the request is missing.

Remove tabs.

Use a dedicated constant for the base64 sha1 length.

Be defensive when calculating the digest. Make sure the offset is initialised
to zero before reading the current offset.

Seek to the start of the file when calculating the ETag.

Add log numbers to util_etag.c.

Add MMAP support to ETag generation.

Use a brigade instead of direct reads, allow APR to handle MMAP.

Bump the logno.

Submitted by: minfrin
Reviewed by: minfrin, jim, ylavic

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

4 years agoBackported in r1887382 [skip ci].
Yann Ylavic [Tue, 9 Mar 2021 16:16:18 +0000 (16:16 +0000)] 
Backported in r1887382 [skip ci].

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

4 years agoMerge r1874674 from trunk:
Yann Ylavic [Tue, 9 Mar 2021 16:15:45 +0000 (16:15 +0000)] 
Merge r1874674 from trunk:

bubble up an error if none of the passhrases work

previously, the un-decodable z->encoded would get set to NULL
but success would be returned

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

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

4 years agoBackported in r1887380 [skip ci].
Yann Ylavic [Tue, 9 Mar 2021 16:14:18 +0000 (16:14 +0000)] 
Backported in r1887380 [skip ci].

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

4 years agoMerge r1883184 from trunk:
Yann Ylavic [Tue, 9 Mar 2021 16:12:52 +0000 (16:12 +0000)] 
Merge r1883184 from trunk:

Optimize 'ap_list_provider_names'.

Save some memory and potentialy avoid some useless copy .

Using 'goto' is not realy in line with httpd coding style, but the function is small and still readable IMHO.

Submitted by: jailletc36
Reviewed by: jailletc36, jorton, ylavic

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

4 years agoBackported [skip ci].
Yann Ylavic [Tue, 9 Mar 2021 16:10:38 +0000 (16:10 +0000)] 
Backported [skip ci].

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

4 years agoMerge r1875353 from trunk:
Yann Ylavic [Tue, 9 Mar 2021 16:09:07 +0000 (16:09 +0000)] 
Merge r1875353 from trunk:

* modules/proxy/mod_proxy_http.c (ap_proxy_http_process_response): Clear any
  possible returned buckets in the brigade in the error case. As we want to
  close the connection anyway there is no sensible content we could still
  sent and hence doing the needed life time transformation of the buckets
  would be a waste.

PR: 64234

Submitted by: rpluem
Reviewed by: ylavic, jorton, jfclere

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

4 years agoMerge r1883668, r1886255 from trunk:
Yann Ylavic [Tue, 9 Mar 2021 15:44:30 +0000 (15:44 +0000)] 
Merge r1883668, r1886255 from trunk:

mod_http2: explicitely apr_thread_exit() at the end of slot_run().

Calling apr_thread_exit() before returning from the thread function avoids
leaking the thread's pool (until/unless APR-2.0 is used).

mod_http2: Fix workers synchronization on pchild cleanup.

When the MPM child exits and pre-workers_pool_cleanup() is called, all the
workers are not necessarily in their idle critical section, thus aborting slots
in the ->idle list only may leave worker threads alive, later blocked in the
idle critical section with no one to wake them.

Instead of the per-slot ->aborted flag, workers_pool_cleanup() will now set
workers->aborted "globally" such that slot_run() does not wait to be woken up
from idle in this case, and all workers really exit.

Also, for workers_pool_cleanup() to wait for all the workers to reach the
->zombies list before returning, a new ->all_done condition variable is armed
when the last thread exits. Since this depends on the atomic ->worker_count to
reach zero, for accuracy the increment in activate_slot() is moved before the
thread startup.

* modules/http2/h2_workers.h (struct h2_workers): volatilize ->aborted and
  add the ->all_done condition variable.

* modules/http2/h2_workers.c (push_slot, pop_slot): volatilize the h2_slot*
  being cas-ed.

* modules/http2/h2_workers.c (cleanup_zombies): rename to join_zombies(), and
  move ->worker_count atomic inc to slot_done().

* modules/http2/h2_workers.c (get_next): when workers->aborted, leave and don't
  wait for ->not_idle. Return an int/bool since it's gotten / not gotten.

* modules/http2/h2_workers.c (slot_done): signal ->all_done when the last
  worker and the MPM child are exiting.

* modules/http2/h2_workers.c (slot_run): rework the loops now that get_next()
  is the stop signal.

* modules/http2/h2_workers.c (workers_pool_cleanup): wait for ->all_done when
  needed, and remove the !workers->aborted condition since the cleanup will
  only be called once.

* modules/http2/h2_workers.c (activate_slot): move ->worker_count atomic inc
  before the thread creation and handle failure rollback.

github: closes #169

Submitted by: ylavic
Reviewed by: ylavic, icing, jorton

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

4 years agoPromote [skip ci].
Yann Ylavic [Tue, 9 Mar 2021 15:37:55 +0000 (15:37 +0000)] 
Promote [skip ci].

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

4 years agoVotes. [skip ci]
Jean-Frederic Clere [Tue, 9 Mar 2021 14:41:20 +0000 (14:41 +0000)] 
Votes. [skip ci]

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

4 years agoVotes. [skip ci]
Joe Orton [Tue, 9 Mar 2021 13:55:25 +0000 (13:55 +0000)] 
Votes. [skip ci]

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

4 years agoVotes. [skip ci]
Yann Ylavic [Sat, 6 Mar 2021 14:56:28 +0000 (14:56 +0000)] 
Votes. [skip ci]

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 6 Mar 2021 14:04:41 +0000 (14:04 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML file update.
Lucien Gentis [Sat, 6 Mar 2021 14:03:54 +0000 (14:03 +0000)] 
fr doc XML file update.

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

4 years agoPropose
Christophe Jaillet [Sat, 6 Mar 2021 08:27:20 +0000 (08:27 +0000)] 
Propose

[skip ci]

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

4 years agoPropose
Christophe Jaillet [Sat, 6 Mar 2021 07:27:41 +0000 (07:27 +0000)] 
Propose

[skip ci]

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

4 years agoRemove duplicated CHANGES entry
Christophe Jaillet [Fri, 5 Mar 2021 23:09:20 +0000 (23:09 +0000)] 
Remove duplicated CHANGES entry

[skip ci]

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

4 years agoFixe some typo in CHANGES.
Christophe Jaillet [Fri, 5 Mar 2021 23:03:51 +0000 (23:03 +0000)] 
Fixe some typo in CHANGES.

Thanks to: https://fossies.org/linux/test/httpd-2.4.x-snap.tar.bz2/codespell.html

[skip ci]

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

4 years agoPropose Lua 5.4 support. [skip ci]
Joe Orton [Thu, 4 Mar 2021 09:09:33 +0000 (09:09 +0000)] 
Propose Lua 5.4 support. [skip ci]

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

4 years agoMerged*2, [skip ci]
Joe Orton [Wed, 3 Mar 2021 17:43:23 +0000 (17:43 +0000)] 
Merged*2, [skip ci]

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

4 years agoMerge r1874007 from trunk:
Joe Orton [Wed, 3 Mar 2021 17:43:04 +0000 (17:43 +0000)] 
Merge r1874007 from trunk:

* modules/ssl/ssl_util_ocsp.c (serialize_request): Set the Connection header
  to close to indicate that we do not want to keep the HTTP connection to the
  OCSP responder alive. We don't reuse the connections currently and if the
  OCSP responder keeps the connection alive this could cause us to wait for
  keepalive timeout of the OCSP responder to timeout until we finish our
  reading of the OCSP response.

PR: 64135
Submitted by: rpluem
Reviewed by: jorton, ylavic, covener

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

4 years agoMerge r1875871, r1875879, r1875881, r1875883, r1875988, r1876014, r1876037, r1876787...
Joe Orton [Wed, 3 Mar 2021 17:40:36 +0000 (17:40 +0000)] 
Merge r1875871, r1875879, r1875881, r1875883, r1875988, r1876014, r1876037, r1876787 from trunk:

mod_ssl: Extend the coalescing filter to avoid sending HTTP response
headers in a separate TLS record to the response body in some cases.

* modules/ssl/ssl_engine_io.c:
  Increase size of coalesce buffer to AP_IOBUFSIZE (8Kb).
  (ssl_io_filter_coalesce): Try harder to fill the prefix which
  gets coalesced, including a read&split of a morphing bucket type

* modules/ssl/ssl_engine_io.c: (ssl_io_filter_coalesce): Handle the
  case of a bucket which morphs to a bucket short enough to fit within
  the buffer without needing to split.

* modules/ssl/ssl_engine_io.c: Update comment, no function change,

* modules/ssl/ssl_engine_io.c (ssl_io_filter_coalesce): Treat zero-length
  buckets consistently (ignore them) after a morphing bucket morphs.

* modules/ssl/ssl_engine_io.c (ssl_io_filter_coalesce): Handle the case
  where apr_bucket_read fails with an error and hence our current bucket
  remains the morphing bucket and is not replaced with a 'data' bucket.
  If the error is not EAGAIN, error out with an AP_FILTER_ERROR,
  otherwise just do not consider the morphing bucket that has no data for
  coalesce.

* modules/ssl/ssl_engine_io.c (ssl_io_filter_coalesce): Further tweaks
  to logic, comments and debugging:
  - allow buffering up to exactly COALESCE_BYTES rather than COALESCE_BYTES-1.
  - put bucket type name in logging output
  - do not coalesce a single-bucket prefix of length equal to the
    buffer size (which would be a pointless memory copy).

* modules/ssl/ssl_engine_io.c (ssl_io_filter_coalesce): Update comment only.

Submitted by: jorton, rpluem
Reviewed by: jorton, ylavic, icing
Github: closes #113

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

4 years agoPropose http2 backport. [skip ci]
Stefan Eissing [Wed, 3 Mar 2021 10:43:28 +0000 (10:43 +0000)] 
Propose http2 backport. [skip ci]

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

4 years agoApply CHANGES and axe backported entries. [skip ci]
Yann Ylavic [Tue, 2 Mar 2021 20:53:57 +0000 (20:53 +0000)] 
Apply CHANGES and axe backported entries. [skip ci]

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

4 years agoMerge r1885691 from trunk:
Yann Ylavic [Tue, 2 Mar 2021 20:51:55 +0000 (20:51 +0000)] 
Merge r1885691 from trunk:

mod_proxy_hcheck: don't pile up health checks.  PR 63010.

Prevent health checks from running for a worker until the last one is fully
finished, to avoid making things worse (memory growth, #connections, ..).

This is done by zeroing worker->s->updated before scheduling the worker in the
threadpool, and resetting the time when it's finished. The scheduler then does
nothing if worker->s->updated is zero.

Also, to save some apr_time_now() calls when !HC_USE_THREADS, *baton->now is
updated in the callback and reused by the scheduler.

Submitted by: ylavic
Reviewed by: ylavic, covener, icing

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

4 years agoMerge r1886141, r1886151 from trunk:
Yann Ylavic [Tue, 2 Mar 2021 20:50:40 +0000 (20:50 +0000)] 
Merge r1886141, r1886151 from trunk:

* We need to check for (!scheme && (u = strchr(url, ':')) && (u - url) > 14)
  later as (!scheme || u[0] != '/' || u[1] != '/' || u[2] == '\0') is true
  for requests with the CONNECT method which we need to decline. But in many
  cases requests with the CONNECT method have (u - url) > 14 as in this
  case (u - url) is the length of the FQDN the forward proxy should connect
  to.

mod_proxy_http: follow up to r1886141, axe overlong scheme check.

Since mod_proxy can see CONNECT URIs, "hostname:port" versus "scheme:"
is hardly distinguishable (we don't want to limit the length of hostnames),
and we don't allocate the scheme anymore while parsing, let's simply decline
unrecognized schemes (overlong or not) and be caught by the no-handler case
if there really is no proxy handler interested.

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

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

4 years agoMerge r1398307, r1465839, r1530603, r1578759, r1729507 from trunk:
Ruediger Pluem [Tue, 2 Mar 2021 20:02:32 +0000 (20:02 +0000)] 
Merge r1398307, r1465839, r1530603, r1578759, r1729507 from trunk:

* If we face a timeout during receiving the response from the backend and if
  we pinged it successfully before don't assume the whole backend has failed.
  Assume that only the request has failed and return a gateway timeout then.

Add failontimeout to allow server admin to mark balancer member in err if IO timeout occurs.

ping tuning via Yann Ylavic <ylavic.dev@gmail.com>

Use 'apr_table_setn' instead of 'apr_table_set' when possible in order to save memory.

mod_proxy: axe negative "ping" parameter setting and handling.
This used to check for the backend connection readability only (instead of
the full ping/100-continue round-trip), but the case is already handled by
ap_proxy_connect_backend() which is always called.

Submitted by: rpluem, druggeri, jim, jailletc36, ylavic
Reviewed by: rpluem, ylavic, icing

Github: closes #170

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

4 years agovote and promote. [skip ci]
Stefan Eissing [Tue, 2 Mar 2021 15:39:23 +0000 (15:39 +0000)] 
vote and promote. [skip ci]

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

4 years agoBackported [skip ci].
Yann Ylavic [Tue, 2 Mar 2021 15:37:12 +0000 (15:37 +0000)] 
Backported [skip ci].

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

4 years agoMerge r1887050, r1887052 from trunk:
Yann Ylavic [Tue, 2 Mar 2021 15:35:55 +0000 (15:35 +0000)] 
Merge r1887050, r1887052 from trunk:

mod_session: save one apr_strtok() in session_identity_decode().

When the encoding is invalid (missing '='), no need to parse further.

mod_session: account for the '&' in identity_concat().

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

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

4 years agovote and promote
Stefan Eissing [Tue, 2 Mar 2021 15:26:12 +0000 (15:26 +0000)] 
vote and promote

[skip ci]

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

4 years agovote and promote.
Stefan Eissing [Tue, 2 Mar 2021 14:57:07 +0000 (14:57 +0000)] 
vote and promote.

[skip ci]

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

4 years agovote
Stefan Eissing [Tue, 2 Mar 2021 14:46:45 +0000 (14:46 +0000)] 
vote

[skip ci]

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

4 years ago* Backported in r1887080. [skip ci]
Ruediger Pluem [Tue, 2 Mar 2021 07:44:18 +0000 (07:44 +0000)] 
* Backported in r1887080. [skip ci]

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

4 years agoMerge r1885939, r1885940, r1885941, r1885945 from trunk:
Ruediger Pluem [Tue, 2 Mar 2021 07:43:35 +0000 (07:43 +0000)] 
Merge r1885939, r1885940, r1885941, r1885945 from trunk:

Do not allow to set empty bind passwords to be set via AuthLDAPBindPassword

Binds with empty passwords always succeed, but in case the password of the
user was not empty subsequent LDAP operations fail.

Before doing any bind check that the provided username is not NULL and that the
password is neither NULL nor empty.

Binds with empty passwords always succeed, but in case the password of the
user was not empty subsequent LDAP operations fail.
This causes authentications that use user supplied credentials
(AuthLDAPInitialBindAsUser set to on) to fail with status code 500 instead of
401 if the user supplied an empty password.

* Document r1885939 and r1885940

* Add lognumber

Reviewed by: rpluem, ylavic, covener

Github: closes #168

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

4 years agoVote
Christophe Jaillet [Mon, 1 Mar 2021 22:43:27 +0000 (22:43 +0000)] 
Vote

[skip ci]

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

4 years agomove, not copy.
Eric Covener [Mon, 1 Mar 2021 20:40:37 +0000 (20:40 +0000)] 
move, not copy.

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

4 years agomove to stalled
Eric Covener [Mon, 1 Mar 2021 20:39:58 +0000 (20:39 +0000)] 
move to stalled

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

4 years agovote/promote where I can
Eric Covener [Mon, 1 Mar 2021 20:35:36 +0000 (20:35 +0000)] 
vote/promote where I can

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

4 years agoPropose.
Yann Ylavic [Mon, 1 Mar 2021 20:20:42 +0000 (20:20 +0000)] 
Propose.

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

4 years agoAdd an example.
Christophe Jaillet [Sun, 28 Feb 2021 14:28:53 +0000 (14:28 +0000)] 
Add an example.
Synch with 2.4.x (syntax highlight) + secret introduced in 2.4.42.
Small doc rearrangement so that the "Beyond this list of basic attributes" is actually after the description of all items.

Mostly r 1792168 + r1886996 on trunk

[skip ci]

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

4 years agoAdd missing pt translation
Christophe Jaillet [Sun, 28 Feb 2021 11:43:57 +0000 (11:43 +0000)] 
Add missing pt translation

PR 41433

[skip ci]

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

4 years agoVotes [skip ci].
Yann Ylavic [Thu, 25 Feb 2021 11:25:50 +0000 (11:25 +0000)] 
Votes [skip ci].

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

4 years agoUpdate proposal [skip ci].
Yann Ylavic [Wed, 24 Feb 2021 21:52:57 +0000 (21:52 +0000)] 
Update proposal [skip ci].

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

4 years agoMerge r1886098 from trunk:
Ruediger Pluem [Thu, 11 Feb 2021 10:51:19 +0000 (10:51 +0000)] 
Merge r1886098 from trunk:

* Do variable setting in a more portable way such that it works on MacOS as well
Submitted by: rpluem
Reviewed by: rpluem, jorton, ylavic

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

4 years ago* Add proposal
Ruediger Pluem [Thu, 11 Feb 2021 10:49:17 +0000 (10:49 +0000)] 
* Add proposal

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

4 years ago* Propose
Ruediger Pluem [Fri, 5 Feb 2021 09:34:56 +0000 (09:34 +0000)] 
* Propose

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

4 years agoUpdate proposal. [skip ci]
Yann Ylavic [Wed, 3 Feb 2021 12:01:15 +0000 (12:01 +0000)] 
Update proposal. [skip ci]

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

4 years agoPropose, vote/promote. [skip ci]
Yann Ylavic [Tue, 2 Feb 2021 23:32:51 +0000 (23:32 +0000)] 
Propose, vote/promote. [skip ci]

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

4 years agoVotes. [skip ci]
Joe Orton [Tue, 2 Feb 2021 14:12:10 +0000 (14:12 +0000)] 
Votes. [skip ci]

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

4 years ago* Propose
Ruediger Pluem [Mon, 1 Feb 2021 10:33:02 +0000 (10:33 +0000)] 
* Propose

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

4 years agoPropose
Christophe Jaillet [Sun, 31 Jan 2021 22:00:36 +0000 (22:00 +0000)] 
Propose

[skip ci]

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

4 years agofr doc rebuild.
Lucien Gentis [Sat, 23 Jan 2021 14:39:00 +0000 (14:39 +0000)] 
fr doc rebuild.

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

4 years agofr doc XML files updates.
Lucien Gentis [Sat, 23 Jan 2021 14:36:23 +0000 (14:36 +0000)] 
fr doc XML files updates.

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

4 years agoSynch with trunk:
Christophe Jaillet [Sat, 23 Jan 2021 08:11:39 +0000 (08:11 +0000)] 
Synch with trunk:
Fix a typo
Remove a useless empty line
Turn a tab into spaces to be consistent

(r1740880 on trunk)

[skip ci]

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

4 years agos/2020/2021/
Christophe Jaillet [Sat, 23 Jan 2021 07:29:38 +0000 (07:29 +0000)] 
s/2020/2021/

Happy New Year!

(r1885835 on trunk)

[skip ci]

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

4 years agoAdd some missing hyper links to directives.
Christophe Jaillet [Sat, 23 Jan 2021 06:54:18 +0000 (06:54 +0000)] 
Add some missing hyper links to directives.
Remove some <var> in <syntax> to be more consistant with the rest of the doc.
Remove a duplicated traling ".".

(r1885833 on trunk)

[skip ci]

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

4 years agoUpdate mergeinfo
Christophe Jaillet [Fri, 22 Jan 2021 16:56:26 +0000 (16:56 +0000)] 
Update mergeinfo

[skip ci]

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

4 years agoRemove backported item
Christophe Jaillet [Fri, 22 Jan 2021 16:46:52 +0000 (16:46 +0000)] 
Remove backported item

[skip ci]

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

4 years agoMerge r1881303,r1881304,r1881305,r1881306 from trunk
Christophe Jaillet [Fri, 22 Jan 2021 16:46:12 +0000 (16:46 +0000)] 
Merge r1881303,r1881304,r1881305,r1881306 from trunk

  *) Fix some Windows 64 compilation warnings

Submitted by: jailletc36
Reviewed by: jailletc36, minfrin, ylavic (by inspection)
Backported by: jailletc36

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