httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: [users@httpd] Re: Http trailers in chunked requests
Date Thu, 23 Jul 2015 09:50:33 GMT
On Thu, Jul 23, 2015 at 11:03 AM, Sachin Shetty <sachin.shetty@gmail.com> wrote:
>
> From the change list, I found
> that you added support for MergeTrailers in 2.4.11 - any idea on how I could
> make it work? I just need apache to let the trailers pass through to the
> upstream haproxy, I am not processing them in mod headers or other apache
> modules.

"MergeTrailers on" will not put the client's trailers into the ones to
be sent to the backend (as you may expect), but instead it merges them
into client's headers (obviously after those have already been sent to
the backend...).
This directive aims to preserve the previous behaviour of httpd (which
was wrong, but we wanted anyone broken by the change to be able to
recover).
The new default is to discard the trailers (or more exactly to put
them separately in the request/response trailers table, but nothing is
using it for now).

I think you should request an enhancement on the bugzilla for
mod_proxy (at least) to handle/forward the trailers, that's not the
case currently, and I agree this is the sequel.

Please note that the trailers shall not be handled/forwarded blindly,
the RFC 7230 (sections 4.1.2, 4.3 and 4.4) is quite strict about
acceptable trailers and how they ought to be announced in the headers
(TE, Trailer, ...), so clients have to conform too.

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message