]> granicus.if.org Git - apache/log
apache
7 years agoUpdated the perf-tuning documentation
Luca Toscano [Tue, 15 Nov 2016 20:42:35 +0000 (20:42 +0000)]
Updated the perf-tuning documentation

Removed some out of date references and re-wrote
some sections. Added also a banner at the top of
the page to warn the users about stale content.
The next step is to improve the accept() related
documentation introducing the latest changes made
for event (and how awesome event is).

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

7 years agohttp: Allow unknown response status' lines returned in the form of:
Yann Ylavic [Tue, 15 Nov 2016 09:06:55 +0000 (09:06 +0000)]
http: Allow unknown response status' lines returned in the form of:
    HTTP/x.x xxx Status xxx

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

7 years agoFix some HTML tags
Christophe Jaillet [Tue, 15 Nov 2016 06:42:48 +0000 (06:42 +0000)]
Fix some HTML tags
</br> --> <br />

Couls also be <br> or <br/> but some (very) old clients don't like it.
httpd is not really consistent on it. (personnlaly <br> would be just fine for me but <br /> is the most commonly used form)

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

7 years agoxform
Eric Covener [Tue, 15 Nov 2016 03:51:20 +0000 (03:51 +0000)]
xform

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

7 years agoadd an <IfFile> config section like <IfDefine>
Eric Covener [Tue, 15 Nov 2016 03:50:42 +0000 (03:50 +0000)]
add an <IfFile> config section like <IfDefine>

It allows a non httpd config file to be used as a marker directly in
httpd.conf without hiding logic in a script in front of apachectl
to do test -f and pass extra -D's.

This is something we've had in IBM's httpd distro for a little bit and
hadn't remembered to share. I've seen some questions/config files come
up in a few places lately that would benefit from this as an option.

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

7 years agoreorganize mod_socache_redis so it compiles w/o apr-redis
Eric Covener [Tue, 15 Nov 2016 03:15:15 +0000 (03:15 +0000)]
reorganize mod_socache_redis so it compiles w/o apr-redis

It looks like this was the original intent. The provider
is not registered if apr-redis is missing.

It was previously failing to compile due to the dirconf being
hidden behind the #ifdef guard but not the routine module
code that used it.

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

7 years agoDocumentation rebuild
Luca Toscano [Mon, 14 Nov 2016 14:17:21 +0000 (14:17 +0000)]
Documentation rebuild

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

7 years agoUnified duplicate warning in mod_proxy ProxyPass documentation.
Luca Toscano [Mon, 14 Nov 2016 14:16:50 +0000 (14:16 +0000)]
Unified duplicate warning in mod_proxy ProxyPass documentation.

Also changed terminology to be in sync with:
https://httpd.apache.org/docs/current/mod/directive-dict.html#Context

It was confusing in my opinion to read that ProxyPass wasn't supported
for the <Directory> context (since "directory" semantic is already
overloaded).

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

7 years agoBackported in 2.4.21.
Yann Ylavic [Mon, 14 Nov 2016 12:10:50 +0000 (12:10 +0000)]
Backported in 2.4.21.

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

7 years agoAxe backported CHANGES entries.
Yann Ylavic [Mon, 14 Nov 2016 11:50:17 +0000 (11:50 +0000)]
Axe backported CHANGES entries.

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

7 years agomod_http2: fixes for compiler warnings
Stefan Eissing [Mon, 14 Nov 2016 11:38:59 +0000 (11:38 +0000)]
mod_http2: fixes for compiler warnings

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

7 years agoupdate after mod_http2 backport
Stefan Eissing [Mon, 14 Nov 2016 11:15:39 +0000 (11:15 +0000)]
update after mod_http2 backport

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

7 years agoUpdated changelog with the last change of mod_proxy_fcgi
Luca Toscano [Mon, 14 Nov 2016 10:58:06 +0000 (10:58 +0000)]
Updated changelog with the last change of mod_proxy_fcgi

r1759984, r1760018 and r1752347 are all changes related
to a bug fixed for mod_proxy_fcgi.

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

7 years ago* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert): Use const
Joe Orton [Mon, 14 Nov 2016 10:57:46 +0000 (10:57 +0000)]
* modules/ssl/ssl_engine_vars.c (ssl_var_lookup_ssl_cert): Use const
  ASN1_OBJECT for X509_ALGOR_get0() for OpenSSL >= 1.1.0 per
  https://github.com/openssl/openssl/commit/ac4e257747075958d37665f327bdf685dd2478ab

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

