httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1855411 - /httpd/httpd/trunk/modules/http2/h2_request.c
Date Wed, 13 Mar 2019 12:45:39 GMT
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') {



Mime
View raw message