]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Reset the_request as well to reflect HTTP/2.0 [skip ci]
authorRuediger Pluem <rpluem@apache.org>
Wed, 17 Jun 2020 18:37:52 +0000 (18:37 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 17 Jun 2020 18:37:52 +0000 (18:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878938 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_request.c

index 40c763e4fc1d7ab5e33f1c7cdd31ee1f2ece56b6..f20454b799043be6205581719756e15d5233bfcf 100644 (file)
@@ -302,6 +302,8 @@ request_rec *h2_request_create_rec(const h2_request *req, conn_rec *c)
     /* Note that this is actually a HTTP/2.0 request */
     r->protocol = "HTTP/2.0";
     r->proto_num = HTTP_VERSION(2, 0);
+    r->the_request = apr_psprintf(r->pool, "%s %s HTTP/2.0",
+                                  req->method, req->path ? req->path : "");
 
     /* we may have switched to another server */
     r->per_dir_config = r->server->lookup_defaults;