7 years agoRemove trailing whitespace.
Joe Orton [Mon, 14 Nov 2016 10:43:35 +0000 (10:43 +0000)]
Remove trailing whitespace.

Submitted by: Josef Radinger

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

7 years agomod_http2: H2PushResource directive for early pushing
Stefan Eissing [Sun, 13 Nov 2016 21:30:40 +0000 (21:30 +0000)]
mod_http2: H2PushResource directive for early pushing
mod_proxy_http2: Link header uris are reverse mapped

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

7 years agoRebuild.
Lucien Gentis [Sun, 13 Nov 2016 13:35:13 +0000 (13:35 +0000)]
Rebuild.

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

7 years agoXML update.
Lucien Gentis [Sun, 13 Nov 2016 13:34:29 +0000 (13:34 +0000)]
XML update.

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

7 years agossl: clear the error queue before SSL_read/write/accept()
Jacob Champion [Fri, 11 Nov 2016 19:38:28 +0000 (19:38 +0000)]
ssl: clear the error queue before SSL_read/write/accept()

If other modules or libraries do not clear the OpenSSL error queue after
a failed operation, other code that relies on SSL_get_error() -- in
particular, code that deals with SSL_ERROR_WANT_READ/WRITE logic -- will
malfunction later on. To prevent this, explicitly clear the error queue
before calls like SSL_read/write/accept().

PR: 60223
Submitted by: Paul Spangler <paul.spangler ni.com>

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

7 years agoRebuild.
Lucien Gentis [Fri, 11 Nov 2016 17:00:06 +0000 (17:00 +0000)]
Rebuild.

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

7 years agoXML update.
Lucien Gentis [Fri, 11 Nov 2016 16:59:05 +0000 (16:59 +0000)]
XML update.

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

7 years agoRemove unnecessary apr_table_do() function casts
Jacob Champion [Thu, 10 Nov 2016 20:53:21 +0000 (20:53 +0000)]
Remove unnecessary apr_table_do() function casts

Function casts can cause hard-to-debug corruption issues if a
declaration is accidentally changed to be incompatible. Luckily, most of
the function casts for apr_table_do() calls are unnecessary. Remove
them, and adjust the signatures for helpers that weren't taking void* as
the first argument.

The remaining helper that requires a cast is http_filter.c's
form_header_field(), which is probably where many of these casts were
copy-pasted from. I have left it as-is: it has other direct callers
besides apr_table_do(), and it's already documented with warnings not to
change the function signature.

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

7 years agoheh... bring memcache up to redis :)
Jim Jagielski [Sat, 5 Nov 2016 16:47:43 +0000 (16:47 +0000)]
heh... bring memcache up to redis :)
mod_status info

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

7 years agoNeeds LOGNO #s
Jim Jagielski [Sat, 5 Nov 2016 14:47:17 +0000 (14:47 +0000)]
Needs LOGNO #s

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

7 years agoRebuild.
Lucien Gentis [Sat, 5 Nov 2016 13:36:34 +0000 (13:36 +0000)]
Rebuild.

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

7 years agoXML update.
Lucien Gentis [Sat, 5 Nov 2016 13:35:51 +0000 (13:35 +0000)]
XML update.

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

7 years agoRemove redundant test.
Christophe Jaillet [Sat, 5 Nov 2016 08:27:43 +0000 (08:27 +0000)]
Remove redundant test.

Follow-up to r1759547

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

7 years agoAnd provide some nice usage stats. Could be prettier, for sure.
Jim Jagielski [Fri, 4 Nov 2016 23:06:08 +0000 (23:06 +0000)]
And provide some nice usage stats. Could be prettier, for sure.

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

7 years agoAnd the socache provider interface for Redis
Jim Jagielski [Fri, 4 Nov 2016 17:04:28 +0000 (17:04 +0000)]
And the socache provider interface for Redis

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

7 years agomod_proxy_http2: workaround for newly proposed 103 status code
Stefan Eissing [Thu, 3 Nov 2016 17:27:06 +0000 (17:27 +0000)]
mod_proxy_http2: workaround for newly proposed 103 status code

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

