Re: [squid-users] Timeouts details and Retry problems

From: Victor Tsang <victor@dont-contact.us>
Date: Wed, 26 Mar 2003 14:44:04 +0800

I see, thank you very much.

Tor.

Henrik Nordstrom wrote:
>
> Only by editing the source.
>
> 1. Make sure server side persistent connections are disabled in
> squid.conf.
>
> 2. modify fwdCheckRetry() in forward.c to always return 0.
>
> Regards
> Henrik
>
> Victor Tsang wrote:
> >
> > Is there a way to turn off such feature, or control the number of retry
> > squid does?
> >
> > Thanks.
> > Tor
> >
> > Henrik Nordstrom wrote:
> > >
> > > mån 2003-03-24 klockan 12.11 skrev Fabrice DELHOSTE:
> > >
> > > > So after installing Squid, we modified connect_timeout and
> > > > read_timeout. We found configurations that works but we would like to
> > > > understand precisely why. Moreover, due to our misunderstanding, we
> > > > sometimes have strange effects such as double requests (or even more)
> > > > to the content server whereas the application correctly receives the
> > > > timeout error by sending only one request. Any idea?
> > >
> > > Squid automatically retries requests if the first attempt fails, to
> > > increase the likelyhood of a successful reply. Depending on the
> > > conditions there may be as much as up to 10 retries of the same request.
> > >
> > > The same is also done by most browsers.
> > >
> > > --
> > > Henrik Nordstrom <hno@squid-cache.org>
> > > MARA Systems AB, Sweden
Received on Tue Mar 25 2003 - 23:39:36 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:20 MST