mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Adds support for reading trailers on input by exporting get_mime_headers
to ap_get_mime_headers and calling it in the appropriate place in ap_http_filter. showstoppers--; git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94667 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -766,7 +766,8 @@ apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b,
|
||||
ctx->remaining = get_chunk_size(line);
|
||||
|
||||
if (!ctx->remaining) {
|
||||
/* Handle trailers by calling get_mime_headers again! */
|
||||
/* Handle trailers by calling ap_get_mime_headers again! */
|
||||
ap_get_mime_headers(f->r);
|
||||
e = apr_bucket_eos_create(c->bucket_alloc);
|
||||
APR_BRIGADE_INSERT_TAIL(b, e);
|
||||
return APR_SUCCESS;
|
||||
|
Reference in New Issue
Block a user