GET request with transfer-encoding causing issue

Andrew Hutchings ahutchings at nginx.com
Tue May 24 12:30:25 UTC 2016



On 24/05/16 13:21, Francis Daly wrote:
> On Tue, May 24, 2016 at 11:10:31AM +0100, Andrew Hutchings wrote:
>
> Hi there,
>
>> As if by magic: http://nginx.org/en/docs/http/ngx_http_core_module.html#chunked_transfer_encoding
>
> Will that work here?
>
> That directive seems to be about nginx sending a response to a client,
> and choosing not to send it "chunked" even though it normally would.
>
> This problem seems to be nginx reading a request from a client, where
> the request is malformed.

Ah, good point. No, it won't help in this case. I'm not sure anything 
will without hacking code onto NGINX. It does require clients to 
somewhat meet HTTP protocol specifications unfortunately.

Kind Regards
-- 
Andrew Hutchings (LinuxJedi)
Technical Product Manager, NGINX Inc.



More information about the nginx mailing list