AW: [squid-users] Squid 3.1.0.11 beta is available

From: Zeller, Jan <jan.zeller_at_id.unibe.ch>
Date: Mon, 20 Jul 2009 09:17:48 +0200

Hi Amos,

tried to compile Squid 3.1.0.11 beta but it unfortunately failed for reasons I ignore :

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 5.0.2 (lenny)
Release: 5.0.2
Codename: lenny

$ uname -r
2.6.26-2-amd64

$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-cld --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)

$ make
.
.
.
cc1plus: warnings being treated as errors
client_side.cc: In function 'int connKeepReadingIncompleteRequest(ConnStateData*)':
client_side.cc:2225: error: comparison between signed and unsigned integer expressions
depbase=`echo clientStream.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/opt/squid-3.1.0.11/etc/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/opt/squid-3.1.0.11/share\" -DDEFAULT_SQUID_CONFIG_DIR=\"/opt/squid-3.1.0.11/etc\" -I.. -I../include -I../src -I../include -I../lib -I../src -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -D_REENTRANT -g -O2 -MT clientStream.o -MD -MP -MF $depbase.Tpo -c -o clientStream.o clientStream.cc &&\
        mv -f $depbase.Tpo $depbase.Po
make[3]: *** [client_side.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/usr/local/src/squid-3.1.0.11/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/squid-3.1.0.11/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/squid-3.1.0.11/src'
make: *** [all-recursive] Error 1

src/client_side.cc
2219 int
2220 connKeepReadingIncompleteRequest(ConnStateData * conn)
2221 {
2222 // when we read chunked requests, the entire body is buffered
2223 // XXX: this check ignores header size and its limits.
2224 if (conn->in.dechunkingState == ConnStateData::chunkParsing)
2225 return conn->in.notYetUsed < Config.maxChunkedRequestBodySize;
2226
2227 return conn->in.notYetUsed >= Config.maxRequestHeaderSize ? 0 : 1;
2228 }

kind regards,

Jan

-----Ursprüngliche Nachricht-----
Von: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Gesendet: Sonntag, 19. Juli 2009 08:13
An: squid-announce_at_squid-cache.org; Squid
Betreff: [squid-users] Squid 3.1.0.11 beta is available

The Squid HTTP Proxy team is very pleased to announce the
availability of the Squid-3.1.0.11 beta release!

Amos Jeffries
Received on Mon Jul 20 2009 - 07:18:19 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 20 2009 - 12:00:02 MDT