summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2022-10-17 13:16:49 +0200
committerJim Jagielski <jim@apache.org>2022-10-17 13:16:49 +0200
commit34773b73433eaa3772d7a63aa3b80b81fe03bb0d (patch)
tree6e43adb0b47d03921fe59b4e2192bf99896a504d
parentmod_dav: Allow to disable lock discovery via an DAVLockDiscovery expression. (diff)
downloadapache2-34773b73433eaa3772d7a63aa3b80b81fe03bb0d.tar.xz
apache2-34773b73433eaa3772d7a63aa3b80b81fe03bb0d.zip
catch by CJ
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904642 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/proxy/mod_proxy_hcheck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c
index b99f3c1ae3..eb3c713bf9 100644
--- a/modules/proxy/mod_proxy_hcheck.c
+++ b/modules/proxy/mod_proxy_hcheck.c
@@ -463,10 +463,11 @@ static void create_hcheck_req(wctx_t *wctx, proxy_worker *hc,
"%s %s%s%s %s\r\n"
"Host: %s:%d\r\n"
"\r\n",
- method, protocol,
+ method,
(wctx->path ? wctx->path : ""),
(wctx->path && *hc->s->hcuri ? "/" : "" ),
(*hc->s->hcuri ? hc->s->hcuri : ""),
+ protocol,
hc->s->hostname_ex, (int)hc->s->port);
break;