--------------------- PatchSet 2694 Date: 2001/08/01 11:46:13 Author: rbcollins Branch: ntlm Tag: (none) Log: add bugcheck for deferred helper logic Members: src/helper.c:1.1.1.3.12.30->1.1.1.3.12.31 Index: squid/src/helper.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/helper.c,v retrieving revision 1.1.1.3.12.30 retrieving revision 1.1.1.3.12.31 diff -u -r1.1.1.3.12.30 -r1.1.1.3.12.31 --- squid/src/helper.c 1 Aug 2001 11:41:05 -0000 1.1.1.3.12.30 +++ squid/src/helper.c 1 Aug 2001 11:46:13 -0000 1.1.1.3.12.31 @@ -1,6 +1,6 @@ /* - * $Id: helper.c,v 1.1.1.3.12.30 2001/08/01 11:41:05 rbcollins Exp $ + * $Id: helper.c,v 1.1.1.3.12.31 2001/08/01 11:46:13 rbcollins Exp $ * * DEBUG: section 29 Helper process maintenance * AUTHOR: Harvest Derived? @@ -768,6 +768,7 @@ break; case S_HELPER_RELEASE: /* helper finished with */ if (!srv->queue.head) { + assert (srv->deferred_requests != 0); srv->flags.reserved = S_HELPER_FREE; if ((srv->parent->OnEmptyQueue != NULL) && (srv->data)) srv->parent->OnEmptyQueue(srv->data);