[squid-users] squid 3.0 stable 14 terminates abnormally

2009-06-13 Thread goody goody

subject squid version running on freebsd 7 dies  and following messages is 
displayed.

assertion failed: HttpHeader.cc:1196: Headers[id].type == ftInt64


after search mailing list i found Amos's answer to wong asking to upgrade to 15 
or changes in src/HttpHeader.cc.

Trying Method-1 Apply latest patch.

now i have download the squid-3.0.STABLE15.patch and changed the pwd to the 
source files from where i had previously installed the stable 14 version, but 
when i apply this patch using command patch  /path/squid-3.0.STABLE15.patch, 
it successfully hunks some files and then stops and says Hmm...  The next 
patch looks like a unified diff to me

So can any body tell me what should i do to continue

On Trying Method-2 changes in src/HttpHeader.cc.

after changing the said line i-e 

{Max-Forwards, HDR_MAX_FORWARDS, ftInt}, 
to become
{Max-Forwards, HDR_MAX_FORWARDS, ftInt64},

i don't what to do further to tell squid adapt changes. should i run make 
clean  make  make install and it would be done!!!.

Thanks in advance.
.Goody.



  


Re: [squid-users] squid 3.0 stable 14 terminates abnormally

2009-06-13 Thread Amos Jeffries

goody goody wrote:

subject squid version running on freebsd 7 dies  and following messages is 
displayed.

assertion failed: HttpHeader.cc:1196: Headers[id].type == ftInt64


after search mailing list i found Amos's answer to wong asking to upgrade to 15 
or changes in src/HttpHeader.cc.

Trying Method-1 Apply latest patch.

now i have download the squid-3.0.STABLE15.patch and changed the pwd to the source files 
from where i had previously installed the stable 14 version, but when i apply this patch 
using command patch  /path/squid-3.0.STABLE15.patch, it successfully hunks some files 
and then stops and says Hmm...  The next patch looks like a unified diff to 
me

So can any body tell me what should i do to continue


Hmm, not sure why that is failing.
The minimal patch on STABLE14 to get the headers going again is:
http://www.squid-cache.org/Versions/v3/3.0/changesets/b9001.patch

It's applied with patch -p0 b9001.patch.




On Trying Method-2 changes in src/HttpHeader.cc.

after changing the said line i-e 

{Max-Forwards, HDR_MAX_FORWARDS, ftInt}, 
to become

{Max-Forwards, HDR_MAX_FORWARDS, ftInt64},

i don't what to do further to tell squid adapt changes. should i run make clean  make 
 make install and it would be done!!!.

Thanks in advance.
.Goody.



Yes that should be sufficient.

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
  Current Beta Squid 3.1.0.8 or 3.0.STABLE16-RC1