]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
changing r->protocol to HTTP/2.0 for HTTP/2 requests, fixes PR 59313
authorStefan Eissing <icing@apache.org>
Wed, 20 Apr 2016 11:02:54 +0000 (11:02 +0000)
committerStefan Eissing <icing@apache.org>
Wed, 20 Apr 2016 11:02:54 +0000 (11:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1740108 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/http2/h2_request.c

diff --git a/CHANGES b/CHANGES
index ea49b840254638209ff2709361f834910e24a31c..0c0f5a00da8fd3671b10eaf190af48fd81c61e40 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_http2: r->protocol changed to "HTTP/2.0" (was "HTTP/2") as this will
+     give expected syntax in CGI's SERVER_PROTOCOL is more compatible with
+     existing major/minor handling. Fixes PR 59313.
+  
   *) core: explicitly exclude 'h2' from protocols announced via an Upgrade: 
      header as commanded by http-wg.
      
index a12b55072a96c274aa4613572f08342706c71d67..0253bede4099a2c86cb0f6e4da5ea74ea312a7c3 100644 (file)
@@ -372,7 +372,7 @@ request_rec *h2_request_create_rec(const h2_request *req, conn_rec *c)
     }
 
     ap_parse_uri(r, req->path);
-    r->protocol = "HTTP/2";
+    r->protocol = "HTTP/2.0";
     r->proto_num = HTTP_VERSION(2, 0);
 
     r->the_request = apr_psprintf(r->pool, "%s %s %s",