From: wessels <> Date: Sat, 5 May 2007 06:16:32 +0000 (+0000) Subject: Add HTTP status codes 416 and 417 to the list that Squid knows about. X-Git-Tag: SQUID_3_0_PRE6~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cc7c3c84e1f893e61f589c07c8f685a1c9018586;p=thirdparty%2Fsquid.git Add HTTP status codes 416 and 417 to the list that Squid knows about. Adding these new status codes to HttpStateData::cacheableReply() --- diff --git a/src/http.cc b/src/http.cc index c870511496..f1e95323c3 100644 --- a/src/http.cc +++ b/src/http.cc @@ -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;