summaryrefslogtreecommitdiffstats
path: root/modules/http2/mod_proxy_http2.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2016-06-09 02:19:24 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2016-06-09 02:19:24 +0200
commit03fdf196c9f33d3892af018ebc07719485971870 (patch)
tree349a0a0dcb51abddef21cea36491636b8430219d /modules/http2/mod_proxy_http2.c
parentRename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygen (diff)
downloadapache2-03fdf196c9f33d3892af018ebc07719485971870.tar.xz
apache2-03fdf196c9f33d3892af018ebc07719485971870.zip
The answer to the question appears to be in 2.4.21, drop h2_casecmpstr fork
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747470 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http2/mod_proxy_http2.c')
-rw-r--r--modules/http2/mod_proxy_http2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/http2/mod_proxy_http2.c b/modules/http2/mod_proxy_http2.c
index 73a87a5d45..4b6d512462 100644
--- a/modules/http2/mod_proxy_http2.c
+++ b/modules/http2/mod_proxy_http2.c
@@ -125,12 +125,12 @@ static int proxy_http2_canon(request_rec *r, char *url)
apr_port_t port, def_port;
/* ap_port_of_scheme() */
- if (h2_casecmpstrn(url, "h2c:", 4) == 0) {
+ if (ap_cstr_casecmpn(url, "h2c:", 4) == 0) {
url += 4;
scheme = "h2c";
http_scheme = "http";
}
- else if (h2_casecmpstrn(url, "h2:", 3) == 0) {
+ else if (ap_cstr_casecmpn(url, "h2:", 3) == 0) {
url += 3;
scheme = "h2";
http_scheme = "https";