Sorry I stopped this along the way... IIRC, my latest patch (not posted yet) does all the necessary in ap_rgetline_ex() and ap_get_mime_headers_ex() (ie. parameters for the input filter to read from and handling of the blocking mode), parses the trailers in ap_http_filter() where they are read, defines and runs the new trailer_parser hooks after the parsing, and does all the proxy forwarding (in and out).
The missing points are the merge in r->headers_in based on a new directive (for compatibility) and the mod_headers/mod_log_config stuff. Let me take a fresh look at the patch and finalize it, I come back very soon. Regards, Yann. On Tue, Apr 1, 2014 at 3:36 PM, Eric Covener <[email protected]> wrote: > Resurrecting this thread. Yann, anything holding this one back? > > > On Mon, Oct 28, 2013 at 9:43 AM, Yann Ylavic <[email protected]> wrote: >> >> The declaration of ap_get_mime_headers_from() is falsy in the previous >> patch, you should read instead : >> >> >> +AP_DECLARE(apr_status_t) >> +ap_get_mime_headers_from(request_rec *r, apr_bucket_brigade *bb, >> + ap_filter_t *from, apr_read_type_e block, >> + apr_table_t *to, ap_mime_headers_ctx_t **ctx) >> +{ >> + return ap_parse_mime_headers(r, bb, from, block, to, ctx, NULL, >> NULL); >> +} >> + >> > > > > -- > Eric Covener > [email protected]
