]> granicus.if.org Git - apache/log
apache
8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 years agomod_http2: reverting int->apr_uint32_t changes of v1.7.x
Stefan Eissing [Sun, 9 Oct 2016 20:22:40 +0000 (20:22 +0000)]
mod_http2: reverting int->apr_uint32_t changes of v1.7.x

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

8 years agoRebuild.
Lucien Gentis [Sat, 8 Oct 2016 15:27:41 +0000 (15:27 +0000)]
Rebuild.

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

8 years agoXML update.
Lucien Gentis [Sat, 8 Oct 2016 15:26:52 +0000 (15:26 +0000)]
XML update.

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

8 years agoxform
Eric Covener [Fri, 7 Oct 2016 11:59:52 +0000 (11:59 +0000)]
xform

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

8 years agoupdate link to TCP_DEFER_ACCEPT
Eric Covener [Fri, 7 Oct 2016 11:58:57 +0000 (11:58 +0000)]
update link to TCP_DEFER_ACCEPT

per http://httpd.apache.org/docs/2.4/mod/core.html#comment_5866

kernel.org links here.

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

8 years agomod_http2: fixing compilation error/warning on 32bit system with new slave connection...
Stefan Eissing [Thu, 6 Oct 2016 15:33:39 +0000 (15:33 +0000)]
mod_http2: fixing compilation error/warning on 32bit system with new slave connection id generation

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

8 years agomod_http2: replacing module internal hook with own impl as the former does not compil...
Stefan Eissing [Tue, 4 Oct 2016 08:55:08 +0000 (08:55 +0000)]
mod_http2: replacing module internal hook with own impl as the former does not compile on Windows

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

8 years agoupdate after backport
Stefan Eissing [Mon, 3 Oct 2016 12:58:40 +0000 (12:58 +0000)]
update after backport

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

8 years agovarious fixes, mod_cgid interop, response/trailer forwarding rewritten, stability
Stefan Eissing [Mon, 3 Oct 2016 11:47:45 +0000 (11:47 +0000)]
various fixes, mod_cgid interop, response/trailer forwarding rewritten, stability

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

8 years agoRebuild.
Lucien Gentis [Sat, 1 Oct 2016 14:11:32 +0000 (14:11 +0000)]
Rebuild.

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

8 years agoxml update.
Lucien Gentis [Sat, 1 Oct 2016 14:10:05 +0000 (14:10 +0000)]
xml update.

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

8 years agoevent: follow up to r1762718 and r1762742: put de condition where it belongs.
Yann Ylavic [Thu, 29 Sep 2016 08:25:39 +0000 (08:25 +0000)]
event: follow up to r1762718 and r1762742: put de condition where it belongs.

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

8 years agoevent: follow up to r1762718.
Yann Ylavic [Thu, 29 Sep 2016 08:15:33 +0000 (08:15 +0000)]
event: follow up to r1762718.
We still need to kill kept-alive connections in normal/expiry processing if
the workers are busy or dying.

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

8 years agoFollow up to r1762718: CHANGES entry.
Yann Ylavic [Wed, 28 Sep 2016 22:12:18 +0000 (22:12 +0000)]
Follow up to r1762718: CHANGES entry.

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

8 years agoevent: avoid unnecessary listener/polling wake ups (context switches) by using
Yann Ylavic [Wed, 28 Sep 2016 22:02:48 +0000 (22:02 +0000)]
event: avoid unnecessary listener/polling wake ups (context switches) by using
apr_pollset_wakeup(), when implemented, to signal the listener according to the
next timers or timeout queues expiry (updated at insert and maintenance time).

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

8 years agoevent: compute now() in event_get_timer_event, when necessary.
Yann Ylavic [Wed, 28 Sep 2016 20:48:30 +0000 (20:48 +0000)]
event: compute now() in event_get_timer_event, when necessary.

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

8 years agoh2_session: follow up to r1761548: update log tag.
Yann Ylavic [Wed, 28 Sep 2016 20:08:36 +0000 (20:08 +0000)]
h2_session: follow up to r1761548: update log tag.

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

