]> granicus.if.org Git - apache/log
apache
8 years agoupdate transformation
André Malo [Tue, 28 Jun 2016 19:59:09 +0000 (19:59 +0000)]
update transformation

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

8 years agosvn:eol-style = native
André Malo [Tue, 28 Jun 2016 19:50:48 +0000 (19:50 +0000)]
svn:eol-style = native

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

8 years ago--enable-mods-[shared|static]=none has *never* done anything special.
William A. Rowe Jr [Tue, 28 Jun 2016 19:50:47 +0000 (19:50 +0000)]
--enable-mods-[shared|static]=none has *never* done anything special.

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

8 years agoupdate transformation
André Malo [Tue, 28 Jun 2016 19:27:22 +0000 (19:27 +0000)]
update transformation

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

8 years agosvn:eol-style = native
André Malo [Tue, 28 Jun 2016 19:21:05 +0000 (19:21 +0000)]
svn:eol-style = native

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

8 years agoSmall change to r952007, ensure we don't wipe out the $enable_foomod value
William A. Rowe Jr [Tue, 28 Jun 2016 18:33:52 +0000 (18:33 +0000)]
Small change to r952007, ensure we don't wipe out the $enable_foomod value
when that value is 'shared'. The 'yes', 'shared', 'static' and 'no' values
are all valid.

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

8 years agomod_proxy: follow up to r1750392 and r1750474.
Yann Ylavic [Tue, 28 Jun 2016 13:48:44 +0000 (13:48 +0000)]
mod_proxy: follow up to r1750392 and r1750474.
Restore PROXY_WORKER_IS_USABLE() check in ap_proxy_connect_backend(), we must
obviously (un)put backend in error state based on the result of the actual
connect(), and don't change it in ap_proxy_check_backend()...
APR_SUCCESS return by ap_proxy_check_backend(), i.e. a usable worker and an
established connection, is enough for modules to continue w/o calling
ap_proxy_connect_backend(), still.

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

8 years agoFix proxy balancer lbmethod --enable defaults to follow proxy_balancer
William A. Rowe Jr [Tue, 28 Jun 2016 13:44:58 +0000 (13:44 +0000)]
Fix proxy balancer lbmethod --enable defaults to follow proxy_balancer

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

8 years agomod_proxy: follow up to r1750392: comment on proxy_conn_rec->tmp_bb.
Yann Ylavic [Tue, 28 Jun 2016 12:10:34 +0000 (12:10 +0000)]
mod_proxy: follow up to r1750392: comment on proxy_conn_rec->tmp_bb.

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

8 years agomod_proxy: follow up to r1750392.
Yann Ylavic [Tue, 28 Jun 2016 11:19:36 +0000 (11:19 +0000)]
mod_proxy: follow up to r1750392.
Avoid double checking the connection in ap_proxy_connect_backend() when
ap_proxy_check_backend() says it is up and good to go.

This can be done by moving the PROXY_WORKER_IS_USABLE() check in
ap_proxy_check_backend(), since it is called by ap_proxy_connect_backend(),
and not calling the latter if the former succeeded (for the modules using it).

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

8 years agoxforms
Christophe Jaillet [Tue, 28 Jun 2016 04:45:11 +0000 (04:45 +0000)]
xforms

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

8 years agoBe more consistent in <highlight> block layout in XML.
Christophe Jaillet [Tue, 28 Jun 2016 04:39:22 +0000 (04:39 +0000)]
Be more consistent in <highlight> block layout in XML.
No visual change

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

8 years agoFix typo as spotted by Wolfgang in online doc
Christophe Jaillet [Tue, 28 Jun 2016 03:43:36 +0000 (03:43 +0000)]
Fix typo as spotted by Wolfgang in online doc

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

8 years agoThis is not C code... no semi, a colon is a noop
William A. Rowe Jr [Mon, 27 Jun 2016 22:05:54 +0000 (22:05 +0000)]
This is not C code... no semi, a colon is a noop

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

8 years agoUndo r1750418, miscommitted a local test
William A. Rowe Jr [Mon, 27 Jun 2016 22:05:31 +0000 (22:05 +0000)]
Undo r1750418, miscommitted a local test

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

