]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Add HTTP status codes 416 and 417 to the list that Squid knows about.
authorwessels <>
Sat, 5 May 2007 06:16:32 +0000 (06:16 +0000)
committerwessels <>
Sat, 5 May 2007 06:16:32 +0000 (06:16 +0000)
Adding these new status codes to HttpStateData::cacheableReply()

src/http.cc

index c870511496e4c46d07e1532f4253506a75f14c65..f1e95323c3c7f7229c140ab4dbab34d2885a2078 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: http.cc,v 1.518 2007/04/30 16:56:09 wessels Exp $
+ * $Id: http.cc,v 1.519 2007/05/05 00:16:32 wessels Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -558,6 +558,8 @@ HttpStateData::cacheableReply()
     case HTTP_LOCKED:
     case HTTP_FAILED_DEPENDENCY:
     case HTTP_INSUFFICIENT_STORAGE:
+    case HTTP_REQUESTED_RANGE_NOT_SATISFIABLE:
+    case HTTP_EXPECTATION_FAILED:
 
         return 0;