> Okay. This gets rid of the assert and adds some debug instead. > The reason for sending eof=1 when not at true EOF is not yet clear, so > use carefully, but additional debugs are added when the flag is set. > debug_options ... 11,9 for these. > > Amos > -- > Please be using > Current Stable Squid 2.7.STABLE6 or 3.0.STABLE17 > Current Beta Squid 3.1.0.12 Hi Amos, thanks for your patch ! I tried to apply it like this : squid-3.0.STABLE17/src$ patch --verbose -p1 < /home/ jan/eof_debugs.patch Hmm... Looks like a unified diff to me... (Stripping trailing CRs from patch.) The text leading up to this was: -------------------------- |=== modified file 'src/http.cc' |--- src/http.cc 2009-07-26 10:54:29 +0000 |+++ src/http.cc 2009-07-31 06:44:31 +0000 -------------------------- Patching file http.cc using Plan A... Hunk #1 succeeded at 710. Hunk #2 succeeded at 1010. Hunk #3 succeeded at 1053. Hmm... Ignoring the trailing garbage. done but "$ make" finally fails :( http.cc: In member function 'void HttpStateData::processReplyHeader()': http.cc:742: error: request for member 'size' in '((HttpStateData*)this)->HttpStateData::readBuf', which is of non-class type 'MemBuf*' http.cc: In member function 'void HttpStateData::readReply(size_t, comm_err_t, int)': http.cc:1013: error: expected primary-expression before '>' token make[3]: *** [http.o] Error 1 make[3]: Leaving directory `/usr/local/src/squid-3.0.STABLE17/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/squid-3.0.STABLE17/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/squid-3.0.STABLE17/src' make: *** [all-recursive] Error 1 kind regards, Jan