--------------------- PatchSet 6203 Date: 2007/11/29 18:06:11 Author: rousskov Branch: async-calls Tag: (none) Log: When trying to fetch fresh ICAP OPTIONS, check that initiateIcap() did not fail. Members: src/ICAP/ICAPServiceRep.cc:1.16.4.2->1.16.4.3 Index: squid3/src/ICAP/ICAPServiceRep.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/ICAP/ICAPServiceRep.cc,v retrieving revision 1.16.4.2 retrieving revision 1.16.4.3 diff -u -r1.16.4.2 -r1.16.4.3 --- squid3/src/ICAP/ICAPServiceRep.cc 15 Nov 2007 19:41:27 -0000 1.16.4.2 +++ squid3/src/ICAP/ICAPServiceRep.cc 29 Nov 2007 18:06:11 -0000 1.16.4.3 @@ -468,6 +468,7 @@ debugs(93,6, "ICAPService will get new options " << status()); theOptionsFetcher = initiateIcap(new ICAPOptXactLauncher(this, self)); + Must(theOptionsFetcher); // TODO: timeout in case ICAPOptXact never calls us back? // Such a timeout should probably be a generic AsyncStart feature. }