]>
granicus.if.org Git - apache/log
Lucien Gentis [Sat, 27 Apr 2019 13:14:56 +0000 (13:14 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1858272 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 27 Apr 2019 13:13:46 +0000 (13:13 +0000)]
XML fr doc update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1858271 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Wed, 24 Apr 2019 20:22:54 +0000 (20:22 +0000)]
revert r1857857.
The comment is useful and the dead-code is future proof (and should be axed by the compiler anyway)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1858070 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sat, 20 Apr 2019 07:21:03 +0000 (07:21 +0000)]
Fix a compilation error when GPROF is defined.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1857859 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sat, 20 Apr 2019 07:01:29 +0000 (07:01 +0000)]
Axe a useless comment.
Remove some dead code and innacurate comment. 'r' can not be dereferenced later in the function. (this is obvious since r1814659)
(Reverted in r1858070)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1857857 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Thu, 18 Apr 2019 10:25:33 +0000 (10:25 +0000)]
Fix use of StateDir directive after r1852982:
* server/core.c (reset_config): Rename from reset_config_defines;
tie core_state_dir to pconf lifetime in this cleanup.
(core_pre_config): Adjust accordingly.
* modules/md/mod_md_config.c (md_config_post_config): Pick up base_dir
from statedir in post-config phase so StateDir can influence it.
* modules/dav/fs/mod_dav_fs.c (dav_fs_create_server_config): Don't
init lockdb_path here. (dav_fs_post_config): New function; set
lockdb_path based on configured statedir.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1857731 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 16 Apr 2019 08:13:46 +0000 (08:13 +0000)]
Transforms.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1857629 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 16 Apr 2019 07:54:27 +0000 (07:54 +0000)]
Add security note on CoreDumpDirectory for Linux.
Reviewed by: icing, elukey
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1857626 13f79535 -47bb-0310-9956-
ffa450edef68
Rainer Jung [Sun, 14 Apr 2019 13:21:08 +0000 (13:21 +0000)]
Fix wrong use of ap_rputs with formats.
Use ap_rprintf instead.
It seems noone has PIPE_BUF defined.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1857515 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 8 Apr 2019 18:52:00 +0000 (18:52 +0000)]
Follow up to r1857129: CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1857130 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Mon, 8 Apr 2019 18:46:12 +0000 (18:46 +0000)]
mod_reqtimeout: fix default_[stage]_rate_factor initializations.
r1853901 lowercased the [stage] for MRT_DEFAULT_[stage]_* macros but missed
to change the ones used in reqtimeout_hooks() to initialize the default rate
factors, leading to no default rate in 2.4.39. Fix that now. PR 63325.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1857129 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 4 Apr 2019 10:04:52 +0000 (10:04 +0000)]
Removing no longer existing h2 source file from cmake.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856910 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 2 Apr 2019 21:37:27 +0000 (21:37 +0000)]
Well, our build with latest APR trunk seems to insist on updating apr_common.m4
So be it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856846 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Tue, 2 Apr 2019 15:00:43 +0000 (15:00 +0000)]
Fix for: [Bug 62372] Load balancer byrequests required when bytraffic chosen
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856829 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 1 Apr 2019 14:29:14 +0000 (14:29 +0000)]
PR63305: fix graceful restart crashes in LDAP
The cache destruction was not protected by the lock used by other
cache callers.
Pull the static cleanup function into util_ldap.c so it's convenient to
use the existing locking.
Submitted By: Martin Fúsek <mfusek newps.cz>
Commited By: covener
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856735 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 30 Mar 2019 15:35:12 +0000 (15:35 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856633 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 30 Mar 2019 15:33:49 +0000 (15:33 +0000)]
XML files fr doc updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856632 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Fri, 29 Mar 2019 17:37:38 +0000 (17:37 +0000)]
Revert r1856560: was not the latest apr_common.m4 version anyway...
How does that change came in my local workspace in the first place??
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856561 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Fri, 29 Mar 2019 17:33:23 +0000 (17:33 +0000)]
Update apr_common.m4 to latest (trunk).
Note: why is that file in the httpd repo??
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856560 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 28 Mar 2019 22:39:31 +0000 (22:39 +0000)]
mod_cache: follow up to r1856493: cache_strqtok() to reject quoted tokens.
Use a real state machine to track where quotes are allowed, and for
better clarity too...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856507 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 28 Mar 2019 18:22:23 +0000 (18:22 +0000)]
mod_cache: follow up to r1856493: always terminate cache_strqtok() returns.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856500 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 28 Mar 2019 16:39:39 +0000 (16:39 +0000)]
mod_cache: Fix parsing of quoted Cache-Control token arguments. PR 63288.
Make cache_strqtok() return both the token and its unquoted argument (if any),
or an error if the parsing fails.
Cache-Control integer values (max-age, max-stale, ...) can then be parsed w/o
taking care of the (optional) quoting.
Suggested by: fielding
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856493 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 28 Mar 2019 16:27:26 +0000 (16:27 +0000)]
Follow up to r1856490: missing one mod_log_forensic test_char_table case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856491 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 28 Mar 2019 16:24:30 +0000 (16:24 +0000)]
Provide TEST_CHAR marco in test_char.h
For (internal) usage outside server/util.c, mod_log_forensic for now
and mod_cache (T_HTTP_TOKEN_STOP) in a few...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856490 13f79535 -47bb-0310-9956-
ffa450edef68
Gregg Lewis Smith [Tue, 26 Mar 2019 15:52:28 +0000 (15:52 +0000)]
add loadmodule line to sochache_redis to httpd.conf in Windows
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856322 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Tue, 26 Mar 2019 10:57:51 +0000 (10:57 +0000)]
*) mod_md: Store permissions are enforced on file creation, enforcing restrictions in
spite of umask. Fixes <https://github.com/icing/mod_md/issues/117>. [Stefan Eissing]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856297 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Fri, 22 Mar 2019 09:53:29 +0000 (09:53 +0000)]
mod_proxy: follow up to r1836588: configurable Proxy100Continue.
Add Proxy100Continue directive to allow for 100-continue forwarding opt-out.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1856036 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Tue, 19 Mar 2019 17:26:38 +0000 (17:26 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access_modern): Correctly
restore SSL verify state after PHA failure in TLSv1.3.
Submitted by: Michael Kaufmann <mail michael-kaufmann.ch>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855849 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Mon, 18 Mar 2019 16:05:04 +0000 (16:05 +0000)]
*) mod_md: Explicitly setting file permissions to break out of umasks. We want our
non-privilegded apache user to be able to read them. See github issue
<https://github.com/icing/mod_md/issues/117>. [Stefan Eissing]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855777 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 18 Mar 2019 13:45:36 +0000 (13:45 +0000)]
rephrase MimeOptions description
rephrase to account for e.g. AddHandler which isn't about response metadata.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855767 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 18 Mar 2019 12:25:48 +0000 (12:25 +0000)]
remove null check
fails in maintainer mode w/ __attribute__(nonnull))
util.c:576:10: error: nonnull parameter 'name' will evaluate to 'true'
on first encounter [-Werror,-Wpointer-bool-conversion]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855755 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 18 Mar 2019 10:18:55 +0000 (10:18 +0000)]
* Solve a chicken and egg problem here:
We need to have sslconn->dc set correctly when we want to
init sslconn, but we need to allocate memory for it first.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855748 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 18 Mar 2019 09:21:26 +0000 (09:21 +0000)]
* r->parsed_uri.path can be NULL in case of the CONNECT method.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855744 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 18 Mar 2019 09:19:54 +0000 (09:19 +0000)]
* Play safe in case we get no name
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855743 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 18 Mar 2019 09:17:50 +0000 (09:17 +0000)]
* Revert r1855741 which committed other stuff as well.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855742 13f79535 -47bb-0310-9956-
ffa450edef68
Ruediger Pluem [Mon, 18 Mar 2019 09:16:06 +0000 (09:16 +0000)]
* Play safe in case we get no name
Reverted by r1855742.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855741 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sun, 17 Mar 2019 14:41:10 +0000 (14:41 +0000)]
Merge consecutive slashes in the URL by default
opt-out w/ `MergeSlashes OFF`.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855705 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 17 Mar 2019 14:13:11 +0000 (14:13 +0000)]
Update compatibility notes for mod_socache_redis
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855701 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sat, 16 Mar 2019 18:15:23 +0000 (18:15 +0000)]
allow mod_mime to be de disabled per-dir too
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855663 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 16 Mar 2019 14:53:52 +0000 (14:53 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855656 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 16 Mar 2019 14:52:27 +0000 (14:52 +0000)]
xml fr doc updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855655 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 16 Mar 2019 14:49:35 +0000 (14:49 +0000)]
XML tags reordering.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855654 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Sat, 16 Mar 2019 13:45:17 +0000 (13:45 +0000)]
mod_proxy/ssl: cleanup per-request SSL configuration for recycled proxy conns.
The SSL dir config of proxy/backend connections is stored in r->per_dir_config
but those connections have a lifetime independent of the requests they handle.
So we need to allow the external ssl_engine_set() function to reset mod_ssl's
dir config in between proxy requests, or the first sslconn->dc could be used
after free for the next requests.
mod_proxy can then reset/reinit the request config when recycling its backend
connections.
PR 63256.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855646 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 15 Mar 2019 20:38:45 +0000 (20:38 +0000)]
Fix some HTML syntax issues.
PR 63095 (Masahiro IMABAYASHI, <masahiro.imabayashi sony.com>)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855614 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 14 Mar 2019 13:39:21 +0000 (13:39 +0000)]
Uplift of relevante changes of r1855479 in branches/2.4.x, re disappearance of h2_ngn_shed.* sources.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855519 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 13 Mar 2019 20:00:29 +0000 (20:00 +0000)]
spotted by Ruediger
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855455 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 13 Mar 2019 19:59:47 +0000 (19:59 +0000)]
wrong hat
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855454 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Wed, 13 Mar 2019 18:41:30 +0000 (18:41 +0000)]
mod_mime: Add `MimeOptions`
mod_mime: Add `MimeOptions` directive to allow Content-Type or all metadata
detection to use only the last (right-most) file extension.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855449 13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Wed, 13 Mar 2019 17:56:36 +0000 (17:56 +0000)]
Make the work-around for C++ style comments causing fatal errors in
maintainer-mode for later versions of clang module compile specific
(we will still SEE the errors though when buidlin)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855446 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Wed, 13 Mar 2019 15:02:52 +0000 (15:02 +0000)]
update after backport, mod_http2/proxy_http2 now equivalent
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855433 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 13 Mar 2019 13:13:05 +0000 (13:13 +0000)]
Update mod_reqtimeout 'handshake' compatibility version (r1855413 did it for 2.4.x already).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855418 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Wed, 13 Mar 2019 12:45:39 +0000 (12:45 +0000)]
Reverting the unwanted revert of r1852989.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855411 13f79535 -47bb-0310-9956-
ffa450edef68
Luis Gil [Tue, 12 Mar 2019 23:51:46 +0000 (23:51 +0000)]
fixing bugreport 63258 on the typo mapfile.map.pag
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855354 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 12 Mar 2019 21:48:19 +0000 (21:48 +0000)]
mod_ssl: AH10129 from ERR to DEBUG level.
No error here, just debug information.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855349 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 12 Mar 2019 11:43:49 +0000 (11:43 +0000)]
Follow up to r1855306: Axe bucket number from struct process_score.
Implies a Major bump.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855311 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 12 Mar 2019 10:45:02 +0000 (10:45 +0000)]
MPMs unix: bind the bucket number of each child to its slot number
We need not remember each child's bucket number in SHM for restarts, for the
lifetime of the httpd main process the bucket number can be bound to the slot
number such that: bucket = slot % num_buckets.
This both simplifies the logic and helps children maintenance per bucket in
threaded MPMs, where previously perform_idle_server_maintenance() could create
or kill children processes for the buckets it was not in charge of.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855306 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Tue, 12 Mar 2019 09:21:17 +0000 (09:21 +0000)]
*) mod_http2: when SSL renegotiation is inhibited and a 403 ErrorDocument is
in play, the proper HTTP/2 stream reset did not trigger with H2_ERR_HTTP_1_1_REQUIRED.
Fixed. [Michael Kaufmann]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855295 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 9 Mar 2019 14:08:23 +0000 (14:08 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855114 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 9 Mar 2019 14:06:52 +0000 (14:06 +0000)]
fr doc update.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1855113 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 7 Mar 2019 10:18:14 +0000 (10:18 +0000)]
Adding new H2Padding directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1854964 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Thu, 7 Mar 2019 09:41:15 +0000 (09:41 +0000)]
*) mod_http2: new configuration directive: ```H2Padding numbits``` to control
padding of HTTP/2 payload frames. 'numbits' is a number from 0-8,
controlling the range of padding bytes added to a frame. The actual number
added is chosen randomly per frame. This applies to HEADERS, DATA and PUSH_PROMISE
frames equally. The default continues to be 0, e.g. no padding. [Stefan Eissing]
*) mod_http2: ripping out all the h2_req_engine internal features now that mod_proxy_http2
has no more need for it. Optional functions are still declared but no longer implemented.
While previous mod_proxy_http2 will work with this, it is recommeneded to run the matching
versions of both modules. [Stefan Eissing]
*) mod_proxy_http2: changed mod_proxy_http2 implementation and fixed several bugs which
resolve PR63170. The proxy module does now a single h2 request on the (reused)
connection and returns. [Stefan Eissing]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1854963 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 3 Mar 2019 07:26:10 +0000 (07:26 +0000)]
Fix a parsing error when using Ant 1.9.13 without the external Xerces (2.9.0) and Xalan (2.7.1).
The error is: "filter-expr(funcall(current, []), [pred(=(step("attribute", 39), literal-expr(section)))])'. Cause: Erreur lors de la vérification du type de l'expression 'filter-expr(funcall(current, []), [pred(=(step("attribute", 39), literal-expr(section)))])"
This takes us 1 step closer to use Ant 1.9+ and remove Xerces and Xalan from the build chain.
Patch tested with the current doc build chain (Ant 1.6.5 + Xerces + Xalan) on the 2.4.x branch.
Even if actually we don't have any "<Foo>" and "Foo" directives, I've checked that the doc is built correctly in such a case.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1854677 13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 26 Feb 2019 17:35:18 +0000 (17:35 +0000)]
Simplify charset handling
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1854409 13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 26 Feb 2019 13:52:06 +0000 (13:52 +0000)]
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1854379 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Tue, 26 Feb 2019 09:55:44 +0000 (09:55 +0000)]
*) mod_http2/mod_proxy_http2: proxy_http2 checks correct master connection aborted status
to trigger immediate shutdown of backend connections. This is now always signalled
by mod_http2 when the the session is being released.
proxy_http2 now only sends a PING frame to the backend when there is not already one
in flight. [Stefan Eissing]
*) mod_proxy_http2: fixed an issue where a proxy_http2 handler entered an infinite
loop when encountering certain errors on the backend connection.
See <https://bz.apache.org/bugzilla/show_bug.cgi?id=63170>. [Stefan Eissing]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1854365 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 23 Feb 2019 15:50:49 +0000 (15:50 +0000)]
fr doc rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1854223 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 23 Feb 2019 15:49:27 +0000 (15:49 +0000)]
XML fr doc files updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1854222 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 20 Feb 2019 23:08:15 +0000 (23:08 +0000)]
http: Fix possible empty response with mod_ratelimit for HEAD requests.
Don't eat the EOS in ap_http_header_filter() if it comes in single brigade
with a full response to a HEAD request, otherwise mod_ratelimit will never
flush its pending data.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1854004 13f79535 -47bb-0310-9956-
ffa450edef68
Luis Gil [Wed, 20 Feb 2019 22:51:53 +0000 (22:51 +0000)]
Reviewed and corrected some spelling and typos
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1854002 13f79535 -47bb-0310-9956-
ffa450edef68
Luis Gil [Wed, 20 Feb 2019 22:47:40 +0000 (22:47 +0000)]
changed typo on "This module relies on OpenSSL to provide the cryptography engine." to change
cryptographic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1854000 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 20 Feb 2019 21:30:16 +0000 (21:30 +0000)]
mod_proxy_hcheck: mute "run from watchdog" message.
This is way too verbose (every 100ms) to be logged at any LogLevel.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853992 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Wed, 20 Feb 2019 18:54:03 +0000 (18:54 +0000)]
Update a comment about the 'PATCH' HTTP command
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853980 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Eissing [Wed, 20 Feb 2019 15:54:26 +0000 (15:54 +0000)]
mod_http2: fix for latest mod_reqtimeout change re handshake timeouts
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853967 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 20 Feb 2019 12:53:06 +0000 (12:53 +0000)]
mod_proxy_http: revert spurious comment from r1853953.
No, if we read more bytes than the C-L there is really something wrong in
our (or some) HTTP input filter.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853956 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 20 Feb 2019 12:24:14 +0000 (12:24 +0000)]
mod_proxy_http: common function for stream_reqbody_{cl,chunked}()
Since stream_reqbody_cl() and stream_reqbody_chunked}() now have the same
structure, join them into a single stream_reqbody() function which is passed
the rb_method to handle only CL vs chunked cases differently.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853953 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 20 Feb 2019 09:48:45 +0000 (09:48 +0000)]
Follow up to r1853874: CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853938 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 20 Feb 2019 08:54:51 +0000 (08:54 +0000)]
mod_reqtimeout: follow up to r1853901: init stage name outside INIT_STAGE().
It helps both code readability where stages are initilized and potential
logging in the input filter (even if the stage is disabled).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853935 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 20 Feb 2019 08:13:41 +0000 (08:13 +0000)]
mod_reqtimeout: follow up to r1853901: fix macro args.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853929 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 19 Feb 2019 18:22:11 +0000 (18:22 +0000)]
mod_reqtimeout: follow up to r1853906: adjust hooks priorities comments.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853908 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 19 Feb 2019 18:14:13 +0000 (18:14 +0000)]
mod_reqtimeout: Allow to configure (TLS-)handshake timeouts.
The timeouts apply between the process_connection and pre_read_request hooks.
They are disabled by default for compatibily reasons.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853906 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 19 Feb 2019 17:21:09 +0000 (17:21 +0000)]
mod_reqtimeout: factorize structs and code.
With a bit of macro magic, this is to avoid more code duplication when adding
new stages (next commit will add TLS/handshake timeouts handling in addition to
existing header and body ones).
No functional change here.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853901 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Tue, 19 Feb 2019 11:51:27 +0000 (11:51 +0000)]
mod_cache_socache: avoid pool to heap reallocation.
Below some threshold, the previous code tried free (sub-)pooled memory ASAP by
moving small buffers (< capacity / 2) to a heap bucket. But this is not really
an optimization because first it requires at some point to allocate more than
the configured capacity, and second since this happens during response handling
the pool is about to be destroyed soon anymay.
This commit simply keeps the data in the subpool and uses a pool bucket for the
output brigade to take care of the lifetime until it's consumed (or not).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853874 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Sun, 17 Feb 2019 14:47:06 +0000 (14:47 +0000)]
This is harmless, but this really should be an 'echo_do *'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853757 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 15 Feb 2019 20:50:17 +0000 (20:50 +0000)]
- Be consistent with the case used for uniqueMember.
- Be consistent with the case used for AuthLDAPURL. Use uppercase URL, as in the code in order to fix syntax highlight issues.
- Fix the case of AuthLDAPSubGroupAttribute in <default>, so that quickreference.xsl works as expected
Fix some other small layout issues.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853664 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 15 Feb 2019 13:24:54 +0000 (13:24 +0000)]
Fix compatibility note, 'SSLPolicy' is not in 2.4.x yet.
+ remove a trailing space to synch with 2.4.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853644 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 15 Feb 2019 11:36:44 +0000 (11:36 +0000)]
Add directive name, so that quickreference.xsl can extract default value correctly.
Always align on the left code in <highlight> block in order to be consistent and fix a layout issue.
Add some links between directives.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853637 13f79535 -47bb-0310-9956-
ffa450edef68
Joe Orton [Fri, 15 Feb 2019 10:09:53 +0000 (10:09 +0000)]
* modules/md/mod_md_config.c (md_mod_conf_get): Use state-dir-relative
default base_dir.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853631 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 15 Feb 2019 08:47:16 +0000 (08:47 +0000)]
Add directive name, so that quickreference.xsl can extract default value correctly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853624 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 15 Feb 2019 08:37:25 +0000 (08:37 +0000)]
Fix the directive name used in <default> syntax for DefaultRuntimeDir.
Add some links.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853623 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 15 Feb 2019 08:21:11 +0000 (08:21 +0000)]
Fix typo added in r1838958
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853618 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 15 Feb 2019 07:50:20 +0000 (07:50 +0000)]
Fix case in directive name, so that quickreference.xsl can extract default value correctly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853617 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 15 Feb 2019 07:30:59 +0000 (07:30 +0000)]
Fix typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853616 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Fri, 15 Feb 2019 07:25:54 +0000 (07:25 +0000)]
Add some additional tests to report badly formatted synopsis.
Comment-out these tests because of the noise it generates, but leave it there, if useful for s.o.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853615 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Feb 2019 08:45:36 +0000 (08:45 +0000)]
mod_proxy_http: follow up to r1853561.
Handle "proxy-sendextracrlf" within the loop too.
Btw, this extra CRLF heresy should go (at least in trunk)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853566 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Feb 2019 08:40:38 +0000 (08:40 +0000)]
Revert r1853564.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853565 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Feb 2019 08:34:05 +0000 (08:34 +0000)]
mod_proxy_http: follow up to r1853409: no need to double flush on EOS.
[Reverted by r1853565]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853564 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Thu, 14 Feb 2019 08:22:49 +0000 (08:22 +0000)]
mod_proxy_http: follow up to r1853409: don't play with meta-buckets.
It's better/simpler to handle the final 0-size chunk within the loop (on EOS).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853561 13f79535 -47bb-0310-9956-
ffa450edef68
Jean-Frederic Clere [Thu, 14 Feb 2019 08:14:52 +0000 (08:14 +0000)]
Create the configure for mod_proxy_hcheck when used in BalancerMember.
PR 60757
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853560 13f79535 -47bb-0310-9956-
ffa450edef68
Yann Ylavic [Wed, 13 Feb 2019 16:53:50 +0000 (16:53 +0000)]
mod_proxy_http: follow up to r1853409.
Don't send two final 0-size chunks when the last read brigade is a single EOS.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853518 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Tue, 12 Feb 2019 07:49:32 +0000 (07:49 +0000)]
Fix numbering
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1853416 13f79535 -47bb-0310-9956-
ffa450edef68