Zeller, Jan wrote:
dear squid list,

after compiling squid-3.0.STABLE14 on GNU/Linux Debian Lenny 5.0.1 like

# ./squid -v
Squid Cache: Version 3.0.STABLE14
configure options: '--prefix=/opt/squid-3.0.STABLE14' '--enable-icap-client' '--enable-ssl' '--enable-default-err-language=English' '--enable-err-languages=English' '--enable-linux-netfilter' '--with-pthreads' '--with-filedescriptors=32768'


the following problem occurs :
.
.
.
squid[26583]: assertion failed: HttpHeader.cc:1196: "Headers[id].type == ftInt64"
Squid Parent: child process 26583 exited due to signal 6
squid[14186]: Squid Parent: child process 26590 started
squid[26590]: Starting Squid Cache version 3.0.STABLE14 for x86_64-unknown-linux-gnu...
.

Apologies. Looks like I missed out one small piece of a recent patch.

Does this attached patch (-p0) correct the issue?

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
  Current Beta Squid 3.1.0.7
=== modified file 'src/HttpHeader.cc'
--- src/HttpHeader.cc	2009-04-10 07:49:36 +0000
+++ src/HttpHeader.cc	2009-04-14 13:52:50 +0000
@@ -106,7 +106,7 @@
         {"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},

Reply via email to