client keep alive support under HTTP/1.0
Valentin V. Bartenev
ne at vbart.ru
Sun Mar 4 13:44:32 UTC 2012
On Saturday 03 March 2012 02:04:00 dbanks wrote:
> We're working on a server-to-server integration effort, using nginx as
> our front end. The guys on the other side are using ab (ApacheBench) to
> perform initial testing. ApacheBench includes a switch to turn on
> keepalive request support, but it only sends HTTP/1.0 requests.
I don't recommend to use it. "ab" is slow and buggy.
> Our research on keepalives using HTTP/1.0 is inconclusive. Some
> resources (http://en.wikipedia.org/wiki/HTTP_persistent_connection)
> state that it is loosely supported, while other sources don't make that
> Question: Is it possible to enable support for keep-alive connections
> using HTTP/1.0?
NGINX supports it by default. If you need to disable it,
then set: keepalive_timeout 0;
wbr, Valentin V. Bartenev
More information about the nginx