From 6dc0165f626901483ffa2887ea9730e4d2ae9ebc Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Wed, 17 Jun 2020 18:37:52 +0000 Subject: [PATCH] * Reset the_request as well to reflect HTTP/2.0 [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1878938 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http2/h2_request.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/http2/h2_request.c b/modules/http2/h2_request.c index 40c763e4fc..f20454b799 100644 --- a/modules/http2/h2_request.c +++ b/modules/http2/h2_request.c @@ -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;