]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Made AsyncJob::callException() virtual so that kids can customize exception
authorrousskov <>
Wed, 20 Jun 2007 03:00:11 +0000 (03:00 +0000)
committerrousskov <>
Wed, 20 Jun 2007 03:00:11 +0000 (03:00 +0000)
handling. ICAP transactions will use that to bypass failures.

Merged from the squid3-icap branch.

src/ICAP/AsyncJob.h

index 1e49df1b8c1e6376b117cd6ba9987b97f51efc14..7fe84f8c3bc48552cb612f41c04764de2b10ddc5 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: AsyncJob.h,v 1.1 2007/05/08 16:32:11 rousskov Exp $
+ * $Id: AsyncJob.h,v 1.2 2007/06/19 21:00:11 rousskov Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -80,7 +80,7 @@ protected:
 
     // asynchronous call maintenance
     bool callStart(const char *methodName);
-    void callException(const TextException &e);
+    virtual void callException(const TextException &e);
     virtual void callEnd();
 
     const char *stopReason; // reason for forcing done() to be true