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 https://github.com/unbit/uwsgi/issues/2018, which seems to indicate that this is a boolean instead.
Related questions