> On 07/07/15 21:46, INADA Naoki wrote:
>> I recommend you to use nginx between ELB and uWSGI.
>>
>> ELB expects HTTP server supporting keep-alive, but uWSGI doesn't support
>> it.
>
> The code rather disagrees with you:
>
> https://github.com/unbit/uwsgi/blob/uwsgi-2.0/plugins/http/http.c#L36
>
> Though perhaps http-auto-chunked may have helped... instead of chunking
> in the app workers.
>
>

Yep, keepalive is supported but it is not as smart as the nginx one (that
basically transforms every response in a chunked one). So if your app
makes mess with headers in a response it closes the connection like in
HTTP/1.0.

Auto-chunking should help but it did not get the same coverage of the
other parts, so maybe it needs improvements or it has gray areas.

-- 
Roberto De Ioris
http://unbit.com
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to