7 years agofix properties, update transformation
André Malo [Thu, 3 Nov 2016 11:55:29 +0000 (11:55 +0000)]
fix properties, update transformation

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

7 years agoRebuild
Luis Gil [Thu, 3 Nov 2016 11:20:03 +0000 (11:20 +0000)]
Rebuild

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

7 years agotrying out to fix why the other secction not loading.
Luis Gil [Thu, 3 Nov 2016 11:04:07 +0000 (11:04 +0000)]
trying out to fix why the other secction not loading.

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

7 years agoRebuild
Luis Gil [Thu, 3 Nov 2016 10:57:10 +0000 (10:57 +0000)]
Rebuild

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

7 years agoRebuild
Luis Gil [Thu, 3 Nov 2016 10:53:29 +0000 (10:53 +0000)]
Rebuild

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

7 years agoRebuild
Luis Gil [Thu, 3 Nov 2016 10:51:26 +0000 (10:51 +0000)]
Rebuild

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

7 years agobuilt and translated the english version to spanish.
Luis Gil [Thu, 3 Nov 2016 10:36:16 +0000 (10:36 +0000)]
built and translated the english version to spanish.

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

7 years agogit-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1767855 13f79535-47bb...
Luis Gil [Thu, 3 Nov 2016 10:34:29 +0000 (10:34 +0000)]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1767855 13f79535-47bb-0310-9956-ffa450edef68

7 years agobuilt and translated the english version to spanish.
Luis Gil [Thu, 3 Nov 2016 10:31:16 +0000 (10:31 +0000)]
built and translated the english version to spanish.

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

7 years agofixing English revision comment
Luis Gil [Thu, 3 Nov 2016 07:21:08 +0000 (07:21 +0000)]
fixing English revision comment

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

7 years agorebuilt to add Spanish
Luis Gil [Thu, 3 Nov 2016 00:50:07 +0000 (00:50 +0000)]
rebuilt to add Spanish

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

7 years agocheked the translation status page, fixing the error.
Luis Gil [Thu, 3 Nov 2016 00:46:58 +0000 (00:46 +0000)]
cheked the translation status page, fixing the error.

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

7 years agoupdated the English revision to 1767808
Luis Gil [Thu, 3 Nov 2016 00:42:49 +0000 (00:42 +0000)]
updated the English revision to 1767808

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

7 years agoAdded the link to the unlinked page in the index http://httpd.apache.org/docs/trunk...
Luis Gil [Thu, 3 Nov 2016 00:40:12 +0000 (00:40 +0000)]
Added the link to the unlinked page in the index http://httpd.apache.org/docs/trunk/howto/
hopping to make the web more user friendly

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

7 years agomod_http2: fix for beam double cleanup crashes introduced in 1.7.7
Stefan Eissing [Wed, 2 Nov 2016 23:50:42 +0000 (23:50 +0000)]
mod_http2: fix for beam double cleanup crashes introduced in 1.7.7

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

7 years agogenerated the HTML file
Luis Gil [Wed, 2 Nov 2016 22:37:21 +0000 (22:37 +0000)]
generated the HTML file

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

7 years agoChanges done by Daniel, reviewed by me, adding the html file and meta file to the...
Luis Gil [Wed, 2 Nov 2016 22:33:55 +0000 (22:33 +0000)]
Changes done by Daniel, reviewed by me, adding the html file and meta file to the repo.

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

7 years agoFix typo.
Joe Orton [Wed, 2 Nov 2016 11:28:25 +0000 (11:28 +0000)]
Fix typo.

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

7 years agoupdate after backport
Stefan Eissing [Tue, 1 Nov 2016 20:25:18 +0000 (20:25 +0000)]
update after backport

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

7 years agomod_http2: proper parsing and forwarding of multiple or unnaounce 1xx responses
Stefan Eissing [Tue, 1 Nov 2016 19:40:37 +0000 (19:40 +0000)]
mod_http2: proper parsing and forwarding of multiple or unnaounce 1xx responses
mod_proxy_http2: improved robustness when main connection gets aborted

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

7 years agoRebuild.
Lucien Gentis [Mon, 31 Oct 2016 13:27:00 +0000 (13:27 +0000)]
Rebuild.

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

7 years agoXML update.
Lucien Gentis [Mon, 31 Oct 2016 13:26:17 +0000 (13:26 +0000)]
XML update.

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

