httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1744206 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c
Date Tue, 17 May 2016 08:24:10 GMT
Author: icing
Date: Tue May 17 08:24:10 2016
New Revision: 1744206

URL: http://svn.apache.org/viewvc?rev=1744206&view=rev
Log:
mod_rewrite: adding h2:// and h2c:// proxy schemes to absolute uri detection, patch by Evgeny
Kotkov

Modified:
    httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=1744206&r1=1744205&r2=1744206&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Tue May 17 08:24:10 2016
@@ -568,6 +568,14 @@ static unsigned is_absolute_uri(char *ur
             *sqs = 1;
             return 8;
         }
+        else if (!ap_casecmpstrn(uri, "2://", 4)) {    /* h2://     */
+            *sqs = 1;
+            return 5;
+        }
+        else if (!ap_casecmpstrn(uri, "2c://", 5)) {   /* h2c://    */
+            *sqs = 1;
+            return 6;
+        }
         break;
 
     case 'l':



Mime
View raw message