Re: How to test keep-alive is working?

From: Bryan Talbot <btalbot#aeriagames.com>
Date: Fri, 26 Aug 2011 12:43:55 -0700


You could use something as simple as curl to see if the connection is left in-tact.

$> curl -I -v www.example.com

If keep-alive is working, curl will include a verbose message like this:

and then close the connection since it has no pending requests to make

-Bryan

On Fri, Aug 26, 2011 at 11:56 AM, bradford <fingermark#gmail.com> wrote:

> How do I test that keep-alive is working?
>
> I've added "option http-server-close" to the "frontend" and do not see a
> connection header in the http response. I use to see "connectino: closed"
> when I had "httpclose" enabled, but don't see "connection: keep-alive" or
> anything similar. So, how do I test it's working?
>
> Bradford
>
Received on 2011/08/26 21:43

This archive was generated by hypermail 2.2.0 : 2011/08/26 22:00 CEST