8 years agoThis isn't C ;) Colon for noop
William A. Rowe Jr [Mon, 27 Jun 2016 22:04:13 +0000 (22:04 +0000)]
This isn't C ;)  Colon for noop

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

8 years agomod_proxy: we don't need ap_proxy_ssl_connection_cleanup() anymore with
Yann Ylavic [Mon, 27 Jun 2016 21:49:15 +0000 (21:49 +0000)]
mod_proxy: we don't need ap_proxy_ssl_connection_cleanup() anymore with
ap_proxy_check_backend() used at connection reuse time, so remove its last call and deprecate it.

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

8 years agomod_proxy_http2: don't use ap_proxy_ssl_connection_cleanup(), there may be
Yann Ylavic [Mon, 27 Jun 2016 21:45:45 +0000 (21:45 +0000)]
mod_proxy_http2: don't use ap_proxy_ssl_connection_cleanup(), there may be
data available on the backend connection before we reuse it (e.g. PING or SETTINGS change).

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

8 years agomod_proxy: use proxy_conn_rec->tmp_bb where appopriate to avoid temporary
Yann Ylavic [Mon, 27 Jun 2016 21:39:53 +0000 (21:39 +0000)]
mod_proxy: use proxy_conn_rec->tmp_bb where appopriate to avoid temporary
brigade create/destroy.

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

8 years agoAccount for explicit enable- cases of 'shared', 'few', 'all', 'reallyall'
William A. Rowe Jr [Mon, 27 Jun 2016 19:47:52 +0000 (19:47 +0000)]
Account for explicit enable- cases of 'shared', 'few', 'all', 'reallyall'

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

8 years agomod_proxy_{http,ajp,fcgi}}: don't reuse backend connections with data available
Yann Ylavic [Mon, 27 Jun 2016 17:26:12 +0000 (17:26 +0000)]
mod_proxy_{http,ajp,fcgi}}: don't reuse backend connections with data available
before the request is sent.  PR 57832.

ap_proxy_check_backend() can be used before ap_proxy_connect_backend() to try
to read available data (including from the filters), and is called by
ap_proxy_connect_backend() to check the socket state only (as before, still
relevant after ap_proxy_check_backend() due to filter data which may not have
triggered a real socket operation).

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

8 years agomod_proxy: revert r1750301, r1750305 and r1750311.
Yann Ylavic [Mon, 27 Jun 2016 16:06:42 +0000 (16:06 +0000)]
mod_proxy: revert r1750301, r1750305 and r1750311.
Rework needed.

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

8 years agoEnsure not-selected means 'no', once an APACHE_MODULE enable_foo is processed
William A. Rowe Jr [Mon, 27 Jun 2016 13:45:02 +0000 (13:45 +0000)]
Ensure not-selected means 'no', once an APACHE_MODULE enable_foo is processed

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

8 years agomod_proxy: follow up to r1750301: APLOGNO().
Yann Ylavic [Mon, 27 Jun 2016 08:20:39 +0000 (08:20 +0000)]
mod_proxy: follow up to r1750301: APLOGNO().

[Reverted by r1750376]

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

8 years agomod_proxy: follow up to r1750301.
Yann Ylavic [Mon, 27 Jun 2016 08:08:26 +0000 (08:08 +0000)]
mod_proxy: follow up to r1750301.
s/is_socket_connected/get_socket_connected/ in the !USE_ALTERNATE_IS_CONNECTED
case, and add CHANGE + MMN entries.

[Reverted by r1750376]

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

8 years agomod_proxy: don't reuse backend connections with data available before the
Yann Ylavic [Mon, 27 Jun 2016 08:00:30 +0000 (08:00 +0000)]
mod_proxy: don't reuse backend connections with data available before the
request is sent.  PR 57832.

[Reverted by r1750376]

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

8 years agoFollow up to r1737447: fix max_spare_threads lower bound.
Yann Ylavic [Sat, 25 Jun 2016 18:56:28 +0000 (18:56 +0000)]
Follow up to r1737447: fix max_spare_threads lower bound.
Suggested by: Rick Houser <rick.houser jackson.com>

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