8 years agoevent: follow up to r1762701: update log tag.
Yann Ylavic [Wed, 28 Sep 2016 20:07:03 +0000 (20:07 +0000)]
event: follow up to r1762701: update log tag.

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

8 years agoevent: add/remove from/to the pollset outside of the critical sections.
Yann Ylavic [Wed, 28 Sep 2016 20:01:48 +0000 (20:01 +0000)]
event: add/remove from/to the pollset outside of the critical sections.

We don't need external locking since it's created with APR_POLLSET_THREADSAFE,
hence reduce those sections to the lowest cycles possible.

A spinlock may be interesting instead of the mutex now, we won't block and the
TO_QUEUE_*() and process_timeout_queue() operations are fast...

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

8 years agorebuild
Rich Bowen [Wed, 28 Sep 2016 13:20:52 +0000 (13:20 +0000)]
rebuild

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

8 years agoActually show the example of how to do this.
Rich Bowen [Wed, 28 Sep 2016 13:12:26 +0000 (13:12 +0000)]
Actually show the example of how to do this.

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

8 years agoevent: use atomics for *timeout_queue->total since it's updated concurrently,
Yann Ylavic [Tue, 27 Sep 2016 22:01:28 +0000 (22:01 +0000)]
event: use atomics for *timeout_queue->total since it's updated concurrently,
and move TO_QUEUE_*() macros to functions.

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

8 years agoevent: follow up to r1593860.
Yann Ylavic [Tue, 27 Sep 2016 21:33:02 +0000 (21:33 +0000)]
event: follow up to r1593860.
Set timestamp before enqueing the timer on resume.

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

8 years agomod_proxy: log diagnostics during ProxyPass[Match]
Jacob Champion [Tue, 27 Sep 2016 16:59:21 +0000 (16:59 +0000)]
mod_proxy: log diagnostics during ProxyPass[Match]

To help out users when debugging ProxyPass and ProxyPassMatch, log all
match attempts (at trace2), as well as matches that are either
successful or explicitly disabled (at trace1).

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

8 years agomod_brotli: Handle new 'no-brotli' internal environment variable that
Evgeny Kotkov [Tue, 27 Sep 2016 16:20:28 +0000 (16:20 +0000)]
mod_brotli: Handle new 'no-brotli' internal environment variable that
disables Brotli compression for a particular request.

This mimicks how mod_deflate handles the 'no-gzip' env variable, and
should allow seamless migration for configurations that use it.

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

8 years agomod_brotli: Allow compression ratio logging with new BrotliFilterNote
Evgeny Kotkov [Tue, 27 Sep 2016 16:13:38 +0000 (16:13 +0000)]
mod_brotli: Allow compression ratio logging with new BrotliFilterNote
directive.

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

8 years agoUpdated, forgot to update "Release Notes"
Luis Gil [Tue, 27 Sep 2016 14:04:48 +0000 (14:04 +0000)]
Updated, forgot to update "Release Notes"

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

8 years agoUpdated to last revision of the english version 1756216
Luis Gil [Tue, 27 Sep 2016 13:59:35 +0000 (13:59 +0000)]
Updated to last revision of the english version 1756216

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

8 years agoRebuild.
Lucien Gentis [Sat, 24 Sep 2016 15:58:55 +0000 (15:58 +0000)]
Rebuild.

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

8 years agoXML update.
Lucien Gentis [Sat, 24 Sep 2016 15:58:11 +0000 (15:58 +0000)]
XML update.

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

8 years agoxforms
Christophe Jaillet [Fri, 23 Sep 2016 04:45:46 +0000 (04:45 +0000)]
xforms

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

8 years agoFix doc as spotted by Dusan Bajic in online doc
Christophe Jaillet [Fri, 23 Sep 2016 04:39:16 +0000 (04:39 +0000)]
Fix doc as spotted by Dusan Bajic in online doc

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

8 years agoFix doc as spotted by Francois B in online doc
Christophe Jaillet [Fri, 23 Sep 2016 04:24:33 +0000 (04:24 +0000)]
Fix doc as spotted by Francois B in online doc

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

