You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2020/06/17 18:37:53 UTC

svn commit: r1878938 - /httpd/httpd/trunk/modules/http2/h2_request.c

Author: rpluem
Date: Wed Jun 17 18:37:52 2020
New Revision: 1878938

URL: http://svn.apache.org/viewvc?rev=1878938&view=rev
Log:
* Reset the_request as well to reflect HTTP/2.0 [skip ci]

Modified:
    httpd/httpd/trunk/modules/http2/h2_request.c

Modified: httpd/httpd/trunk/modules/http2/h2_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_request.c?rev=1878938&r1=1878937&r2=1878938&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_request.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_request.c Wed Jun 17 18:37:52 2020
@@ -302,6 +302,8 @@ request_rec *h2_request_create_rec(const
     /* 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;