- Jul 06, 2017
-
-
Jacob Champion authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1801074 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
On the trunk: mod_http2: Simplify ready queue, less memory and better performance. Update mod_http2 version to 1.10.7. Submitted by: icing Reviewed by: icing, jim, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1801045 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 04, 2017
-
-
Rainer Jung authored
PR58188, PR60831, PR61245. RTC The following lua 5.2 and 5.3 compat change should be checked for runtime correctness by someone more knowledgeable about lua. Index: modules/lua/lua_apr.c --- modules/lua/lua_apr.c (original) +++ modules/lua/lua_apr.c Tue Jul 4 20:48:43 2017 @@ -82,7 +82,11 @@ static const luaL_Reg lua_table_methods[ int ap_lua_init(lua_State *L, apr_pool_t *p) { luaL_newmetatable(L, "Apr.Table"); +#if LUA_VERSION_NUM < 502 luaL_register(L, "apr_table", lua_table_methods); +#else + luaL_newlib(L, lua_table_methods); +#endif lua_pushstring(L, "__index"); lua_pushstring(L, "get"); lua_gettable(L, 2); git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1800835 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
* Do not apply the strict permissions of the temporary file to a possibly existing passwd file. This long standing bug was triggered by fixing a bug in APR in r1791029. PR: 61240 Submitted by: rpluem Reviewed by: rpluem, ylavic, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1800775 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
On the trunk: mod_http2: disable and give warning when mpm_prefork is encountered. The server will continue to work, but HTTP/2 will no longer be negotiated. Submitted by: icing Reviewed by: icing, ylavic, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1800774 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 03, 2017
-
-
Jim Jagielski authored
proxy_fcgi: remove FPM-specific logic Reverts r1780328, r1780329, and their associated followups, which incorrectly manipulated SCRIPT_NAME by default. All proxy_fcgi.t regression tests now pass. PR: 61202 Partial reversal of r1800306... note virtual scripts in notes Submitted by: jchampion, jim Reviewed by: jchampion, jim, covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1800618 13f79535-47bb-0310-9956-ffa450edef68
-
- Jun 29, 2017
-
-
William A. Rowe Jr authored
Backports: r1800173 PR: 61220 Submitted by: ylavic Reviewed by: wrowe, jchampion, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1800215 13f79535-47bb-0310-9956-ffa450edef68
-
- Jun 26, 2017
-
-
Jim Jagielski authored
Since r1753257, "HEAD" method is registered into the registry hash with the M_GET ID. (r1757672 in 2.4.x) We iterate over all the values of the registery, so there is no need anymore to have a special case for "HEAD" in 'make_allow()'. It has its own entry now. With the current code, we have "HEAD" 3 times in the Allow Header field. This is because we find M_GET 2 times in the registry hash. The first one gives "GET" and "HEAD" (as the special handling), and the second "HEAD" and "HEAD" (as the special handling). BTW, use APR_ARRAY_PUSH instead of hand coding it, in oder to have the code more readable. PR 61207 Add CHANGE entry Submitted by: jailletc36 Reviewed by: jailletc36, rpluem, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1799890 13f79535-47bb-0310-9956-ffa450edef68
-
- Jun 19, 2017
-
-
Eric Covener authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1799230 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1799225 13f79535-47bb-0310-9956-ffa450edef68
-
- Jun 14, 2017
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1798665 13f79535-47bb-0310-9956-ffa450edef68
-
- Jun 13, 2017
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1798616 13f79535-47bb-0310-9956-ffa450edef68
-
- Jun 12, 2017
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1798472 13f79535-47bb-0310-9956-ffa450edef68
-
- Jun 06, 2017
-
-
Stefan Eissing authored
Merged /httpd/httpd/trunk:r1797745 mod_http2: Fix for possible CPU busy loop introduced in v1.10.3 where a stream may keep the session in continuous check for state changes that never happen. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1797758 13f79535-47bb-0310-9956-ffa450edef68
-
- Jun 05, 2017
-
-
Eric Covener authored
mod_mime: fix quoted pair scanning Submitted By: ylavic Reviewed By: covener, ylavic, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1797653 13f79535-47bb-0310-9956-ffa450edef68
-
Eric Covener authored
Add upgrade parameter to mod_proxy_wstunnel. That allows to upgrade to jboss-remoting for example or to run an HTTP/1.1 backend that needs to upgrade to WebSocket. See also: https://issues.jboss.org/browse/JBCS-254 https://issues.jboss.org/browse/JBCS-291 whitespace only Submitted By: jfclere Reviewed By: covener, jim, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1797650 13f79535-47bb-0310-9956-ffa450edef68
-
- Jun 02, 2017
-
-
Yann Ylavic authored
MPMs unix: Place signals handlers and helpers out of DSOs to avoid a possible crash if a signal is caught during (graceful) restart. PR 60487. Reviewedby: ylavic, wrowe, icing git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1797368 13f79535-47bb-0310-9956-ffa450edef68
-
- May 30, 2017
-
-
Jim Jagielski authored
core: deprecate and replace ap_get_basic_auth_pw *) core: Deprecate ap_get_basic_auth_pw() and add ap_get_basic_auth_components(). Submitted By: Emmanuel Dreyfus <manu netbsd.org>, Jacob Champion, Eric Covener Submitted by: covener Reviewed by: covener, ylavic, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796855 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
mod_ssl: fix ctx passed to ssl_io_filter_error() Consistently pass the expected bio_filter_in_ctx_t to ssl_io_filter_error(). Submitted By: Yann Ylavic Submitted by: covener Reviewed by: covener, ylavic, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796854 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
When processing a 'SetEnv' directive, warn if the environment variable name includes a '='. It is likely a configuration error. PR 60249 Submitted by: jailletc36 Reviewed by: jailletc36, covener, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796853 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
PR60009: RewriteRule local prefix checking update *) mod_rewrite: When a substitution is a fully qualified URL, and the scheme/host/port matches the current virtual host, stop interpreting the path component as a local path just because the first component of the path exists in the filesystem. Adds RewriteOption "LegacyPrefixDocRoot" to revert to previous behavior. PR60009. Submitted By: Hank Ibell <hwibell gmail.com> Submitted by: covener Reviewed by: covener, jim, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796852 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
allow users to workaround the over-agressive backreference escaping by selecting the characters to escape. add BNP flag to give control to the user on whether a space ' ' in an escaped backrefernece is decoded to a + (default) or %20. Useful if your backreference isn't going into the query string. Submitted by: covener Reviewed by: jailletc36, covener, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796850 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
PR61124: ap_parse_form_data() EBCDIC fix URL-decoding doesn't work on EBCDIC. Submitted By: Hank Ibell <hwibell gmail.com> Submitted by: covener Reviewed by: covener, rjung, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796849 13f79535-47bb-0310-9956-ffa450edef68
-
- May 28, 2017
-
-
Rainer Jung authored
ab: enable option processing for setting a custom HTTP method also for non-SSL builds. Submitted by: rjung Reviewed by: rjung, covener, gsmith git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796539 13f79535-47bb-0310-9956-ffa450edef68
-
- May 27, 2017
-
-
Eric Covener authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796453 13f79535-47bb-0310-9956-ffa450edef68
-
Eric Covener authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796450 13f79535-47bb-0310-9956-ffa450edef68
-
Eric Covener authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796449 13f79535-47bb-0310-9956-ffa450edef68
-
Eric Covener authored
PR61124: ap_parse_form_data() EBCDIC fix URL-decoding doesn't work on EBCDIC. Submitted By: Hank Ibell <hwibell gmail.com> (CTR for EBCDIC fix) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796447 13f79535-47bb-0310-9956-ffa450edef68
-
- May 23, 2017
-
-
Jim Jagielski authored
Evaluate nested If/ElseIf/Else config sections It has been reported multiple times that nested If/ElseIf/Else sections are not evaluated but silently ignored. This patch adds a simple recursion to the ap_if_walk logic in order to allow arbitrary nested configs. The overhead seems negligible compared to the actual version of the ap_if_walk, but more expert feedback is surely needed since this code gets called for every HTTP request. Tests are going to be added to t/apache/if_sections.t Submitted by: elukey Reviewed by: elukey, jim, yalvic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1795906 13f79535-47bb-0310-9956-ffa450edef68
-
- May 11, 2017
-
-
Eric Covener authored
mod_substitute: use local/native LF for splitting On platforms where the APR_ASCII_LF != '\n', like EBCDIC systems, strmatch or pcre patterns from the source or config will be in the native encoding, and this module will really only work on content in the native encoding. (mod_substitute runs before mod_charset_lite for a similar reason) I thought #if APR_CHARSET_EBCDIC or even #ifdef __MVS__ was overkill here. (CTR due to ebcdic-only) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1794856 13f79535-47bb-0310-9956-ffa450edef68
-
- May 05, 2017
-
-
Stefan Eissing authored
Merged /httpd/httpd/trunk:r1793533,1794049 mod_http2: fail requests without ERROR log in case we need to read interim responses and see only garbage. This can happen if proxied servers send data where none should be, e.g. a body for a HEAD request. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1794052 13f79535-47bb-0310-9956-ffa450edef68
-
- May 02, 2017
-
-
Stefan Eissing authored
Merged /httpd/httpd/trunk:r1792212,1793525 mod_proxy_http2: adding support for Reverse Proxy Request headers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1793532 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 21, 2017
-
-
Stefan Eissing authored
Merged /httpd/httpd/trunk:r1791790,1792195 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1792209 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 18, 2017
-
-
Stefan Eissing authored
Merged /httpd/httpd/trunk:r1790850,1790855,1791377,1791388,1791669,1791773 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1791781 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 13, 2017
-
-
Jim Jagielski authored
Merge r1761714, r1762512, r1762515, r1771791, r1779077, r1779091, r1779699, r1790852, r1790853, r1790860 from trunk: 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 mod_brotli: Allow compression ratio logging with new BrotliFilterNote directive. 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. mod_brotli: Explicitly cast 'const uint8_t *' to 'const char *' when using the data received from Brotli to create a bucket. This fixes a /W4 warning in my environment, and should also allow building mod_brotli on NetWare. Submitted by: NormW <normw gknw.net> unused variable error could mistakenly note that brotli isn't available. 1st draft Be more consitent in the layout, and fix the display of a multi lines <highlight> section mod_brotli: Update makefile to allow using Brotli library >= 0.6.0. The 0.6.0 version has just been released [1], and it contains the necessary API required for mod_brotli. [1] https://github.com/google/brotli/releases/tag/v0.6.0 mod_brotli: Fix a minor typo in the description of BrotliAlterETag that has been referring to httpd 2.2.x. There's no mod_brotli in 2.2.x. mod_brotli: Comment on the default choice (0) for BROTLI_PARAM_LGBLOCK. Submitted by: kotkov, jim, jim, jailletc36, kotkov, kotkov, kotkov Reviewed by: jim, jorton, icing mod_brotli: Update makefile to allow using Brotli library >= 0.6.0. The 0.6.0 version has just been released [1], and it contains the necessary API required for mod_brotli. [1] https://github.com/google/brotli/releases/tag/v0.6.0 mod_brotli: Fix a minor typo in the description of BrotliAlterETag that has been referring to httpd 2.2.x. There's no mod_brotli in 2.2.x. mod_brotli: Comment on the default choice (0) for BROTLI_PARAM_LGBLOCK. Submitted by: kotkov Reviewed by: jim, jorton, icing git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1791231 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 10, 2017
-
-
Stefan Eissing authored
Merged /httpd/httpd/trunk:r1789740,1790102,1790113,1790284,1790754,1790826-1790827,1790842 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1790847 13f79535-47bb-0310-9956-ffa450edef68
-
- Apr 03, 2017
-
-
Jim Jagielski authored
Add IndexOptions UseOldDateFormat *) mod_autoindex: Add IndexOptions UseOldDateFormat to allow the date format from 2.2 in the Last Modified column. PR60846. PR34014 / r903052 changed date format for autoindex Submitted By: Hank Ibell <hwibell gmail.com> update comments post-r1787525 no strncasecmp because flag has no value Submitted by: covener Reviewed by: covener, jim, druggeri git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1789963 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
mod_proxy_hcheck: Don't validate timed out responses. mod_proxy_hcheck: follow up to r1779574. Parse/validate response bodies. Submitted by: ylavic Reviewed by: ylavic, jim, druggeri git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1789960 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 31, 2017
-
-
Stefan Eissing authored
Merged /httpd/httpd/trunk:r1786715,1787051,1787141,1787604,1788672,1788981,1789221,1789224,1789276,1789279,1789395,1789520,1789535,1789692 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1789739 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 28, 2017
-
-
Yann Ylavic authored
PR59938: add %{REMOTE_PORT} to the expression parser Submitted By: Hank Ibell <hwibell gmail.com> compat note for REMOTE_PORT Submitted by: covener Reviewed by: covener, ylavic, jchampion git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1789244 13f79535-47bb-0310-9956-ffa450edef68
-