mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
* 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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user