From: rousskov <> Date: Wed, 20 Jun 2007 03:00:11 +0000 (+0000) Subject: Made AsyncJob::callException() virtual so that kids can customize exception X-Git-Tag: SQUID_3_0_PRE7~213 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9fcd0cd40edf7245747b98600616a3a9cb22d5de;p=thirdparty%2Fsquid.git Made AsyncJob::callException() virtual so that kids can customize exception handling. ICAP transactions will use that to bypass failures. Merged from the squid3-icap branch. --- diff --git a/src/ICAP/AsyncJob.h b/src/ICAP/AsyncJob.h index 1e49df1b8c..7fe84f8c3b 100644 --- a/src/ICAP/AsyncJob.h +++ b/src/ICAP/AsyncJob.h @@ -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