You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2019/03/13 12:45:39 UTC

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

Author: icing
Date: Wed Mar 13 12:45:39 2019
New Revision: 1855411

URL: http://svn.apache.org/viewvc?rev=1855411&view=rev
Log:
Reverting the unwanted revert of r1852989.

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=1855411&r1=1855410&r2=1855411&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_request.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_request.c Wed Mar 13 12:45:39 2019
@@ -282,7 +282,7 @@ request_rec *h2_request_create_rec(const
     
     /* Time to populate r with the data we have. */
     r->request_time = req->request_time;
-    r->method = req->method;
+    r->method = apr_pstrdup(r->pool, req->method);
     /* Provide quick information about the request method as soon as known */
     r->method_number = ap_method_number_of(r->method);
     if (r->method_number == M_GET && r->method[0] == 'H') {