- May 27, 2017
-
-
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
-
Yann Ylavic authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1789215 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1789214 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
are configured (ListenCoresBucketsRatio > 0), consistently with the single bucket case (default), thus fixing the leak of the corresponding socket descriptors on graceful restart. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1789213 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 24, 2017
-
-
Jacob Champion authored
mod_cache: Fix a regression in 2.4.25 for the forward proxy case by computing and using the same entity key according to when the cache checks, loads and saves the request. PR 60577. Submitted by: ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1788511 13f79535-47bb-0310-9956-ffa450edef68
-
Jacob Champion authored
mod_proxy_hcheck: thread-safety. Use the thread pool everywhere for the needs/lifetime of the request to the backend. Submitted by: ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1788510 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
Fix %{DOCUMENT_URI} in SSI w/ default parser *) core: %{DOCUMENT_URI} used in nested SSI expressions should point to the URI originally requsted by the user, not the nested documents URI. This restores the behavior of this variable to match the "legacy" SSI parser. PR60624. Submitted By [Hank Ibell <hwibell gmail.com>] Submitted by: covener Reviewed by: covener, wrowe, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1788448 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
Merge r1780328, r1780329, r1781329, r1782164, r1782166, r1782193, r1778350, r1781329, r1782194, r1782323, r1782418, r1782419, r1782482, r1782532, r1788040 from trunk: Adjust as needed debugging add ProxyFCGISetEnvIf Logging update Follow up to r1782164: fix typo (closing double-quote). Remove trailing whitespace : no functional change PR60576: php-fpm broken w/ per-dir rewrites Attempt to dig out of well-meaning fixes for generic fcgi backends that negatively affected some FPM configs. Adds ProxyFCGIBackendType add ProxyFCGISetEnvIf trailing whitespace Allow final admin-level fine-tuning mod_proxy_fcgi: fix spelling in APLOG_INFO message mod_proxy_fcgi: allow setting empty variables in ProxyFCGISetEnvIf support unsetting vars ProxyFCGISetEnvIf: reject invalid invocations, streamline unsets Neither of the following makes sense: - ProxyFCGISetEnvIf cond !VARIABLE value - ProxyFCGISetEnvIf cond ! Error out in these cases. Also, don't execute the (unused) replacement expression when unsetting. drop the longhand version Submitted by: jim, covener, jim, ylavic, jim, covener, covener, jim, jim, jchampion, jchampion, covener, jchampion, covener Reviewed by: jim, covener, jchampion git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1788445 13f79535-47bb-0310-9956-ffa450edef68
-
Yann Ylavic authored
mod_ssl: work around leaks on (graceful) restart. Tested with valgrind and --with-ssl shared/static. mod_ssl: follow up to r1781187. The ssl_util_thread_*() functions are not necessary with openssl-1.1+ mod_ssl: follow up to r1781187. Address SSL_CTX leak in (merged) proxy_ctx. Reviewed by: ylavic, jim, wrowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1788442 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 20, 2017
-
-
Jim Jagielski authored
Look for specific versioned installs of Lua 5.3 Reviewed by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1787728 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 17, 2017
-
-
Joe Orton authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1787303 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
avoid SO_REUSEPORT w/o ListenCoresBucketsRatio Can lead to unintended/confusing sharing between multiple servers started by the same ID. Submitted by: covener Reviewed by: jorton, covener, wrowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1787301 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 12, 2017
-
-
Stefan Eissing authored
Merged /httpd/httpd/trunk:r1784571,1785672,1785683,1786512,1786575-1786576 mod_http2/mod_proxy_http2 backport git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1786582 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 01, 2017
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1784990 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 22, 2017
-
-
Stefan Eissing authored
merge of r1783683,1783693,1783756,1783759-1783760,1783762,1783912,1783996 from trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1784001 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 17, 2017
-
-
Jim Jagielski authored
Return HTTP 504 rather than 503 when a proxy timeout is hit. Part of the review for PR: 56188 Submitted by: elukey Reviewed by: elukey, jim, wrowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1783414 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 15, 2017
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1783123 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 14, 2017
-
-
Stefan Eissing authored
merge of r1780598,1781304,1782875,1782944,1782958,1782975 from trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1782980 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 09, 2017
-
-
Jim Jagielski authored
revert r1780909 and r1773397 ProxyPass ! perdir r1773397 had a regression and the whole thing is fishy to shoehorn the current ProxyPass ! syntax into. add no-proxy envvar for mod_proxy replacement for ProxyPass /path ! when ProxyPass is in location context. Submitted by: covener Reviewed by: covener, jim, jorton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1782332 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 08, 2017
-
-
Joe Orton authored
* mod_auth_digest: Use anonymous shm by default, fall back on name-based. Submitted by: jkaluza Reviewed by: jorton, ylavic, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1782175 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 02, 2017
-
-
Joe Orton authored
mod_filter: Fix AddOutputFilterByType with non-content-level filters. PR: 58856 Submitted by: Micha Lenk Reviewed by: covener, jim, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1781433 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
Use pconf as parent pool so mutexes get cleaned on restarts/reloads name changes re: suggestion Submitted by: jim Reviewed by: jim, jorton, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1781432 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 27, 2017
-
-
Stefan Eissing authored
Merge of r1779979,1780159,1780576,1780596 from trunk: M modules/http2/h2_bucket_beam.c fix for possible duplicate free of send/recv pools M modules/http2/h2_from_h1.c suppress generating responses on aborted slave connections M modules/http2/h2_session.c regression: stream ongoing streams on graceful shutdown to the end M modules/http2/h2_version.h git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1780597 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 23, 2017
-
-
Stefan Eissing authored
Merge r1779743,1779896,1779972 from trunk. mod_http2: fixes PR60599, sending proper response for conditional requests answered by mod_cache. [Jeff Wheelhouse, Stefan Eissing] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1779975 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 21, 2017
-
-
Stefan Eissing authored
*) mod_http2: rework of stream resource cleanup to avoid a crash in a close of a lingering connection. Prohibit special file bucket beaming for shared buckets. Files sent in stream output now use the stream pool as read buffer, reducing memory footprint of connections. [Yann Ylavic, Stefan Eissing] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1779742 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 13, 2017
-
-
Stefan Eissing authored
*) mod_http2: streaming of request output now reacts timely to data from other streams becoming available. Same for new incoming requests. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1778629 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 09, 2017
-
-
Jim Jagielski authored
fix crash in util_fcgi.c *) mod_proxy_fcgi, mod_fcgid: Fix crashes in ap_fcgi_encoded_env_len() when modules add empty environment variables to the request. PR60275. [<alex2grad AT gmail.com>] Submitted By: <alex2grad AT gmail.com>] Committed By: covener Submitted by: covener Reviewed by: covener, jim, wrowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1778050 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
CVE-2016-5387"; in other words, this is not a CVE ID for a vulnerability. ** git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1778007 13f79535-47bb-0310-9956-ffa450edef68
-