Thanks a lot Amos,
I'm sure this problem will be fixed in STABLE15.
I edited the src/HttpHeader.cc directly and changed the lines:
{"Max-Forwards", HDR_MAX_FORWARDS, ftInt},
to become
{"Max-Forwards", HDR_MAX_FORWARDS, ftInt64},
Seems it works now. Waiting the latest version STABLE15
Best Regards,
Wong
----- Original Message -----
From: "Amos Jeffries" <squid3@xxxxxxxxxxxxx>
To: "Wong" <wongbali@xxxxxxxxxx>; "Squid" <squid-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, May 06, 2009 18:08
Subject: Re: Message "assertion failed: HttpHeader.cc:1196:
"Headers[id].type == ftInt64"
Wong wrote:
Amos,
Seems you already made the patch. May I know how to get the patch for
this issue?
I'm just rolling STABLE15 now. It should be available in a few hours. You
may prefer to use that release bundle instead.
Otherwise for individual patches, the 3.0 ones are to be found at:
http://www.squid-cache.org/Versions/v3/3.0/changesets/
The one you are after is labeled "Bug #2635: Incorrect Max-Forwards header
type". Either on the first page, or the page titles 3.0.STABLE15 when the
rolling is done.
Amos
Thx & Rgds,
Wong
----- Original Message ----- From: "Wong" <wongbali@xxxxxxxxxx>
To: "Squid-users" <squid-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, May 06, 2009 10:40
Subject: Message "assertion failed: HttpHeader.cc:1196: "Headers[id].type
== ftInt64"
Dear All,
My Squid seems restarted after messages "assertion failed:
HttpHeader.cc:1196: "Headers[id].type == ftInt64" in cache.log
Below some captured log"
-----cut----
2009/05/06 10:10:36| store_swap_size = 82464
2009/05/06 10:10:36| storeLateRelease: released 0 objects
2009/05/06 10:17:03| assertion failed: HttpHeader.cc:1196:
"Headers[id].type == ftInt64"
2009/05/06 10:17:06| Starting Squid Cache version 3.0.STABLE14 for
i686-pc-linux-gnu...
2009/05/06 10:17:06| Process ID 5220
2009/05/06 10:17:06| With 1024 file descriptors available
2009/05/06 10:17:06| Performing DNS Tests...
2009/05/06 10:17:06| Successful DNS name lookup tests...
2009/05/06 10:17:07| DNS Socket created at 0.0.0.0, port 32977, FD 6
----cut----
Need your advises & helps......
Thx & Rgds,
Wong
--
Please be using
Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
Current Beta Squid 3.1.0.7