Bug 3091: Bypassed ICAP errors are not counted as service failures.
Notify ICAP service about the failure even if we can bypass it. Otherwise,
a failing service may continue to stay "up", preventing Squid from using a
healthy backup alternative in a service_set (or bypassing ICAP completeley).
if (!doneWithIo())
debugs(93, 7, HERE << "Warning: bypass failed to stop I/O" << status());
}
+
+ service().noteFailure(); // we are bypassing, but this is still a failure
}
void Adaptation::Icap::ModXact::disableBypass(const char *reason, bool includingGroupBypass)