--------------------- PatchSet 3884 Date: 2006/10/26 05:20:12 Author: rousskov Branch: squid3-icap Tag: (none) Log: - Polished waiting-for-service-probe preconditions. - Fixed service labels in up/down announcements. Members: src/ICAP/ICAPServiceRep.cc:1.1.2.8->1.1.2.9 Index: squid3/src/ICAP/ICAPServiceRep.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ICAP/ICAPServiceRep.cc,v retrieving revision 1.1.2.8 retrieving revision 1.1.2.9 diff -u -r1.1.2.8 -r1.1.2.9 --- squid3/src/ICAP/ICAPServiceRep.cc 25 Oct 2006 23:06:15 -0000 1.1.2.8 +++ squid3/src/ICAP/ICAPServiceRep.cc 26 Oct 2006 05:20:12 -0000 1.1.2.9 @@ -305,7 +305,7 @@ { Must(cb); Must(self != NULL); - Must(!probed()); // we do not wait for a broken service + Must(!broken()); // we do not wait for a broken service Client i; i.service = self; @@ -399,7 +399,7 @@ if (wasOk == up()) // no significant changes to announce return; - const char *what = bypass ? "essential" : "optional"; + const char *what = bypass ? "optional" : "essential"; const char *state = wasOk ? "down" : "up"; const int level = important ? 1 : 2; debugs(93,level, what << " ICAP service is " << state << ": " << uri);