Squid 1.1.x redirector bug & fix

From: Brent Foster <B.R.Foster@dont-contact.us>
Date: Thu, 23 Jan 1997 16:21:06 +1200

We've discovered a bug in the Squid 1.1.x redirector code that will cause
problems if you have redirectors that fall over occasionally (like ours
do). For each dead redirector you get you'll end up with a non (or long
time) replying connection to Squid.

To fix it, change redirector.c - replace line 266 with:

        if ((redirect->flags & REDIRECT_FLAG_ALIVE) &&
            !(redirect->flags & REDIRECT_FLAG_BUSY))

Squid currently checks that the redirector is not busy before using it -
this change checks if the redirector is alive and not busy.

Brent Foster
Systems Programmer, Massey University, Palmerston North, New Zealand
Received on Wed Jan 22 1997 - 19:41:44 MST

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