]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2635: Incorrect Max-Forwards header type
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 14 Apr 2009 15:38:39 +0000 (03:38 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 14 Apr 2009 15:38:39 +0000 (03:38 +1200)
src/HttpHeader.cc

index 0635b63e8c3bfb84fff5763ede10865f0a83720d..95495f636f4af5af01ebd41226b94450cd9df4fb 100644 (file)
@@ -106,7 +106,7 @@ static const HttpHeaderFieldAttrs HeadersAttrs[] =
         {"Last-Modified", HDR_LAST_MODIFIED, ftDate_1123},
         {"Link", HDR_LINK, ftStr},
         {"Location", HDR_LOCATION, ftStr},
-        {"Max-Forwards", HDR_MAX_FORWARDS, ftInt},
+        {"Max-Forwards", HDR_MAX_FORWARDS, ftInt64},
         {"Mime-Version", HDR_MIME_VERSION, ftStr},     /* for now */
         {"Pragma", HDR_PRAGMA, ftStr},
         {"Proxy-Authenticate", HDR_PROXY_AUTHENTICATE, ftStr},