]> granicus.if.org Git - apache/log
apache
8 years agoCommiting to repor to not get later errors and continue the work elsewhere.
Luis Gil [Sun, 31 Jul 2016 19:23:58 +0000 (19:23 +0000)]
Commiting to repor to not get later errors and continue the work elsewhere.

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

8 years agoReplacement solution to identify VCHAR/ASCII symbols, even in EBCDIC.
William A. Rowe Jr [Fri, 29 Jul 2016 22:00:52 +0000 (22:00 +0000)]
Replacement solution to identify VCHAR/ASCII symbols, even in EBCDIC.

Looking for someone with an EBCDIC environment to post the output of
the test_char.h generated file for verification.

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

8 years agoCorrect logic, detect no 'token' chars, or missing ':'
William A. Rowe Jr [Fri, 29 Jul 2016 21:47:19 +0000 (21:47 +0000)]
Correct logic, detect no 'token' chars, or missing ':'

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

8 years agoCorrect usage for ap_scan_http_token (had used _get_ syntax), noted by Rüdiger
William A. Rowe Jr [Fri, 29 Jul 2016 20:22:37 +0000 (20:22 +0000)]
Correct usage for ap_scan_http_token (had used _get_ syntax), noted by Rüdiger

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

8 years agoClean up doubled-'{'
William A. Rowe Jr [Fri, 29 Jul 2016 20:12:38 +0000 (20:12 +0000)]
Clean up doubled-'{'

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

8 years agoFriendly catch by Rüdiger, restore line mis-removed by the previous commit
William A. Rowe Jr [Fri, 29 Jul 2016 20:08:56 +0000 (20:08 +0000)]
Friendly catch by Rüdiger, restore line mis-removed by the previous commit

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

8 years agoIntroduce ap_scan_http_token / ap_scan_http_field_content for a much
William A. Rowe Jr [Fri, 29 Jul 2016 17:37:41 +0000 (17:37 +0000)]
Introduce ap_scan_http_token / ap_scan_http_field_content for a much
more efficient pass through the header text; rather than reparsing
the strings over and over under the HTTP_CONFORMANCE_STRICT fules.

Improve logic and legibility by eliminating multiple repetitive tests
of the STRICT flag, and simply reorder 'classic' behavior first and
this new parser second to simplify the diff. Because of the whitespace
change (which I had wished to dodge), reading this --ignore-all-space
is a whole lot easier. Particularly against 2.4.x branch, which is now
identical in the 'classic' logic flow. Both of which I'll share with dev@

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

8 years agoLeave an emphatic TODO per Jeff's observations
William A. Rowe Jr [Fri, 29 Jul 2016 17:36:34 +0000 (17:36 +0000)]
Leave an emphatic TODO per Jeff's observations

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

8 years agoStrictly observe spec on obs-fold
William A. Rowe Jr [Fri, 29 Jul 2016 16:24:14 +0000 (16:24 +0000)]
Strictly observe spec on obs-fold

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

8 years agoWe arrive here for more than one cause; offer a more general statement
William A. Rowe Jr [Fri, 29 Jul 2016 16:20:40 +0000 (16:20 +0000)]
We arrive here for more than one cause; offer a more general statement

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

8 years agoWith NUL as a TOKEN_STOP, this code is more efficient
William A. Rowe Jr [Fri, 29 Jul 2016 16:06:23 +0000 (16:06 +0000)]
With NUL as a TOKEN_STOP, this code is more efficient

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

8 years agoIntroduce ap_scan_http_field_content, ap_scan_http_token
William A. Rowe Jr [Fri, 29 Jul 2016 15:56:54 +0000 (15:56 +0000)]
Introduce ap_scan_http_field_content, ap_scan_http_token
and ap_get_http_token for more efficient string handling.

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

8 years agoIntroduce T_HTTP_CTRLS for efficiently finding non-text chars
William A. Rowe Jr [Fri, 29 Jul 2016 15:49:02 +0000 (15:49 +0000)]
Introduce T_HTTP_CTRLS for efficiently finding non-text chars

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

8 years agoBe more explicit about NUL in case iscntrl is inconsistent
William A. Rowe Jr [Fri, 29 Jul 2016 15:40:15 +0000 (15:40 +0000)]
Be more explicit about NUL in case iscntrl is inconsistent

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