7 years agomod_http2: c89 slippage fixed
Stefan Eissing [Sun, 30 Oct 2016 20:41:55 +0000 (20:41 +0000)]
mod_http2: c89 slippage fixed

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

7 years agomod_http2: using int queue instead of ihash for stream output event handling
Stefan Eissing [Sun, 30 Oct 2016 20:38:50 +0000 (20:38 +0000)]
mod_http2: using int queue instead of ihash for stream output event handling

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

7 years agoUpdated the Download secction for match the english version, reviewed the sintax...
Luis Gil [Sun, 30 Oct 2016 19:54:32 +0000 (19:54 +0000)]
Updated the Download secction for match the english version, reviewed the sintax too.

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

7 years agomod_http2: earlier slave connection allocator destroy, code cleanups
Stefan Eissing [Sat, 29 Oct 2016 22:17:11 +0000 (22:17 +0000)]
mod_http2: earlier slave connection allocator destroy, code cleanups

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

7 years agoFollow up to r1739201.
Yann Ylavic [Fri, 28 Oct 2016 10:56:03 +0000 (10:56 +0000)]
Follow up to r1739201.
These APR_TIMEUP special cases are now handled by ap_map_http_request_error().

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

7 years agomod_http2: update to v1.7.8-DEV after backport
Stefan Eissing [Thu, 27 Oct 2016 16:54:35 +0000 (16:54 +0000)]
mod_http2: update to v1.7.8-DEV after backport

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

7 years agomod_http2: connection shutdown revisited
Stefan Eissing [Thu, 27 Oct 2016 16:12:20 +0000 (16:12 +0000)]
mod_http2: connection shutdown revisited

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

7 years agomod_http2: AP_DEBUG_ASSERT changed to ap_assert
Stefan Eissing [Wed, 26 Oct 2016 15:14:11 +0000 (15:14 +0000)]
mod_http2: AP_DEBUG_ASSERT changed to ap_assert

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

7 years agoupdate after backport
Stefan Eissing [Mon, 24 Oct 2016 15:45:07 +0000 (15:45 +0000)]
update after backport

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

7 years agofix props, update transformation
André Malo [Sun, 23 Oct 2016 20:34:37 +0000 (20:34 +0000)]
fix props, update transformation

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

7 years agoadding to repo to continue elsewhere using Git.
Luis Gil [Sun, 23 Oct 2016 20:02:59 +0000 (20:02 +0000)]
adding to repo to continue elsewhere using Git.

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

7 years agoadding the generated file html
Luis Gil [Sun, 23 Oct 2016 20:00:47 +0000 (20:00 +0000)]
adding the generated file html

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

7 years agoAdding the translated verion file done by Daniel Ferradal
Luis Gil [Sun, 23 Oct 2016 19:57:57 +0000 (19:57 +0000)]
Adding the translated verion file done by Daniel Ferradal
Reviewd and built the html doc files.

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

7 years agomod_http2: fixed potential crash in beam memory handling introduced in 1.7.x changes
Stefan Eissing [Sun, 23 Oct 2016 18:16:42 +0000 (18:16 +0000)]
mod_http2: fixed potential crash in beam memory handling introduced in 1.7.x changes

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

7 years agoRebuild.
Lucien Gentis [Sat, 22 Oct 2016 16:32:51 +0000 (16:32 +0000)]
Rebuild.

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

7 years agoXML update.
Lucien Gentis [Sat, 22 Oct 2016 16:31:59 +0000 (16:31 +0000)]
XML update.

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

7 years agompm_unix: Apache fails to start if previously crashed then restarted with
Yann Ylavic [Fri, 21 Oct 2016 21:44:29 +0000 (21:44 +0000)]
mpm_unix: Apache fails to start if previously crashed then restarted with
the same PID (e.g. in container).  PR 60261.

Proposed by: Val <valentin.bremond gmail.com>
Reviewed by: ylavic

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

7 years agoFix -Wunused-but-set-variable warnings.
Yann Ylavic [Fri, 21 Oct 2016 21:05:39 +0000 (21:05 +0000)]
Fix -Wunused-but-set-variable warnings.

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

7 years agoxforms
Jim Jagielski [Fri, 21 Oct 2016 18:51:39 +0000 (18:51 +0000)]
xforms

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

