--------------------- PatchSet 11334 Date: 2007/03/14 12:08:42 Author: hno Branch: SQUID_2_6 Tag: (none) Log: MFC: Fix non-concurrent helpers again. Got broken in the recent cleanup of garbage responses. Merged changes: 2007/03/14 12:06:31 hno +2 -2 Fix non-concurrent helpers again. Got broken in the recent cleanup of garbage responses. Members: src/helper.c:1.62.2.1->1.62.2.2 Index: squid/src/helper.c =================================================================== RCS file: /cvsroot/squid/squid/src/helper.c,v retrieving revision 1.62.2.1 retrieving revision 1.62.2.2 diff -u -r1.62.2.1 -r1.62.2.2 --- squid/src/helper.c 12 Mar 2007 22:21:20 -0000 1.62.2.1 +++ squid/src/helper.c 14 Mar 2007 12:08:42 -0000 1.62.2.2 @@ -1,6 +1,6 @@ /* - * $Id: helper.c,v 1.62.2.1 2007/03/12 22:21:20 hno Exp $ + * $Id: helper.c,v 1.62.2.2 2007/03/14 12:08:42 hno Exp $ * * DEBUG: section 84 Helper process maintenance * AUTHOR: Harvest Derived? @@ -759,7 +759,7 @@ while (*msg && isspace((int) *msg)) msg++; } - if (i >= 0 && i < hlp->concurrency) + if ((!hlp->concurrency) || (i >= 0 && i < hlp->concurrency)) r = srv->requests[i]; else r = NULL;