]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/adaptation/icap/ServiceRep.cc
Author: Tsantilas Christos <chtsanti@users.sourceforge.net> , Alex Rousskov <rousskov...
[thirdparty/squid.git] / src / adaptation / icap / ServiceRep.cc
index ff33f96e65d6597e76fe896fc85824f65ca58272..cba32c45df2abb4247e9338f940c7611a80168a2 100644 (file)
@@ -125,6 +125,14 @@ bool Adaptation::Icap::ServiceRep::allows204() const
     return true; // in the future, we may have ACLs to prevent 204s
 }
 
+bool Adaptation::Icap::ServiceRep::allows206() const
+{
+    Must(hasOptions());
+    if (theOptions->allow206)
+        return true; // in the future, we may have ACLs to prevent 206s
+    return false;
+}
+
 
 static
 void ServiceRep_noteTimeToUpdate(void *data)