8 years agoRebuild.
Lucien Gentis [Sat, 25 Jun 2016 17:58:54 +0000 (17:58 +0000)]
Rebuild.

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

8 years agoXML update.
Lucien Gentis [Sat, 25 Jun 2016 17:56:43 +0000 (17:56 +0000)]
XML update.

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

8 years agoReplace the proxy_mods_enable logic, with its hazardous 'yes' value that
William A. Rowe Jr [Fri, 24 Jun 2016 05:31:13 +0000 (05:31 +0000)]
Replace the proxy_mods_enable logic, with its hazardous 'yes' value that
aborts the build on missing dependencies, with a local override of the
module_selection as 'most', and module_default of the same shared|static
model that was requested through --enable-proxy.

[For trunk, we need to reevaluate the 'most' condition of some of the more
esoteric modules, and simply drop the module_default override; where a user
wants to enable -only- mod_proxy, plus one proxy mechanism, the legacy 2.4.x
behavior retained by this patch is nuts. For one example,
  --enable-modules=few --enable-proxy-yes --enable-proxy_http
is a completely specific and legitimate syntax --- adding 10 other proxy
providers in response to this syntax is absurd.]

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

8 years agoWith correct and now-multiple dependency checking, drop this redundant test
William A. Rowe Jr [Thu, 23 Jun 2016 16:05:00 +0000 (16:05 +0000)]
With correct and now-multiple dependency checking, drop this redundant test

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

8 years agoPromote any static module to yes|shared if a required dependency is not static
William A. Rowe Jr [Thu, 23 Jun 2016 15:42:30 +0000 (15:42 +0000)]
Promote any static module to yes|shared if a required dependency is not static

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

8 years agoAdd watchdog by default at level 'most' for mod_proxy_hcheck
William A. Rowe Jr [Thu, 23 Jun 2016 15:34:46 +0000 (15:34 +0000)]
Add watchdog by default at level 'most' for mod_proxy_hcheck

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

8 years agoFix typo
Christophe Jaillet [Thu, 23 Jun 2016 06:05:30 +0000 (06:05 +0000)]
Fix typo

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

8 years agomod_http2: fixing APLOG_NO overdose and some log levels
Stefan Eissing [Wed, 22 Jun 2016 13:24:17 +0000 (13:24 +0000)]
mod_http2: fixing APLOG_NO overdose and some log levels

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

8 years agoassign IDs to new AH*'s
Eric Covener [Wed, 22 Jun 2016 13:17:41 +0000 (13:17 +0000)]
assign IDs to new AH*'s

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

8 years agospatch some AH* IDs to pick up the new INFO level messages,
Eric Covener [Wed, 22 Jun 2016 13:15:57 +0000 (13:15 +0000)]
spatch some AH* IDs to pick up the new INFO level messages,
also hit old DEBUG messages.

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

8 years agoupdate after backport
Stefan Eissing [Wed, 22 Jun 2016 13:11:46 +0000 (13:11 +0000)]
update after backport

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

8 years agoCause missing mod_watchdog to 'unset' the --enable-proxy default, rather than
William A. Rowe Jr [Wed, 22 Jun 2016 13:00:45 +0000 (13:00 +0000)]
Cause missing mod_watchdog to 'unset' the --enable-proxy default, rather than
disable the module. This forces the module logic to emit a warning of the
missing dependency; changes the output from

checking whether to enable mod_proxy_hcheck... no

to

configure: WARNING: "mod_watchdog is disabled but required for mod_proxy_hcheck"
checking whether to enable mod_proxy_hcheck... no (disabled)

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

8 years agomod_proxy_http2: fixed retry behaviour when proxy engine needs to retry its base...
Stefan Eissing [Wed, 22 Jun 2016 12:57:40 +0000 (12:57 +0000)]
mod_proxy_http2: fixed retry behaviour when proxy engine needs to retry its base request on a new connection

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