8 years agomod_brotli: Unbreak building other filter modules without libbrotlienc.
Evgeny Kotkov [Wed, 21 Sep 2016 22:11:00 +0000 (22:11 +0000)]
mod_brotli: Unbreak building other filter modules without libbrotlienc.

Don't add -lbrotlienc to the MOD_LDFLAGS unconditionally.  And, when
adding it, use MOD_BROTLI_LDADD to avoid linking all filter modules
against this library.

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

8 years agomod_brotli: Add initial implementation.
Evgeny Kotkov [Wed, 21 Sep 2016 10:38:48 +0000 (10:38 +0000)]
mod_brotli: Add initial implementation.

This new module supports dynamic Brotli (RFC 7932) compression.  Existing
mod_deflate installations can benefit from better compression ratio by
sending Brotli-compressed data to the clients that support it:

    SetOutputFilter BROTLI_COMPRESS;DEFLATE

The module features zero-copy processing, which is only possible with the
new API from the upcoming 1.0.x series of brotli [1].  The Linux makefile
works against libbrotli [2], as currently the core brotli repository doesn't
offer a way to build a library [3].  Apart from that, only the CMake build
is now supported.

[1] https://github.com/google/brotli
[2] https://github.com/bagder/libbrotli
[3] https://github.com/google/brotli/pull/332

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

8 years agomore apr_uint32_t usage where appropriate, signed/unsigned warning detox, stream...
Stefan Eissing [Tue, 20 Sep 2016 10:12:22 +0000 (10:12 +0000)]
more apr_uint32_t usage where appropriate, signed/unsigned warning detox, stream reset clears buffers immediately

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

8 years agoupdate after backport
Stefan Eissing [Mon, 19 Sep 2016 16:31:53 +0000 (16:31 +0000)]
update after backport

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

8 years agomod_http2: rest of the fix for output blockage
Stefan Eissing [Mon, 19 Sep 2016 16:21:42 +0000 (16:21 +0000)]
mod_http2: rest of the fix for output blockage

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

8 years agomod_http2: fix suspended handling for streams
Stefan Eissing [Mon, 19 Sep 2016 13:22:47 +0000 (13:22 +0000)]
mod_http2: fix suspended handling for streams

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

8 years agomod_crypto: c89.
Yann Ylavic [Sat, 17 Sep 2016 21:28:12 +0000 (21:28 +0000)]
mod_crypto: c89.

Reported by: Norm <normw gknw.net>

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

8 years agoxform
Eric Covener [Sat, 17 Sep 2016 20:39:45 +0000 (20:39 +0000)]
xform

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

8 years agoexpand third common in the expression functions doc
Eric Covener [Sat, 17 Sep 2016 20:39:20 +0000 (20:39 +0000)]
expand third common in the expression functions doc

Explain some risks at looking at per-request environment variables
set by other modules within <If>.

http://stackoverflow.com/questions/39462011/htaccess-if-else-always-selects-else

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

8 years agoRebuild.
Lucien Gentis [Sat, 17 Sep 2016 13:21:00 +0000 (13:21 +0000)]
Rebuild.

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

8 years agoXML update.
Lucien Gentis [Sat, 17 Sep 2016 13:20:24 +0000 (13:20 +0000)]
XML update.

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

8 years agoRebuild.
Lucien Gentis [Sat, 17 Sep 2016 13:13:34 +0000 (13:13 +0000)]
Rebuild.

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

8 years agoXML updates.
Lucien Gentis [Sat, 17 Sep 2016 13:12:28 +0000 (13:12 +0000)]
XML updates.

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

8 years agoxform
Eric Covener [Sat, 17 Sep 2016 13:09:33 +0000 (13:09 +0000)]
xform

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

8 years agofeedback in http://httpd.apache.org/docs/2.4/mod/mod_ssl.html#comment_5818
Eric Covener [Sat, 17 Sep 2016 13:09:25 +0000 (13:09 +0000)]
feedback in   http://httpd.apache.org/docs/2.4/mod/mod_ssl.html#comment_5818

This added paragraph about optional and optional_no_ca isn't helpful.

At the TLS layer, the challenge for otpional and required are no different.

Move the caution about _no_ca up into where the option is defined
and reword.

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