ASF Bugzilla – Attachment 38527 Details for
Bug 66539
Crash in mod_log_config when using the new mod_http2 in httpd-2.4.56
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
h2 request headers clone instead of copy
h2-req-hds-clone.diff (text/plain), 878 bytes, created by
Stefan Eissing
on 2023-03-22 11:09:39 UTC
(
hide
)
Description:
h2 request headers clone instead of copy
Filename:
MIME Type:
Creator:
Stefan Eissing
Created:
2023-03-22 11:09:39 UTC
Size:
878 bytes
patch
obsolete
>Index: modules/http2/h2_request.c >=================================================================== >--- modules/http2/h2_request.c (Revision 1908080) >+++ modules/http2/h2_request.c (Arbeitskopie) >@@ -279,7 +279,7 @@ > apr_bucket *h2_request_create_bucket(const h2_request *req, request_rec *r) > { > conn_rec *c = r->connection; >- apr_table_t *headers = apr_table_copy(r->pool, req->headers); >+ apr_table_t *headers = apr_table_clone(r->pool, req->headers); > const char *uri = req->path; > > AP_DEBUG_ASSERT(req->authority); >@@ -303,7 +303,7 @@ > { > const char *cl; > >- r->headers_in = apr_table_copy(r->pool, req->headers); >+ r->headers_in = apr_table_clone(r->pool, req->headers); > if (req->authority) { > /* for internal handling, we have to simulate that :authority > * came in as Host:, RFC 9113 ch. says that mismatches between
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 66539
: 38527