8 years agoSimplify, and correct the dependency handling of mod_proxy_hcheck
William A. Rowe Jr [Wed, 22 Jun 2016 12:23:34 +0000 (12:23 +0000)]
Simplify, and correct the dependency handling of mod_proxy_hcheck

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

8 years agoSupport multiple module dependencies for the final prereq argument to the
William A. Rowe Jr [Wed, 22 Jun 2016 12:22:44 +0000 (12:22 +0000)]
Support multiple module dependencies for the final prereq argument to the
APACHE_MODULE macro, as a comma separated list, e.g.

APACHE_MODULE(proxy_http2, [...], [proxy,http2])

will evaluate the availability of mod_proxy, followed by mod_http2

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

8 years agomod_proxy_http2: improved retry when encountering errored/shutdown connections
Stefan Eissing [Tue, 21 Jun 2016 13:37:38 +0000 (13:37 +0000)]
mod_proxy_http2: improved retry when encountering errored/shutdown connections

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

8 years agoAdd CHANGES entry for r1749401
Christophe Jaillet [Mon, 20 Jun 2016 21:12:13 +0000 (21:12 +0000)]
Add CHANGES entry for r1749401

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

8 years agoUse 'memcpy' instead of 'strcpy' when the size of the string has already been computed.
Christophe Jaillet [Mon, 20 Jun 2016 21:08:43 +0000 (21:08 +0000)]
Use 'memcpy' instead of 'strcpy' when the size of the string has already been computed.

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

8 years agoStyle only
Christophe Jaillet [Mon, 20 Jun 2016 21:07:26 +0000 (21:07 +0000)]
Style only