7 years agoFine tune description
Jim Jagielski [Fri, 21 Oct 2016 18:49:39 +0000 (18:49 +0000)]
Fine tune description

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

7 years agoxfrms
Jim Jagielski [Fri, 21 Oct 2016 18:37:44 +0000 (18:37 +0000)]
xfrms

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

7 years agoSome caching info
Jim Jagielski [Fri, 21 Oct 2016 18:32:44 +0000 (18:32 +0000)]
Some caching info

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

7 years agoupdate after xml change
Stefan Eissing [Fri, 21 Oct 2016 09:35:18 +0000 (09:35 +0000)]
update after xml change

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

7 years agoadded mpm advice to http2 howto
Stefan Eissing [Fri, 21 Oct 2016 09:34:56 +0000 (09:34 +0000)]
added mpm advice to http2 howto

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

7 years agoeol-style = native
André Malo [Thu, 20 Oct 2016 08:29:14 +0000 (08:29 +0000)]
eol-style = native

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

7 years agoupdate transformation
André Malo [Thu, 20 Oct 2016 08:26:17 +0000 (08:26 +0000)]
update transformation

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

7 years agoAppears we cannot disallow this whitespace, since the chunk BNF coexisted
William A. Rowe Jr [Tue, 18 Oct 2016 16:30:43 +0000 (16:30 +0000)]
Appears we cannot disallow this whitespace, since the chunk BNF coexisted
with the implied *LWS rule, before RFC7230 eliminated the later. Whether
this is actually OWS or BWS is an editorial decision beyond our pay grade.

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

7 years agoWhen redrawing the parser, ap_get_http_token looked to be useful, but there's
William A. Rowe Jr [Tue, 18 Oct 2016 14:56:07 +0000 (14:56 +0000)]
When redrawing the parser, ap_get_http_token looked to be useful, but there's
no application for this yet in httpd, so hold off adding this function when
we backport the enhancements. ap_scan_http_token was entirely sufficient.
If the community wants this new function, we can add it when backporting
work is complete.

This patch, and the earlier patches Friday actually demanded an mmn major
bump due to struct member changes. In any final backport, new members must
be added to the end of the struct to retain an mmn minor designation.

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

7 years agomod_http2: netware build add new symbol used from nghttp2
Stefan Eissing [Tue, 18 Oct 2016 12:05:04 +0000 (12:05 +0000)]
mod_http2: netware build add new symbol used from nghttp2

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

7 years agodocs: add "threat model" warning to ProxyHTMLMeta
Jacob Champion [Mon, 17 Oct 2016 19:33:51 +0000 (19:33 +0000)]
docs: add "threat model" warning to ProxyHTMLMeta

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

7 years agoupdate after backport
Stefan Eissing [Mon, 17 Oct 2016 16:11:30 +0000 (16:11 +0000)]
update after backport

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

7 years agomod_http2/mod_proxy_http2: proper 100-continue handling up to backend, more robustnes...
Stefan Eissing [Mon, 17 Oct 2016 15:52:01 +0000 (15:52 +0000)]
mod_http2/mod_proxy_http2: proper 100-continue handling up to backend, more robustness on connection reuse with PING frames

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

7 years agoFollow up to r1765115: MMN minor is now 3.
Yann Ylavic [Sun, 16 Oct 2016 09:06:58 +0000 (09:06 +0000)]
Follow up to r1765115: MMN minor is now 3.

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

7 years agobuildall
William A. Rowe Jr [Sun, 16 Oct 2016 02:32:48 +0000 (02:32 +0000)]
buildall

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

7 years agoComplete r1764961, missed .h updates
William A. Rowe Jr [Sun, 16 Oct 2016 02:09:45 +0000 (02:09 +0000)]
Complete r1764961, missed .h updates

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

7 years agoFollowup to r1764961:
Rainer Jung [Sat, 15 Oct 2016 23:21:10 +0000 (23:21 +0000)]
Followup to r1764961:
Remove declaration for dropped ap_has_cntrl().

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

7 years agoFix new declaration.
Rainer Jung [Sat, 15 Oct 2016 23:14:04 +0000 (23:14 +0000)]
Fix new declaration.
Sorry for the noise.

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

7 years agoFollowup to r1764961:
Rainer Jung [Sat, 15 Oct 2016 23:07:52 +0000 (23:07 +0000)]
Followup to r1764961:
- ap_scan_http_uri_safe() was removed
- ap_scan_vchar_obstext() was introduced

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

