From: Ruediger Pluem Date: Wed, 17 Jun 2020 18:37:52 +0000 (+0000) Subject: * Reset the_request as well to reflect HTTP/2.0 [skip ci] X-Git-Tag: 2.5.0-alpha2-ci-test-only~1374 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dc0165f626901483ffa2887ea9730e4d2ae9ebc;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/modules/http2/h2_request.c b/modules/http2/h2_request.c index 40c763e4fc1..f20454b7990 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;