Ask questionshttp-socket does not support Keep-Alive

The Native HTTP Support does not support HTTP Keep-Alive. It's easy to test with uwsgi --http-socket :8080 and using telnet to send a valid HTTP/1.1 request; uwsgi will close the socket after sending the response.

A well-behaved HTTP/1.1 server will keep the socket open unless the client requests Connection: Close.


Answer questions jf

Btw, "http-keepalive" option value is a number which specify timeout (in seconds) after which an inactive connection is closed by server. How can I configure this timeout when I will use "http11-socket"?

@marc1n what is your source for this? I see, which seems to indicate that this is a boolean instead.


Related questions

RuntimeError at startup in Python 3.7.1+ when using `--py-call-osafterfork` option and logging module hot 1
Make pyuwsgi plugin python 3 compatible hot 1
In python3, uwsgi fails to respond a stream from BytesIO object. hot 1
pip install uwsgi== hot 1
Github User Rank List