From: Alex Rousskov Date: Thu, 8 May 2008 20:06:07 +0000 (-0600) Subject: broken() is now implemented by Adaptation::Service(). X-Git-Tag: SQUID_3_1_0_1~45^2~11^2~26^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=817da470dfa4d6cfbe2b5f241285556f4e44ae5b;p=thirdparty%2Fsquid.git broken() is now implemented by Adaptation::Service(). --- diff --git a/src/ICAP/ICAPServiceRep.cc b/src/ICAP/ICAPServiceRep.cc index e63c81a5ea..d9b0833f09 100644 --- a/src/ICAP/ICAPServiceRep.cc +++ b/src/ICAP/ICAPServiceRep.cc @@ -110,11 +110,6 @@ bool ICAPServiceRep::up() const return self != NULL && !isSuspended && hasOptions(); } -bool ICAPServiceRep::broken() const -{ - return probed() && !up(); -} - bool ICAPServiceRep::wantsUrl(const String &urlPath) const { Must(hasOptions()); diff --git a/src/ICAP/ICAPServiceRep.h b/src/ICAP/ICAPServiceRep.h index ea9bd00ee2..7c8011f77c 100644 --- a/src/ICAP/ICAPServiceRep.h +++ b/src/ICAP/ICAPServiceRep.h @@ -89,7 +89,6 @@ public: void invalidate(); // call when the service is no longer needed or valid bool probed() const; // see comments above - bool broken() const; // see comments above bool up() const; // see comments above virtual Adaptation::Initiate *makeXactLauncher(Adaptation::Initiator *, HttpMsg *virginHeader, HttpRequest *virginCause);