8 years agoCorrect T_HTTP_TOKEN_STOP per RFC2068 (2.2) - RFC7230 (3.2.6),
William A. Rowe Jr [Fri, 29 Jul 2016 15:35:56 +0000 (15:35 +0000)]
Correct T_HTTP_TOKEN_STOP per RFC2068 (2.2) - RFC7230 (3.2.6),
which has always defined 'token' as CHAR or VCHAR - visible USASCII only.

NUL char is also a stop, end of parsing.

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

8 years agoImprove legibility of reviewing the generated table, using hex rather than dec
William A. Rowe Jr [Fri, 29 Jul 2016 15:24:39 +0000 (15:24 +0000)]
Improve legibility of reviewing the generated table, using hex rather than dec

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

8 years agomod_http2: complete implemenmtation of draft-http2-debug-state
Stefan Eissing [Fri, 29 Jul 2016 15:12:38 +0000 (15:12 +0000)]
mod_http2: complete implemenmtation of draft-http2-debug-state

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

8 years agomod_http2: work on .well-known/h2Interop/state
Stefan Eissing [Thu, 28 Jul 2016 14:02:10 +0000 (14:02 +0000)]
mod_http2: work on .well-known/h2Interop/state

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

8 years agomod_reqtimeout: follow up to r1754391: fix missing "else".
Yann Ylavic [Thu, 28 Jul 2016 11:24:57 +0000 (11:24 +0000)]
mod_reqtimeout: follow up to r1754391: fix missing "else".

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

8 years agomod_reqtimeout: Fix body timeout disabling for CONNECT requests to avoid
Yann Ylavic [Thu, 28 Jul 2016 10:57:22 +0000 (10:57 +0000)]
mod_reqtimeout: Fix body timeout disabling for CONNECT requests to avoid
triggering mod_proxy_connect's AH01018 once the tunnel is established.
https://bugzilla.mozilla.org/show_bug.cgi?id=1279483#c9

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

8 years agoupdate transformation
André Malo [Thu, 28 Jul 2016 09:17:18 +0000 (09:17 +0000)]
update transformation

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

8 years agoset eol-style
André Malo [Thu, 28 Jul 2016 09:12:48 +0000 (09:12 +0000)]
set eol-style

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

8 years agofix encoding in commit mails for spanish translations
André Malo [Thu, 28 Jul 2016 09:09:05 +0000 (09:09 +0000)]
fix encoding in commit mails for spanish translations

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

8 years agoCommiting to repor to not get later errors and continue the work elsewhere.
Luis Gil [Thu, 28 Jul 2016 07:47:57 +0000 (07:47 +0000)]
Commiting to repor to not get later errors and continue the work elsewhere.

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

8 years agotook out the html codes of the accents.
Luis Gil [Tue, 26 Jul 2016 21:36:07 +0000 (21:36 +0000)]
took out the html codes of the accents.

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

8 years agomod_proxy_wstunnel: we want to detect whether some response was sent to
Yann Ylavic [Tue, 26 Jul 2016 17:50:34 +0000 (17:50 +0000)]
mod_proxy_wstunnel: we want to detect whether some response was sent to
the client when forwarding data from the backend to the client, not the
reverse.

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

8 years agomod_proxy_connect,wstunnel: log polling errors (and events) consistently at
Yann Ylavic [Tue, 26 Jul 2016 17:37:18 +0000 (17:37 +0000)]
mod_proxy_connect,wstunnel: log polling errors (and events) consistently at
level ERR (resp. TRACE2), and name the backend connection "backend" instead of
"sock".

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

8 years agomod_proxy_http: ping retry only if full 100-continue conditions are met.
Yann Ylavic [Tue, 26 Jul 2016 17:16:18 +0000 (17:16 +0000)]
mod_proxy_http: ping retry only if full 100-continue conditions are met.

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

8 years agomod_http2: update after backport
Stefan Eissing [Tue, 26 Jul 2016 13:51:15 +0000 (13:51 +0000)]
mod_http2: update after backport

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

8 years agoRebuild.
Lucien Gentis [Sat, 23 Jul 2016 15:22:08 +0000 (15:22 +0000)]
Rebuild.

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

8 years agoXML update.
Lucien Gentis [Sat, 23 Jul 2016 15:20:09 +0000 (15:20 +0000)]
XML update.

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

8 years agoSince this is beginner doc, split the -S invocation into two
Eric Covener [Sat, 23 Jul 2016 14:11:17 +0000 (14:11 +0000)]
Since this is beginner doc, split the -S invocation into two
versions more likely to work verbatim.

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

