]> granicus.if.org Git - apache/commitdiff
adding default port numbers for h2/h2x proxy schemes, by jchampion
authorStefan Eissing <icing@apache.org>
Wed, 2 Mar 2016 09:51:05 +0000 (09:51 +0000)
committerStefan Eissing <icing@apache.org>
Wed, 2 Mar 2016 09:51:05 +0000 (09:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1733239 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index 30d8785a3200254c9aab09e507303102814b9b4c..e07b5ea7cbaa5ebdb439cbd5de07b6cf700d2555 100644 (file)
@@ -3681,6 +3681,8 @@ static proxy_schemes_t pschemes[] =
     {"fcgi",     8000},
     {"ajp",      AJP13_DEF_PORT},
     {"scgi",     SCGI_DEF_PORT},
+    {"h2c",      DEFAULT_HTTP_PORT},
+    {"h2",       DEFAULT_HTTPS_PORT},
     { NULL, 0xFFFF }     /* unknown port */
 };