summaryrefslogtreecommitdiffstats
path: root/httpd-2.4.9-r1573626.patch
diff options
context:
space:
mode:
Diffstat (limited to 'httpd-2.4.9-r1573626.patch')
-rw-r--r--httpd-2.4.9-r1573626.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/httpd-2.4.9-r1573626.patch b/httpd-2.4.9-r1573626.patch
deleted file mode 100644
index 58d116b..0000000
--- a/httpd-2.4.9-r1573626.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/modules/proxy/mod_proxy.c 2014/03/03 17:28:10 1573625
-+++ b/modules/proxy/mod_proxy.c 2014/03/03 17:28:17 1573626
-@@ -927,8 +927,25 @@
- struct dirconn_entry *list = (struct dirconn_entry *)conf->dirconn->elts;
-
- /* is this for us? */
-- if (!r->proxyreq || !r->filename || strncmp(r->filename, "proxy:", 6) != 0)
-+ if (!r->filename) {
- return DECLINED;
-+ }
-+
-+ if (!r->proxyreq) {
-+ /* We may have forced the proxy handler via config or .htaccess */
-+ if (r->handler &&
-+ strncmp(r->handler, "proxy:", 6) == 0 &&
-+ strncmp(r->filename, "proxy:", 6) != 0) {
-+ r->proxyreq = PROXYREQ_REVERSE;
-+ r->filename = apr_pstrcat(r->pool, r->handler, r->filename, NULL);
-+ apr_table_setn(r->notes, "rewrite-proxy", "1");
-+ }
-+ else {
-+ return DECLINED;
-+ }
-+ } else if (strncmp(r->filename, "proxy:", 6) != 0) {
-+ return DECLINED;
-+ }
-
- /* handle max-forwards / OPTIONS / TRACE */
- if ((str = apr_table_get(r->headers_in, "Max-Forwards"))) {