8 years agoPermit mod_proxy_hcheck.c to compile on Win32 32-bit architectures.
William A. Rowe Jr [Fri, 22 Jul 2016 12:28:54 +0000 (12:28 +0000)]
Permit mod_proxy_hcheck.c to compile on Win32 32-bit architectures.
This decoration is required for all apr_thread fn() entry points,
at least on some platforms.

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

8 years agoadd basic h2: and h2c: backend proxy examples
Eric Covener [Thu, 21 Jul 2016 16:43:21 +0000 (16:43 +0000)]
add basic h2: and h2c: backend proxy examples

Submitted by: Hank Ibell <hwibell gmail.com>
Committed by: covener

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

8 years ago* Prevent redirect loops between workers within a balancer by limiting the
Ruediger Pluem [Wed, 20 Jul 2016 18:32:14 +0000 (18:32 +0000)]
* Prevent redirect loops between workers within a balancer by limiting the
  number of redirects to the number balancer members.

PR: 59864

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

8 years ago* Fix typo
Ruediger Pluem [Wed, 20 Jul 2016 18:28:09 +0000 (18:28 +0000)]
* Fix typo

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

8 years ago* Do not overwrite r->status with access_status if access_status is OK or DONE
Ruediger Pluem [Wed, 20 Jul 2016 18:25:01 +0000 (18:25 +0000)]
* Do not overwrite r->status with access_status if access_status is OK or DONE
  as in this case r->status might contain the true response code.

PR: 59869

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

8 years ago* Whitespace police
Ruediger Pluem [Wed, 20 Jul 2016 18:19:15 +0000 (18:19 +0000)]
* Whitespace police

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

8 years agomod_http2: fixing config lookup now that we have dir conf
Stefan Eissing [Wed, 20 Jul 2016 15:57:51 +0000 (15:57 +0000)]
mod_http2: fixing config lookup now that we have dir conf

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

8 years agohtml update after new http2 directive
Stefan Eissing [Wed, 20 Jul 2016 13:07:15 +0000 (13:07 +0000)]
html update after new http2 directive

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

8 years agomod_http2: new H2CopyFiles directive
Stefan Eissing [Wed, 20 Jul 2016 13:04:57 +0000 (13:04 +0000)]
mod_http2: new H2CopyFiles directive

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

8 years agoconfigure: remove orphaned APACHE_OUTPUT macro
Jacob Champion [Mon, 18 Jul 2016 20:43:09 +0000 (20:43 +0000)]
configure: remove orphaned APACHE_OUTPUT macro

The last use of APACHE_OUTPUT appears to have been removed back in
r87231.

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

8 years agoconfigure: move away from obsolete AC_OUTPUT args
Jacob Champion [Mon, 18 Jul 2016 20:43:08 +0000 (20:43 +0000)]
configure: move away from obsolete AC_OUTPUT args

AC_OUTPUT's use with arguments was obsoleted back at or before autoconf
2.50. Replace it with the preferred AC_CONFIG_FILES/AC_CONFIG_COMMANDS
calls.

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

8 years agoA whole lotta nope, if you implement HTCPCP then register your methods in init
William A. Rowe Jr [Mon, 18 Jul 2016 16:20:27 +0000 (16:20 +0000)]
A whole lotta nope, if you implement HTCPCP then register your methods in init

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

8 years agoRestore 'HEAD' method as a special case of GET with the common ID
William A. Rowe Jr [Mon, 18 Jul 2016 16:01:21 +0000 (16:01 +0000)]
Restore 'HEAD' method as a special case of GET with the common ID

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

8 years agoThe method_registry is initialized in register_hooks() for mod_http
William A. Rowe Jr [Mon, 18 Jul 2016 15:31:39 +0000 (15:31 +0000)]
The method_registry is initialized in register_hooks() for mod_http

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

8 years agoOptimization to httpoxy workaround, for 2.4.23+ only.
William A. Rowe Jr [Mon, 18 Jul 2016 14:09:38 +0000 (14:09 +0000)]
Optimization to httpoxy workaround, for 2.4.23+ only.

Submitted by: ylavic

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

8 years agohttpoxy workarounds, first draft patch as published for all 2.2.x+ sources
William A. Rowe Jr [Mon, 18 Jul 2016 14:07:00 +0000 (14:07 +0000)]
httpoxy workarounds, first draft patch as published for all 2.2.x+ sources

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