7 years agoRebuild.
Lucien Gentis [Sat, 15 Oct 2016 14:31:36 +0000 (14:31 +0000)]
Rebuild.

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

7 years agoXML update.
Lucien Gentis [Sat, 15 Oct 2016 14:30:20 +0000 (14:30 +0000)]
XML update.

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

7 years agoap_check_pipeline: clarify/simplify !max_blank_lines logic, no functional change.
Yann Ylavic [Sat, 15 Oct 2016 13:31:31 +0000 (13:31 +0000)]
ap_check_pipeline: clarify/simplify !max_blank_lines logic, no functional change.

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

7 years agoDropped the never-released ap_has_cntrls() as it had very limited
William A. Rowe Jr [Fri, 14 Oct 2016 20:48:43 +0000 (20:48 +0000)]
Dropped the never-released ap_has_cntrls() as it had very limited
and inefficient application at that, added ap_scan_vchar_obstext()
to accomplish a similar purpose.

Dropped HttpProtocolOptions StrictURL option, this will be better
handled in the future with a specific directive and perhaps multiple
levels of scrutiny, use ap_scan_vchar_obstext() to simply ensure there
are no control characters or whitespace within the URI.

Changed the scanning of the response header table by check_headers()
to follow the same rulesets as reading request headers. Disallow any
CTL character within a response header value, and any CTL or whitespace
in response header field name, even in strict mode.

Apply HttpProtocolOptions Strict to chunk header parsing, invalid
whitespace is invalid, line termination must follow CRLF convention.

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

7 years agomod_proxy_http2: resolving last 2 reported dup symbol clashes
Stefan Eissing [Tue, 11 Oct 2016 14:31:31 +0000 (14:31 +0000)]
mod_proxy_http2: resolving last 2 reported dup symbol clashes

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

7 years agoupdate after backport
Stefan Eissing [Tue, 11 Oct 2016 13:42:33 +0000 (13:42 +0000)]
update after backport

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

7 years agomod_proxy_http2: renaming duplicate symbol clash between h2_proxy_util and h2_util...
Stefan Eissing [Tue, 11 Oct 2016 13:34:13 +0000 (13:34 +0000)]
mod_proxy_http2: renaming duplicate symbol clash between h2_proxy_util and h2_util externals

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

7 years agoFollowing up on r1764040, add the CHANGES entry.
Evgeny Kotkov [Mon, 10 Oct 2016 09:50:44 +0000 (09:50 +0000)]
Following up on r1764040, add the CHANGES entry.

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

7 years agomod_dav: Note an API issue with the dav_hooks_repository.deliver(),
Evgeny Kotkov [Mon, 10 Oct 2016 09:43:19 +0000 (09:43 +0000)]
mod_dav: Note an API issue with the dav_hooks_repository.deliver(),
dav_hooks_vsn.deliver_report() and dav_hooks_vsn.merge() hook
definitions.

* modules/dav/main/mod_dav.h
  (dav_hooks_repository.deliver, dav_hooks_vsn.deliver_report,
   dav_hooks_vsn.merge): Add notes about the API issue.

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

7 years agomod_dav: Fix a potential cause of unbounded memory usage or incorrect
Evgeny Kotkov [Mon, 10 Oct 2016 09:40:06 +0000 (09:40 +0000)]
mod_dav: Fix a potential cause of unbounded memory usage or incorrect
behavior in a routine that sends <DAV:response>'s to the output filters.

The dav_send_one_response() function accepts the current head of the output
filter list as an argument, but the actual head can change between calls to
ap_pass_brigade().  This can happen with self-removing filters, e.g., with
the filter from mod_headers or mod_deflate.  Consequently, executing an
already removed filter can either cause unwanted memory usage or incorrect
behavior.

This patch changes the signature of the existing mod_dav's public API,
dav_send_one_response(), because this API is not yet a part of any 2.4.x
release.

* modules/dav/main/mod_dav.c
  (dav_send_one_response): Accept a request_rec instead of an ap_filter_t.
   Write the response to r->output_filters.
  (dav_send_multistatus, dav_stream_response): Update these calling sites
   of dav_send_one_response().

* modules/dav/main/mod_dav.h
  (dav_send_one_response): Adjust definition.

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