Re: [SQU] squid httpd accelerator and Keep-Alive

From: Steven Haryanto <steven@dont-contact.us>
Date: Sun, 03 Sep 2000 09:07:54 +0700

yes, it works with both versions of squid that I tried (2.3.STABLE4
& 2.4.DEVEL4). the one thing i forgot was Content-Length. the URI
i used was for auto-generated directory listing, in which Apache
does not include a Content-Length response header.

btw, i believe Keep-Alive is the default with HTTP/1.1? (i.e.,
connection is persistent unless stated otherwise).

thank you!
steven

At 17:46 9/2/00, you wrote:
>Works just fine in my tests here (the current 2.4 development version).
>
>Persistent connections however requires two things:
>
>1. The reply must have proper boundaries defined. For HTTP/1.0+ this is
>having a Content-Length header which matches the actual reply in size.
>
>2. The requestor must indicate that a persistent connection is desired
>by including the Connection: keep-alive header in the request.
>
>--
>Henrik Nordstrom
>Squid hacker
>
>Steven Haryanto wrote:
> >
> > folks,
> >
> > i've searched the archives and see that this hasn't been
> > answered yet. i apologize should this be wrong.
> >
> > when in httpd accelerator mode, i haven't been able to
> > produce HTTP/1.1 response (esp. getting Connection:
> > Keep-Alive header) from squid. have also tried Harvest
> > Object Cache with the same result (no Keep-Alive).
> >
> > if anyone would care to shed some light on this, it will
> > be appreciated.
> >
> > thanks in advance,
> > steven

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Sat Sep 02 2000 - 20:08:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:12 MST