httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachin Shetty <sachin.she...@gmail.com>
Subject [users@httpd] Re: Http trailers in chunked requests
Date Wed, 22 Jul 2015 11:25:33 GMT
Hi,

I tried with Apache 2.4.16 with the "MergeTrailers On". No luck, apache
just wont let the trailers pass through. I enabled debug log as well, but
no additional info in logs about skipping trailers.

Thanks
Sachin

On Mon, Jul 20, 2015 at 11:44 AM, Sachin Shetty <sachin.shetty@gmail.com>
wrote:

> Hi Eric,
>
> We are using mod proxy and mod rewrite to forward the request to an
> haproxy server running a pool of tomcat. I have verified that when the
> request is directly sent to haproxy, trailers are sent to the tomcat and it
> does print it in the debug logs.
>
> While debugging this I have also noticed that apache converts a chunked
> request < 8KB to a non chunked one and assembled the whole body before
> sending it down the proxy.
>
> Thanks
> Sachin
>
> Sorry could not figure out how to post from a digest, I have copied your
> question below:
>
> >> What module handles this request, and where are you looking for the
> trailers?
>
>
> On Sat, Jul 18, 2015 at 6:27 PM, Sachin Shetty <sachin.shetty@gmail.com>
> wrote:
>
>> Hi,
>>
>> as per http spec, we want clients to send us trailers in chunked
>> requests. However the request on the server side does not get the trailer
>> at all.
>>
>> Is there some setting on apache to allow trailers, we are using apache
>> 2.4.
>>
>> Our request looks like this.
>>
>> <<<<<
>> telnet somehost 80
>> POST /some-path HTTP/1.1
>> Authorization: Basic XXXX=
>> Host: somehost.domain.com
>> Transfer-Encoding: chunked
>> Trailer: My-Test-Trailer
>>
>> 50
>> 11111111111111111111111111111111111111111111111111111111111111111111111111111111
>> 0
>> My-Test-Trailer: some-value-new
>> >>>>>>
>>
>>
>
>
> --
> Thanks & Regards
> Sachin Shetty
>
> " I never make mistakeas "
>

Mime
View raw message