Be more consistent:
   - add space between (if|while) and \(
   - place of 'break ' statement

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

8 years agoFix 'x' command processing in mod_sed.
Christophe Jaillet [Mon, 20 Jun 2016 21:03:07 +0000 (21:03 +0000)]
Fix 'x' command processing in mod_sed.

This has been tested using a slighly modified example taken from:
    https://blogs.oracle.com/basant/entry/using_mod_sed_to_filter
(OutputSed "s/.\*//"             has been changed in                OutputSed "s/.*//")

OutputSed "/Sunday/ {"
OutputSed "h"
OutputSed "s/.*//"
OutputSed "N"
OutputSed "s/\^.//"
OutputSed     "/Monday/ {"
OutputSed         "x"
OutputSed         "s/Sunday/Monday/"
OutputSed         "x"
OutputSed         "s/Monday/Tuesday/"
OutputSed         "H"
OutputSed         "g"
OutputSed     "}"
OutputSed "}"

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

8 years agomod_http2: fix for request abort when connections drops, introduced in 1.5.8
Stefan Eissing [Sun, 19 Jun 2016 11:15:58 +0000 (11:15 +0000)]
mod_http2: fix for request abort when connections drops, introduced in 1.5.8

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

8 years agoRebuild.
Lucien Gentis [Sat, 18 Jun 2016 14:00:15 +0000 (14:00 +0000)]
Rebuild.

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

8 years agoXML update.
Lucien Gentis [Sat, 18 Jun 2016 13:59:24 +0000 (13:59 +0000)]
XML update.

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

8 years agoDocumentation rebuild
Luca Toscano [Sat, 18 Jun 2016 10:14:08 +0000 (10:14 +0000)]
Documentation rebuild

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

8 years agoFollow up about DNS Resolution cache in mod-proxy after
Luca Toscano [Sat, 18 Jun 2016 10:13:42 +0000 (10:13 +0000)]
Follow up about DNS Resolution cache in mod-proxy after
a users@ email thread ("mod_proxy and DNS resolving").
Review from devs would be really appreciated, I'd like to
backport this info asap to 2.4.x.

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

8 years ago* If enable_proxy_hcheck is unset handle it like other proxy modules
Ruediger Pluem [Fri, 17 Jun 2016 18:29:16 +0000 (18:29 +0000)]
* If enable_proxy_hcheck is unset handle it like other proxy modules

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

8 years agoFix a potential buffer overflow.
Christophe Jaillet [Thu, 16 Jun 2016 05:17:35 +0000 (05:17 +0000)]
Fix a potential buffer overflow.

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

8 years agocore: removing quirk for supressing h2 in Upgrade: response header, never backported...
Stefan Eissing [Wed, 15 Jun 2016 14:47:21 +0000 (14:47 +0000)]
core: removing quirk for supressing h2 in Upgrade: response header, never backported, obsolete

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

8 years ago* Fix compilation error introduced in r1748322 by double typedef
Ruediger Pluem [Wed, 15 Jun 2016 11:34:45 +0000 (11:34 +0000)]
* Fix compilation error introduced in r1748322 by double typedef

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

8 years agomod_http2: update after backport
Stefan Eissing [Wed, 15 Jun 2016 10:07:03 +0000 (10:07 +0000)]
mod_http2: update after backport

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

8 years agomod_http2: more rigid error handling in DATA frame assembly
Stefan Eissing [Wed, 15 Jun 2016 09:30:14 +0000 (09:30 +0000)]
mod_http2: more rigid error handling in DATA frame assembly

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

8 years agoPrepare to backport, this is not specific to VS 2015...
William A. Rowe Jr [Tue, 14 Jun 2016 18:32:27 +0000 (18:32 +0000)]
Prepare to backport, this is not specific to VS 2015...

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

8 years agoDrop an invalid Last-Modified header value returned by a FCGI/CGI
Luca Toscano [Tue, 14 Jun 2016 10:35:23 +0000 (10:35 +0000)]
Drop an invalid Last-Modified header value returned by a FCGI/CGI
script instead tranforming it to Unix Epoch.

This bug was mentioned in the users@ mailing list and outlined in
the following centos bug: https://bugs.centos.org/view.php?id=10940
To reproduce the issue it is sufficient to connect mod-fastcgi
to a PHP script that returns a HTTP response with
the header "Last-Modified: foo". The header will be modified by
script_util.c to "Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT".
Dropping an invalid header in this case seems to be the most
consistent and correct option in my opinion, plus it shouldn't
break existing configurations. Returning Unix Epoch might be
dangerous and should be avoided, but please let me know your opinions.
Moreover this is my first commit outside the documentation court,
I hope to have got the procedure right.
This fix has been tested also with the 2.4.x branch.

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

8 years agomod_http2: version bump after backport
Stefan Eissing [Tue, 14 Jun 2016 10:12:22 +0000 (10:12 +0000)]
mod_http2: version bump after backport

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

8 years agomod_ssl: follow up to r1734561.
Yann Ylavic [Tue, 14 Jun 2016 09:35:13 +0000 (09:35 +0000)]
mod_ssl: follow up to r1734561.
Don't enable CRL checks/flags by default.

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

8 years agoAllow other modules to become providers and add ACLs
Graham Leggett [Mon, 13 Jun 2016 22:33:35 +0000 (22:33 +0000)]
Allow other modules to become providers and add ACLs
to the DAV response. Requires apr-util v1.6+.

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

8 years agobackported to 2.4.21-dev
Jim Jagielski [Mon, 13 Jun 2016 13:05:46 +0000 (13:05 +0000)]
backported to 2.4.21-dev

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

8 years agomod_dav: making mod_dav.h compile with clang again
Stefan Eissing [Mon, 13 Jun 2016 09:31:09 +0000 (09:31 +0000)]
mod_dav: making mod_dav.h compile with clang again

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

8 years agomod_dav: Add dav_begin_multistatus, dav_send_one_response,
Graham Leggett [Sun, 12 Jun 2016 20:23:21 +0000 (20:23 +0000)]
mod_dav: Add dav_begin_multistatus, dav_send_one_response,
dav_finish_multistatus, dav_send_multistatus, dav_handle_err,
dav_failed_proppatch, dav_success_proppatch to mod_dav.h.

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

8 years agomod_dav: Add dav_get_provider_name() function to obtain the name
Graham Leggett [Sun, 12 Jun 2016 00:58:09 +0000 (00:58 +0000)]
mod_dav: Add dav_get_provider_name() function to obtain the name
of the provider from mod_dav.

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

8 years agoStrip proxy:fcgi:// just like proxy:balancer
Eric Covener [Fri, 10 Jun 2016 22:53:07 +0000 (22:53 +0000)]
Strip proxy:fcgi:// just like proxy:balancer

Submitted By: Jacob Champion <champion.pxi gmail.com>
Committed By: covener

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

8 years agoAdd -DDUMP_INCLUDES configtest option to show the tree
Eric Covener [Fri, 10 Jun 2016 22:44:39 +0000 (22:44 +0000)]
Add -DDUMP_INCLUDES configtest option to show the tree
of Included configuration files.

Example:

    Included configuration files:
      (*) .../conf/httpd.conf
        (517) .../conf/extra/proxy-html.conf
          (91) /dev/null

Submitted By: Jacob Champion <champion.pxi gmail.com>
Committed By: covener

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

8 years agoWhen ap_proxy_show_hcmethod has been backported in 2.4.x (r1744951) the function...
Christophe Jaillet [Fri, 10 Jun 2016 22:12:55 +0000 (22:12 +0000)]
When  ap_proxy_show_hcmethod has been backported in 2.4.x (r1744951) the function has not been placed at the same position in the code (see r1725306).

Move it at the same place in oder to synch 2.4.x and trunk.

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

8 years agomod_proxy_http2: fix flow control when frontend connection is HTTP/1.1, patch by...
Stefan Eissing [Fri, 10 Jun 2016 15:27:34 +0000 (15:27 +0000)]
mod_proxy_http2: fix flow control when frontend connection is HTTP/1.1, patch by Evgeny Kotkov

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

8 years agomod_proxy_http2: own h2_proxy_util.c source file to avoid duplicate use of h2_util...
Stefan Eissing [Thu, 9 Jun 2016 14:03:07 +0000 (14:03 +0000)]
mod_proxy_http2: own h2_proxy_util.c source file to avoid duplicate use of h2_util.c, updated dsp and cmake as well as configure files

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

8 years agomod_http2: uddated changes and version after backport
Stefan Eissing [Thu, 9 Jun 2016 11:20:02 +0000 (11:20 +0000)]
mod_http2: uddated changes and version after backport

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

8 years agomod_http2: more orderly destruction of stream/task pairs
Stefan Eissing [Thu, 9 Jun 2016 10:28:51 +0000 (10:28 +0000)]
mod_http2: more orderly destruction of stream/task pairs

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

8 years agoA much more innocuous cut-and-paste flaw
William A. Rowe Jr [Thu, 9 Jun 2016 02:42:23 +0000 (02:42 +0000)]
A much more innocuous cut-and-paste flaw

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

8 years agoHave to walk it back, but somewhere along the way, I missed a critical edit
William A. Rowe Jr [Thu, 9 Jun 2016 02:40:08 +0000 (02:40 +0000)]
Have to walk it back, but somewhere along the way, I missed a critical edit

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

8 years agoRename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygen
William A. Rowe Jr [Thu, 9 Jun 2016 01:05:45 +0000 (01:05 +0000)]
Rename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygen

This time, with merge-ability back into 2.4.x

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

8 years agoMajor issue with these two specific edits falling into r1747469
William A. Rowe Jr [Thu, 9 Jun 2016 01:04:47 +0000 (01:04 +0000)]
Major issue with these two specific edits falling into r1747469
is that it becomes impossible to cleanly merge into branches/2.4.x.

Reverting this one functional/historical edit, to recommit for merging.

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

8 years agoThe answer to the question appears to be in 2.4.21, drop h2_casecmpstr fork
William A. Rowe Jr [Thu, 9 Jun 2016 00:19:24 +0000 (00:19 +0000)]
The answer to the question appears to be in 2.4.21, drop h2_casecmpstr fork

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

8 years agoRename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygen
William A. Rowe Jr [Thu, 9 Jun 2016 00:06:42 +0000 (00:06 +0000)]
Rename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygen

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

8 years agoUpdate code to mirror r1747461 of apr-2.0 apr_cstr.c.
William A. Rowe Jr [Wed, 8 Jun 2016 23:46:13 +0000 (23:46 +0000)]
Update code to mirror r1747461 of apr-2.0 apr_cstr.c.

More legible, slightly more performant.  Based on the
compiler in use and -O flags, YMWV.

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

8 years agobackported (expected more)
Eric Covener [Wed, 8 Jun 2016 23:32:26 +0000 (23:32 +0000)]
backported (expected more)

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

8 years agocommited just for work over it (since its too long (on going )
Luis Gil [Wed, 8 Jun 2016 11:37:09 +0000 (11:37 +0000)]
commited just for work over it (since its too long (on going )
still have the outdated tag just if some acces to the page

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

8 years agoTranslated to match english revision.
Luis Gil [Wed, 8 Jun 2016 11:08:46 +0000 (11:08 +0000)]
Translated to match english revision.
Reviewed. build the html file

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

8 years agoTranslated to match english revision.
Luis Gil [Wed, 8 Jun 2016 10:33:44 +0000 (10:33 +0000)]
Translated to match english revision.
Reviewed. build the html file

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

8 years agoTranslated to match english revision.
Luis Gil [Wed, 8 Jun 2016 00:11:57 +0000 (00:11 +0000)]
Translated to match english revision.
Reviewed. build the html file

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

8 years agoupdate CHANGES and mod_http2 version after backport
Stefan Eissing [Tue, 7 Jun 2016 12:05:59 +0000 (12:05 +0000)]
update CHANGES and mod_http2 version after backport

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

8 years agoUpdate htdbm manual
Rich Bowen [Tue, 7 Jun 2016 11:29:09 +0000 (11:29 +0000)]
Update htdbm manual

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

8 years agorebuild
Rich Bowen [Tue, 7 Jun 2016 11:00:52 +0000 (11:00 +0000)]
rebuild

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

8 years agorebuild
Rich Bowen [Tue, 7 Jun 2016 10:40:52 +0000 (10:40 +0000)]
rebuild

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

8 years agoThe -l option requires a filename argument.
Rich Bowen [Tue, 7 Jun 2016 10:34:59 +0000 (10:34 +0000)]
The -l option requires a filename argument.

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

8 years agogit-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747184 13f79535-47bb...
Luis Gil [Tue, 7 Jun 2016 10:31:55 +0000 (10:31 +0000)]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747184 13f79535-47bb-0310-9956-ffa450edef68

8 years agoTranslated to match english revision.
Luis Gil [Tue, 7 Jun 2016 10:30:27 +0000 (10:30 +0000)]
Translated to match english revision.
Reviewed. build the html file

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

8 years agomod_http2: fixes a mem corruption when streams/connections terminated before tasks...
Stefan Eissing [Tue, 7 Jun 2016 08:54:02 +0000 (08:54 +0000)]
mod_http2: fixes a mem corruption when streams/connections terminated before tasks returned

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

8 years agomod_http2: updated CHANGES and version bump after backport
Stefan Eissing [Mon, 6 Jun 2016 12:54:47 +0000 (12:54 +0000)]
mod_http2: updated CHANGES and version bump after backport

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

8 years agoDelay a table lookup until we know that we can handle the request.
Christophe Jaillet [Sun, 5 Jun 2016 09:17:33 +0000 (09:17 +0000)]
Delay a table lookup until we know that we can handle the request.
Concat a string at compile time, rather than run time.
Some various style fixes.

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

8 years agoNo need to scan the first 5 bytes, they are already correct (i.e. HTTP_)
Christophe Jaillet [Sun, 5 Jun 2016 08:40:20 +0000 (08:40 +0000)]
No need to scan the first 5 bytes, they are already correct (i.e. HTTP_)
Fix indentation.

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

8 years agoRebuild.
Lucien Gentis [Sat, 4 Jun 2016 15:50:20 +0000 (15:50 +0000)]
Rebuild.

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

8 years agoXML updates.
Lucien Gentis [Sat, 4 Jun 2016 15:49:29 +0000 (15:49 +0000)]
XML updates.

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

8 years agoAdd some links and improve highlight
Christophe Jaillet [Fri, 3 Jun 2016 20:33:14 +0000 (20:33 +0000)]
Add some links and improve highlight

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