8 years agoUnclear whether fdpass is common enough to justify a 'most' configuration,
William A. Rowe Jr [Mon, 18 Jul 2016 13:43:08 +0000 (13:43 +0000)]
Unclear whether fdpass is common enough to justify a 'most' configuration,
but for the time being, assign it -something- for a build priority.

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

8 years agoSimplify; this code is executed one per request processed, saving
William A. Rowe Jr [Mon, 18 Jul 2016 13:41:26 +0000 (13:41 +0000)]
Simplify; this code is executed one per request processed, saving
an immeasurably small quantum of CPU of a server under load.

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

8 years agomod_proxy_fcgi: avoid loops serving proxied error documents
Luca Toscano [Mon, 18 Jul 2016 08:02:23 +0000 (08:02 +0000)]
mod_proxy_fcgi: avoid loops serving proxied error documents

This commit should solve the issue indicated in PR 55415.
Httpd loops while serving a error document if:
1) The error document's content is proxied.
2) ProxyErrorOverride is set.
The solution proposed is to limit the use of ap_die only
to the initial request. I tested the change with very basic
scenarios but I am not sure if I got all the use cases,
feedback is really welcome.

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

8 years agoRebuild.
Lucien Gentis [Sat, 16 Jul 2016 16:01:47 +0000 (16:01 +0000)]
Rebuild.

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

8 years agoXML update.
Lucien Gentis [Sat, 16 Jul 2016 16:00:49 +0000 (16:00 +0000)]
XML update.

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

8 years agoadd comments for all media types in IANA registry dated 2016-07-14
Roy T. Fielding [Sat, 16 Jul 2016 00:00:43 +0000 (00:00 +0000)]
add comments for all media types in IANA registry dated 2016-07-14

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

8 years agoDoc rebuild
Luca Toscano [Fri, 15 Jul 2016 11:59:42 +0000 (11:59 +0000)]
Doc rebuild

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

8 years agoAdded a reference to how ListenCoresBucketsRatio influences the Min|MaxSpareThreads...
Luca Toscano [Fri, 15 Jul 2016 11:59:10 +0000 (11:59 +0000)]
Added a reference to how ListenCoresBucketsRatio influences the Min|MaxSpareThreads lower bounds calculation in the docs.

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

8 years agoxforms
Christophe Jaillet [Thu, 14 Jul 2016 21:02:38 +0000 (21:02 +0000)]
xforms

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

8 years agoFix PR 59856.
Christophe Jaillet [Thu, 14 Jul 2016 21:01:28 +0000 (21:01 +0000)]
Fix PR 59856.
Fix directive name. (ProxyRequest vs ProxyRequests)
Improve highlight.

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

8 years agoPR59844: stack-allocated ap_expr_info_t returned from mod_include
Eric Covener [Wed, 13 Jul 2016 12:40:25 +0000 (12:40 +0000)]
PR59844: stack-allocated ap_expr_info_t returned from mod_include

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

8 years agoFix typo in CHANGES
Luca Toscano [Wed, 13 Jul 2016 11:36:05 +0000 (11:36 +0000)]
Fix typo in CHANGES

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

8 years agoEnsure the default mode and cipher is set correctly. Remove useless setting
Graham Leggett [Tue, 12 Jul 2016 21:15:59 +0000 (21:15 +0000)]
Ensure the default mode and cipher is set correctly. Remove useless setting
of the size_set flag.

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

8 years agoForce mod_proxy_fcgi to read the whole FCGI response
Luca Toscano [Tue, 12 Jul 2016 21:13:37 +0000 (21:13 +0000)]
Force mod_proxy_fcgi to read the whole FCGI response
even when the content has not been modified (HTTP 304).

The problem is described in PR 59838. This patch should
avoid bogus reads causing the following issues with
HTTP 304 responses:
- AH01068: Got bogus version X, expected 1
- AH01069: Got bogus rid X, expected 1
- AH01075: Error dispatching request to :
- HTTP 503 logged instead of 304 (even if the external
  client gets correctly a 304)

As discussed on IRC the HTTP_PRECONDITION_FAILED use case
should be handled like the HTTP_NOT_MODIFIED one but it will
be done in a separate commit.

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

8 years agoCMake: quote installation paths
Jacob Champion [Tue, 12 Jul 2016 19:13:38 +0000 (19:13 +0000)]
CMake: quote installation paths

Deal with installation paths with spaces in them (e.g. "C:\Program
Files") by quoting the arguments to perl and xcopy.

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

8 years agoCMake: use generator expressions to find output files
Jacob Champion [Tue, 12 Jul 2016 19:13:36 +0000 (19:13 +0000)]
CMake: use generator expressions to find output files

Multi-configuration generators, like Visual Studio, use a different
output directory (Debug, Release, etc.) for each configuration. To find
the output files reliably, switch to using generator expressions instead
of hardcoding the file paths for PDBs, export files, etc.

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

8 years agoCMake: use CMAKE_REQUIRED_INCLUDES to find APR macros
Jacob Champion [Tue, 12 Jul 2016 19:13:34 +0000 (19:13 +0000)]
CMake: use CMAKE_REQUIRED_INCLUDES to find APR macros

When using CMake with Visual Studio on Windows, invoking the
CHECK_SYMBOL_EXISTS macro with the full paths to the include files seems
to always result in failure.

Instead, use the documented CMAKE_REQUIRED_INCLUDES variable to set the
include directory, and pass only the headers' base names to
CHECK_SYMBOL_EXISTS.

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

8 years agomod_http2: no master timeout while requests are ongoing
Stefan Eissing [Mon, 11 Jul 2016 11:03:24 +0000 (11:03 +0000)]
mod_http2: no master timeout while requests are ongoing

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

8 years agoupdate transformation
André Malo [Sun, 10 Jul 2016 20:00:17 +0000 (20:00 +0000)]
update transformation

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

8 years agofix properties
André Malo [Sun, 10 Jul 2016 19:56:36 +0000 (19:56 +0000)]
fix properties

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

8 years agomod_crypto: Add the all purpose crypto filters with support for HLS.
Graham Leggett [Sun, 10 Jul 2016 17:27:03 +0000 (17:27 +0000)]
mod_crypto: Add the all purpose crypto filters with support for HLS.

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

8 years agoupdate after backport
Stefan Eissing [Sun, 10 Jul 2016 14:50:38 +0000 (14:50 +0000)]
update after backport

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

8 years agomod_http2: fixing flush on SETTINGS frames without open streams
Stefan Eissing [Sun, 10 Jul 2016 13:02:17 +0000 (13:02 +0000)]
mod_http2: fixing flush on SETTINGS frames without open streams

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

8 years agoRebuild.
Lucien Gentis [Sat, 9 Jul 2016 16:37:13 +0000 (16:37 +0000)]
Rebuild.

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

8 years agoXML updates.
Lucien Gentis [Sat, 9 Jul 2016 16:36:28 +0000 (16:36 +0000)]
XML updates.

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

8 years agoPR59815: rewrite per-directory + fcgi broken in 2.4.23
Eric Covener [Fri, 8 Jul 2016 21:49:47 +0000 (21:49 +0000)]
PR59815: rewrite per-directory + fcgi broken in 2.4.23

remove the query string from r->filename before calculating environment
(SCRIPT_FILENAME) in mod_proxy_fcgi.  Before PR59618, php-fpm would
see proxy:fcgi:// and do some of this same stripping.

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

8 years agoxform
Eric Covener [Fri, 8 Jul 2016 16:00:10 +0000 (16:00 +0000)]
xform

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

8 years agomention mod_cgid too
Eric Covener [Fri, 8 Jul 2016 15:59:58 +0000 (15:59 +0000)]
mention mod_cgid too

http://httpd.apache.org/docs/2.4/howto/cgi.html#comment_5623

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

8 years agorebuild
Rich Bowen [Mon, 4 Jul 2016 17:21:09 +0000 (17:21 +0000)]
rebuild

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

8 years agoRemove reference to long-dead website that once upon a time used this functionality.
Rich Bowen [Mon, 4 Jul 2016 17:19:54 +0000 (17:19 +0000)]
Remove reference to long-dead website that once upon a time used this functionality.

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

8 years agoGive an example of converting a password file from one format to the
Rich Bowen [Mon, 4 Jul 2016 17:19:08 +0000 (17:19 +0000)]
Give an example of converting a password file from one format to the
other.

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

8 years agoUpdated description of the change to reflect the last patch
Luca Toscano [Sun, 3 Jul 2016 12:10:57 +0000 (12:10 +0000)]
Updated description of the change to reflect the last patch

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

8 years agoUpdated credits after Yann's patch
Luca Toscano [Sun, 3 Jul 2016 09:51:50 +0000 (09:51 +0000)]
Updated credits after Yann's patch

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

8 years agoImprove the FCGI/CGI Last-Modified header value handling.
Luca Toscano [Sun, 3 Jul 2016 09:48:06 +0000 (09:48 +0000)]
Improve the FCGI/CGI Last-Modified header value handling.

Patch from Yann after a discussion on the dev@ mailing list.
ap_scan_script_header_err_core_ex is now using apr_date_parse_rfc
in order to recognize non-GMT datestr following RFC822/1123
and transforming them to GMT rather than replacing the value
with GMT now (that could add httpd's processing time to the
original value). Logging has also been improved from my initial
solution.

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

8 years agoRebuild.
Lucien Gentis [Sat, 2 Jul 2016 14:09:43 +0000 (14:09 +0000)]
Rebuild.

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

8 years agoXML update.
Lucien Gentis [Sat, 2 Jul 2016 14:08:22 +0000 (14:08 +0000)]
XML update.

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

8 years agoab: follow up to r1750854: still better naming, and a C89 fix.
Yann Ylavic [Fri, 1 Jul 2016 15:08:10 +0000 (15:08 +0000)]
ab: follow up to r1750854: still better naming, and a C89 fix.

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

8 years agoab: follow up to r1750854: some comments and better naming.
Yann Ylavic [Fri, 1 Jul 2016 15:04:30 +0000 (15:04 +0000)]
ab: follow up to r1750854: some comments and better naming.

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

8 years agoFixed typo in log message, wrong RFC mentioned.
Luca Toscano [Fri, 1 Jul 2016 15:00:42 +0000 (15:00 +0000)]
Fixed typo in log message, wrong RFC mentioned.

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

8 years agoab: follow up to r1750854.
Yann Ylavic [Fri, 1 Jul 2016 14:47:48 +0000 (14:47 +0000)]
ab: follow up to r1750854.
Use SNI when available by default, and invert -I logic to now disable it.

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

8 years agoab: follow up to r1750854: put the -I at the right place for apr_getopt().
Yann Ylavic [Thu, 30 Jun 2016 19:01:41 +0000 (19:01 +0000)]
ab: follow up to r1750854: put the -I at the right place for apr_getopt().

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

8 years agoab: add SNI support when available.
Yann Ylavic [Thu, 30 Jun 2016 18:48:40 +0000 (18:48 +0000)]
ab: add SNI support when available.

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

8 years agomodssl: reset client-verify state when renegotiation is aborted
Stefan Eissing [Thu, 30 Jun 2016 12:08:42 +0000 (12:08 +0000)]
modssl: reset client-verify state when renegotiation is aborted

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

8 years agoUpdate transformations.
Joe Orton [Thu, 30 Jun 2016 07:20:49 +0000 (07:20 +0000)]
Update transformations.

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

8 years agoUpdate language on impact of disabling TRACE, remove reference to compliance.
Joe Orton [Thu, 30 Jun 2016 07:19:39 +0000 (07:19 +0000)]
Update language on impact of disabling TRACE, remove reference to compliance.

Reviewed by: wrowe, covener, rpluem

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

8 years agoFix indentation and extra spaces of my previous commit, apologies.
Luca Toscano [Thu, 30 Jun 2016 07:09:46 +0000 (07:09 +0000)]
Fix indentation and extra spaces of my previous commit, apologies.

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

8 years agoLog CGI/FCGI Last-Modified header value changes.
Luca Toscano [Thu, 30 Jun 2016 07:00:31 +0000 (07:00 +0000)]
Log CGI/FCGI Last-Modified header value changes.

The Last-Modified header coming from a backend FCGI/CGI script is inspected
by util_script.c to enforce RFC2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
The Last-Modified header also needs to be compliant with RFC882/1123 as stated in
https://tools.ietf.org/html/rfc2616#section-3.3.1, and one important assumption that
httpd makes (correctly, as the RFC suggests) is to assume the GMT timezone. If the datestr
returned by the FCGI/CGI script is set with a different timezone, then the value might be considered
"in the future" and replaced with GMT now() as calculated by httpd. Adding a trace log might
help sysadmins while debugging these kind of issues. This is a follow up of r1748379.

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

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