[squid-dev] Build failed in Jenkins: trunk-x64-freebsd-72 #2346

2015-01-16 Thread noc
See 

--
[...truncated 3233 lines...]
/usr/local/bin/bash ../../libtool --tag=CXX--mode=compile 
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H-I../../.. -I../../../include  
-I../../../lib -I../../../src  -I../../include -I/usr/local/include 
-I/usr/include  -I/usr/include  -I../../../libltdl  -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 
-march=native -I/usr/local/include -MT ModEpoll.lo -MD -MP -MF 
.deps/ModEpoll.Tpo -c -o ModEpoll.lo ../../../src/comm/ModEpoll.cc
/usr/local/bin/bash ../../libtool --tag=CXX--mode=compile 
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H-I../../.. -I../../../include  
-I../../../lib -I../../../src  -I../../include -I/usr/local/include 
-I/usr/include  -I/usr/include  -I../../../libltdl  -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 
-march=native -I/usr/local/include -MT ModKqueue.lo -MD -MP -MF 
.deps/ModKqueue.Tpo -c -o ModKqueue.lo ../../../src/comm/ModKqueue.cc
/usr/local/bin/bash ../../libtool --tag=CXX--mode=compile 
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H-I../../.. -I../../../include  
-I../../../lib -I../../../src  -I../../include -I/usr/local/include 
-I/usr/include  -I/usr/include  -I../../../libltdl  -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 
-march=native -I/usr/local/include -MT ModPoll.lo -MD -MP -MF .deps/ModPoll.Tpo 
-c -o ModPoll.lo ../../../src/comm/ModPoll.cc
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT ModDevPoll.lo -MD -MP -MF 
.deps/ModDevPoll.Tpo -c ../../../src/comm/ModDevPoll.cc  -fPIC -DPIC -o 
.libs/ModDevPoll.o
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT ModEpoll.lo -MD -MP -MF 
.deps/ModEpoll.Tpo -c ../../../src/comm/ModEpoll.cc  -fPIC -DPIC -o 
.libs/ModEpoll.o
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT ModKqueue.lo -MD -MP -MF 
.deps/ModKqueue.Tpo -c ../../../src/comm/ModKqueue.cc  -fPIC -DPIC -o 
.libs/ModKqueue.o
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT ModPoll.lo -MD -MP -MF 
.deps/ModPoll.Tpo -c ../../../src/comm/ModPoll.cc  -fPIC -DPIC -o 
.libs/ModPoll.o
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT ModDevPoll.lo -MD -MP -MF 
.deps/ModDevPoll.Tpo -c ../../../src/comm/ModDevPoll.cc -o ModDevPoll.o 
>/dev/null 2>&1
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT ModEpoll.lo -MD -MP -MF 
.deps/ModEpoll.Tpo -c ../../../src/comm/ModEpoll.cc -o ModEpoll.o >/dev/null 
2>&1
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT ModKqueue.lo -MD -MP -MF 
.deps/ModKqueue.Tpo -c ../../../src/comm/ModKqueue.cc -o ModKqueue.o >/dev/null 
2>&1
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpo

[squid-dev] Build failed in Jenkins: trunk-x64-centos-6-clang #429

2015-01-16 Thread noc
See 

Changes:

[Amos Jeffries] Release notes update for 3.5

--
[...truncated 3771 lines...]
sed -e 's,[@]PERL[@],/usr/bin/perl,g' 
<../../../../helpers/basic_auth/DB/basic_db_auth.pl.in >basic_db_auth || 
(/bin/rm -f -f basic_db_auth ; exit 1)
pod2man basic_db_auth basic_db_auth.8
make[4]: Leaving directory 
`
Making all in LDAP
make[4]: Entering directory 
`
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include 
-I../../../../lib -I../../../../src -I../../../include -Werror 
-Qunused-arguments -Wno-deprecated-register  -D_REENTRANT -g -O2 -std=c++11 -MT 
basic_ldap_auth.o -MD -MP -MF .deps/basic_ldap_auth.Tpo -c -o basic_ldap_auth.o 
../../../../helpers/basic_auth/LDAP/basic_ldap_auth.cc
mv -f .deps/basic_ldap_auth.Tpo .deps/basic_ldap_auth.Po
/bin/sh ../../../libtool --tag=CXX   --mode=link ccache clang++ -Werror 
-Qunused-arguments -Wno-deprecated-register  -D_REENTRANT -g -O2 -std=c++11  -g 
-o basic_ldap_auth basic_ldap_auth.o ../../../lib/libmiscencoding.la 
../../../compat/libcompat-squid.la  -lldap -llber 
libtool: link: ccache clang++ -Werror -Qunused-arguments 
-Wno-deprecated-register -D_REENTRANT -g -O2 -std=c++11 -g -o basic_ldap_auth 
basic_ldap_auth.o  ../../../lib/.libs/libmiscencoding.a 
../../../compat/.libs/libcompat-squid.a -lldap -llber
make[4]: Leaving directory 
`
Making all in NCSA
make[4]: Entering directory 
`
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include 
-I../../../../lib -I../../../../src -I../../../include
-I../../../../helpers/basic_auth/NCSA  -Werror -Qunused-arguments 
-Wno-deprecated-register  -D_REENTRANT -g -O2 -std=c++11 -MT basic_ncsa_auth.o 
-MD -MP -MF .deps/basic_ncsa_auth.Tpo -c -o basic_ncsa_auth.o 
../../../../helpers/basic_auth/NCSA/basic_ncsa_auth.cc
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include 
-I../../../../lib -I../../../../src -I../../../include
-I../../../../helpers/basic_auth/NCSA  -Werror -Qunused-arguments 
-Wno-deprecated-register  -D_REENTRANT -g -O2 -std=c++11 -MT crypt_md5.o -MD 
-MP -MF .deps/crypt_md5.Tpo -c -o crypt_md5.o 
../../../../helpers/basic_auth/NCSA/crypt_md5.cc
mv -f .deps/crypt_md5.Tpo .deps/crypt_md5.Po
mv -f .deps/basic_ncsa_auth.Tpo .deps/basic_ncsa_auth.Po
/bin/sh ../../../libtool --tag=CXX   --mode=link ccache clang++ -Werror 
-Qunused-arguments -Wno-deprecated-register  -D_REENTRANT -g -O2 -std=c++11  -g 
-o basic_ncsa_auth basic_ncsa_auth.o crypt_md5.o 
../../../lib/libmisccontainers.la ../../../lib/libmiscencoding.la 
../../../compat/libcompat-squid.la  -lnettle -lcrypt  -lm -lnsl -lresolv -lcap 
-lrt -ldl -ldl 
libtool: link: ccache clang++ -Werror -Qunused-arguments 
-Wno-deprecated-register -D_REENTRANT -g -O2 -std=c++11 -g -o basic_ncsa_auth 
basic_ncsa_auth.o crypt_md5.o  ../../../lib/.libs/libmisccontainers.a 
../../../lib/.libs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a 
-lnettle -lcrypt -lm -lnsl -lresolv -lcap -lrt -ldl
make[4]: Leaving directory 
`
Making all in NIS
make[4]: Entering directory 
`
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include 
-I../../../../lib -I../../../../src -I../../../include
-I../../../../helpers/basic_auth/NIS  -Werror -Qunused-arguments 
-Wno-deprecated-register  -D_REENTRANT -g -O2 -std=c++11 -MT basic_nis_auth.o 
-MD -MP -MF .deps/basic_nis_auth.Tpo -c -o basic_nis_auth.o 
../../../../helpers/basic_auth/NIS/basic_nis_auth.cc
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include 
-I../../../../lib -I../../../../src -I../../../include
-I../../../../helpers/basic_auth/NIS  -Werror -Qunused-arguments 
-Wno-deprecated-register  -D_REENTRANT -g -O2 -std=c++11 -MT nis_support.o -MD 
-MP -MF .deps/nis_support.Tpo -c -o nis_support.o 
../../../../helpers/basic_auth/NIS/nis_support.cc
mv -f .deps/basic_nis_auth.Tpo .deps/basic_nis_auth.Po
mv -f .deps/nis_support.Tpo .deps/nis_support.Po
/bin/sh ../../../libtool --tag=CXX   --mode=link ccache clang++ -Werror 
-Qunused-arguments -Wno-deprecated-register  -D_REENTRANT -g -O2 -std=c++11  -g 
-o basic_nis_auth basic_nis_auth.o nis_support.o 
../../../l

[squid-dev] Build failed in Jenkins: trunk-matrix » clang,rs-fbsd-91 #27

2015-01-16 Thread noc
See 


--
[...truncated 3304 lines...]
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Tree.lo -MD -MP -MF 
.deps/Tree.Tpo -c ../../../src/acl/Tree.cc -o Tree.o >/dev/null 2>&1
mv -f .deps/Tree.Tpo .deps/Tree.Plo
/bin/sh ../../libtool --tag=CXX--mode=link ccache clang++ -Werror 
-Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include   -g 
-L/usr/local/lib -Wl,-R/usr/local/lib -pthread -o libapi.la  Acl.lo BoolOps.lo 
Checklist.lo InnerNode.lo  Tree.lo  
libtool: link: /usr/bin/ar cru .libs/libapi.a .libs/Acl.o .libs/BoolOps.o 
.libs/Checklist.o .libs/InnerNode.o .libs/Tree.o 
libtool: link: ranlib .libs/libapi.a
libtool: link: ( cd ".libs" && rm -f "libapi.la" && ln -s "../libapi.la" 
"libapi.la" )
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT Strategised.lo -MD -MP -MF .deps/Strategised.Tpo -c -o 
Strategised.lo ../../../src/acl/Strategised.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Strategised.lo -MD -MP 
-MF .deps/Strategised.Tpo -c ../../../src/acl/Strategised.cc  -fPIC -DPIC -o 
.libs/Strategised.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Strategised.lo -MD -MP 
-MF .deps/Strategised.Tpo -c ../../../src/acl/Strategised.cc -o Strategised.o 
>/dev/null 2>&1
mv -f .deps/Strategised.Tpo .deps/Strategised.Plo
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT FilledChecklist.lo -MD -MP -MF 
.deps/FilledChecklist.Tpo -c -o FilledChecklist.lo 
../../../src/acl/FilledChecklist.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT FilledChecklist.lo -MD 
-MP -MF .deps/FilledChecklist.Tpo -c ../../../src/acl/FilledChecklist.cc  -fPIC 
-DPIC -o .libs/FilledChecklist.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT FilledChecklist.lo -MD 
-MP -MF .deps/FilledChecklist.Tpo -c ../../../src/acl/FilledChecklist.cc -o 
FilledChecklist.o >/dev/null 2>&1
mv -f .deps/FilledChecklist.Tpo .deps/FilledChecklist.Plo
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT AclAddress.lo -MD -MP -MF .deps/AclAddress.Tpo -c -o 
AclAddress.lo ../../../src/acl/AclAddress.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT AclAddress.lo -MD -MP 
-MF .deps/AclAddress.Tpo -c ../../../src/acl/AclAddress.cc  -fPIC -DPIC -o 
.libs/AclAddress.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT AclAddress.lo -MD -MP 
-MF .deps/AclAddress.Tpo -c ../../../src/acl/AclAddress.cc -o AclAddress.o 
>/dev/null 2>&1
mv -f .deps/AclAddress.Tpo .deps/AclAddress.Plo
/bin/sh ../../libtool --tag

[squid-dev] Build failed in Jenkins: trunk-x64-centos-6-clang #428

2015-01-16 Thread noc
See 

Changes:

[Source Maintenance] SourceFormat Enforcement

[Christos Tsantilas] Non-HTTP bypass

Intercepting proxies often receive non-HTTP connections. Squid cannot currently
deal with such connections well because it assumes that a given port receives
HTTP, FTP, or HTTPS traffic exclusively. This patch allows Squid to tunnel
unexpected connections instead of terminating them with an error.

In this project, we define an unexpected connection as a connection that
resulted in a Squid error during first request parsing. Which errors trigger
tunneling behavior is configurable by the admin using ACLs.

Here is a configuration sketch:

# define what Squid errors indicate receiving non-HTTP traffic:
acl foreignProtocol squid_error ERR_PROTOCOL_UNKNOWN ERR_TOO_BIG

# define what Squid errors indicate receiving nothing:
acl serverTalksFirstProtocol squid_error ERR_REQUEST_START_TIMEOUT

# tunnel everything that does not look like HTTP:
on_first_request_error tunnel foreignProtocol

# tunnel if we think the client waits for the server to talk first:
on_first_request_error tunnel serverTalksFirstProtocol

# in all other error cases, just send an HTTP "error page" response:
on_first_request_error respond all

# Configure how long to wait for the first byte on the incoming
# connection before raising an ERR_REQUEST_START_TIMEOUT error.
request_start_timeout 5 seconds

The overall intent of this TCP tunnel is to get Squid out of the communication
loop to the extent possible. Once the decision to tunnel is made, no Squid
errors are going to be sent to the client and tunneled traffic is not going to
be sent to Squid adaptation services or logged to access.log (except for a
single summary line at the end of the transaction). Connection closure at the
server (or client) end of the tunnel is propagated to the other end by closing
the corresponding connection.

This patch also:

Add "on_first_request_error", a new ACL-driven squid.conf directive that can
be used to establish a blind TCP tunnel which relays all bytes from/to the
intercepted connection to/from the intended destination address. See the sketch
above.
The on_first_request_error directive supports fast ACLs only.

Add "squid_error", a new ACL type to match transactions that triggered a given
Squid error. Squid error IDs are used to configure one or more errors to match.
This is similar to the existing ssl_error ACL type but works with
Squid-generated errors rather than SSL library errors.

Add "ERR_PROTOCOL_UNKNOWN", a Squid error triggered for http_port connections
that start with something that lacks even basic HTTP request structure. This
error is triggered by the HTTP request parser, and probably only when/after the
current parsing code detects an error. That is, we do not want to introduce
new error conditions, but we want to treat some of the currently triggered
parsing errors as a "wrong protocol" error, possibly after checking the parsing
state or the input buffer for some clues. There is no known way to reliably
distinguish malformed HTTP requests from non-HTTP traffic so the parser has
to use some imprecise heuristics to make a decision in some cases.
In the future, it would be possible to add code to reliably detect some popular
non-HTTP protocols, but adding such code is outside this project scope.

Add "request_start_timeout", a new squid.conf directive to trigger a new
Squid ERR_REQUEST_START_TIMEOUT error if no bytes are received from the
client on a newly established http_port connection during the configured
time period. Applies to all http_ports (for now).

No support for tunneling through cache_peers is included. Configurations
that direct outgoing traffic through a peer may break Squid.

This is a Measurement Factory project

[Amos Jeffries] Fix mismatched new/free in rev.13849

Objects created with 'new' require 'delete'.

Detected by Coverity Scan. Issue 1264386, 1264387.

[Amos Jeffries] Fix off-by-one error in rev.13834

Detected by Coverity Scan. Issue 1264388.

--
[...truncated 3798 lines...]
sed -e 's,[@]PERL[@],/usr/bin/perl,g' 
<../../../../helpers/basic_auth/DB/basic_db_auth.pl.in >basic_db_auth || 
(/bin/rm -f -f basic_db_auth ; exit 1)
pod2man basic_db_auth basic_db_auth.8
make[4]: Leaving directory 
`
Making all in LDAP
make[4]: Entering directory 
`
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include 
-I../../../../lib -I../../../../src -I../../../include -Werror 
-Qunused-arguments -Wno-deprecated-register  -D_REENTRANT -g -O2 -std=c++11 -MT 
basic_ldap_auth.o -MD -MP -MF .deps/basic_ldap_auth.Tpo -c -o basic_ldap_auth.o 
../../../../helpers

[squid-dev] Build failed in Jenkins: trunk-x64-freebsd-72 #2345

2015-01-16 Thread noc
See 

--
[...truncated 3223 lines...]
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT IoCallback.lo -MD -MP -MF 
.deps/IoCallback.Tpo -c ../../../src/comm/IoCallback.cc  -fPIC -DPIC -o 
.libs/IoCallback.o
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT Connection.lo -MD -MP -MF 
.deps/Connection.Tpo -c ../../../src/comm/Connection.cc  -fPIC -DPIC -o 
.libs/Connection.o
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT AcceptLimiter.lo -MD -MP -MF 
.deps/AcceptLimiter.Tpo -c ../../../src/comm/AcceptLimiter.cc  -fPIC -DPIC -o 
.libs/AcceptLimiter.o
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT IoCallback.lo -MD -MP -MF 
.deps/IoCallback.Tpo -c ../../../src/comm/IoCallback.cc -o IoCallback.o 
>/dev/null 2>&1
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT AcceptLimiter.lo -MD -MP -MF 
.deps/AcceptLimiter.Tpo -c ../../../src/comm/AcceptLimiter.cc -o 
AcceptLimiter.o >/dev/null 2>&1
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT Connection.lo -MD -MP -MF 
.deps/Connection.Tpo -c ../../../src/comm/Connection.cc -o Connection.o 
>/dev/null 2>&1
mv -f .deps/IoCallback.Tpo .deps/IoCallback.Plo
/usr/local/bin/bash ../../libtool --tag=CXX--mode=compile 
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H-I../../.. -I../../../include  
-I../../../lib -I../../../src  -I../../include -I/usr/local/include 
-I/usr/include  -I/usr/include  -I../../../libltdl  -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 
-march=native -I/usr/local/include -MT ModDevPoll.lo -MD -MP -MF 
.deps/ModDevPoll.Tpo -c -o ModDevPoll.lo ../../../src/comm/ModDevPoll.cc
mv -f .deps/AcceptLimiter.Tpo .deps/AcceptLimiter.Plo
/usr/local/bin/bash ../../libtool --tag=CXX--mode=compile 
/usr/local/bin/ccache g++ -DHAVE_CONFIG_H-I../../.. -I../../../include  
-I../../../lib -I../../../src  -I../../include -I/usr/local/include 
-I/usr/include  -I/usr/include  -I../../../libltdl  -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -g -O2 
-march=native -I/usr/local/include -MT ModEpoll.lo -MD -MP -MF 
.deps/ModEpoll.Tpo -c -o ModEpoll.lo ../../../src/comm/ModEpoll.cc
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT ModDevPoll.lo -MD -MP -MF 
.deps/ModDevPoll.Tpo -c ../../../src/comm/ModDevPoll.cc  -fPIC -DPIC -o 
.libs/ModDevPoll.o
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../../include -I../../../lib -I../../../src -I../../include 
-I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -Wall 
-Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -D_REENTRANT 
-g -O2 -march=native -I/usr/local/include -MT ModEpoll.lo -MD -MP -MF 
.deps/ModEpoll.Tpo -c ../../../src/comm/ModEpoll.cc  -fPIC -DPIC -o 
.libs/ModEpoll.o
libtool: compile:  /usr/local/bin/ccache g++ -DHAVE_CONFIG_H -I../../.. 
-I../../..

[squid-dev] Build failed in Jenkins: trunk-matrix » clang,rs-fbsd-91 #26

2015-01-16 Thread noc
See 


--
[...truncated 3304 lines...]
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Tree.lo -MD -MP -MF 
.deps/Tree.Tpo -c ../../../src/acl/Tree.cc -o Tree.o >/dev/null 2>&1
mv -f .deps/Tree.Tpo .deps/Tree.Plo
/bin/sh ../../libtool --tag=CXX--mode=link ccache clang++ -Werror 
-Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include   -g 
-L/usr/local/lib -Wl,-R/usr/local/lib -pthread -o libapi.la  Acl.lo BoolOps.lo 
Checklist.lo InnerNode.lo  Tree.lo  
libtool: link: /usr/bin/ar cru .libs/libapi.a .libs/Acl.o .libs/BoolOps.o 
.libs/Checklist.o .libs/InnerNode.o .libs/Tree.o 
libtool: link: ranlib .libs/libapi.a
libtool: link: ( cd ".libs" && rm -f "libapi.la" && ln -s "../libapi.la" 
"libapi.la" )
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT Strategised.lo -MD -MP -MF .deps/Strategised.Tpo -c -o 
Strategised.lo ../../../src/acl/Strategised.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Strategised.lo -MD -MP 
-MF .deps/Strategised.Tpo -c ../../../src/acl/Strategised.cc  -fPIC -DPIC -o 
.libs/Strategised.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Strategised.lo -MD -MP 
-MF .deps/Strategised.Tpo -c ../../../src/acl/Strategised.cc -o Strategised.o 
>/dev/null 2>&1
mv -f .deps/Strategised.Tpo .deps/Strategised.Plo
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT FilledChecklist.lo -MD -MP -MF 
.deps/FilledChecklist.Tpo -c -o FilledChecklist.lo 
../../../src/acl/FilledChecklist.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT FilledChecklist.lo -MD 
-MP -MF .deps/FilledChecklist.Tpo -c ../../../src/acl/FilledChecklist.cc  -fPIC 
-DPIC -o .libs/FilledChecklist.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT FilledChecklist.lo -MD 
-MP -MF .deps/FilledChecklist.Tpo -c ../../../src/acl/FilledChecklist.cc -o 
FilledChecklist.o >/dev/null 2>&1
mv -f .deps/FilledChecklist.Tpo .deps/FilledChecklist.Plo
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT AclAddress.lo -MD -MP -MF .deps/AclAddress.Tpo -c -o 
AclAddress.lo ../../../src/acl/AclAddress.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT AclAddress.lo -MD -MP 
-MF .deps/AclAddress.Tpo -c ../../../src/acl/AclAddress.cc  -fPIC -DPIC -o 
.libs/AclAddress.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT AclAddress.lo -MD -MP 
-MF .deps/AclAddress.Tpo -c ../../../src/acl/AclAddress.cc -o AclAddress.o 
>/dev/null 2>&1
mv -f .deps/AclAddress.Tpo .deps/AclAddress.Plo
/bin/sh ../../libtool --tag

[squid-dev] Build failed in Jenkins: trunk-matrix » clang,rs-fbsd-91 #25

2015-01-16 Thread noc
See 


--
[...truncated 3304 lines...]
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Tree.lo -MD -MP -MF 
.deps/Tree.Tpo -c ../../../src/acl/Tree.cc -o Tree.o >/dev/null 2>&1
mv -f .deps/Tree.Tpo .deps/Tree.Plo
/bin/sh ../../libtool --tag=CXX--mode=link ccache clang++ -Werror 
-Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include   -g 
-L/usr/local/lib -Wl,-R/usr/local/lib -pthread -o libapi.la  Acl.lo BoolOps.lo 
Checklist.lo InnerNode.lo  Tree.lo  
libtool: link: /usr/bin/ar cru .libs/libapi.a .libs/Acl.o .libs/BoolOps.o 
.libs/Checklist.o .libs/InnerNode.o .libs/Tree.o 
libtool: link: ranlib .libs/libapi.a
libtool: link: ( cd ".libs" && rm -f "libapi.la" && ln -s "../libapi.la" 
"libapi.la" )
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT Strategised.lo -MD -MP -MF .deps/Strategised.Tpo -c -o 
Strategised.lo ../../../src/acl/Strategised.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Strategised.lo -MD -MP 
-MF .deps/Strategised.Tpo -c ../../../src/acl/Strategised.cc  -fPIC -DPIC -o 
.libs/Strategised.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Strategised.lo -MD -MP 
-MF .deps/Strategised.Tpo -c ../../../src/acl/Strategised.cc -o Strategised.o 
>/dev/null 2>&1
mv -f .deps/Strategised.Tpo .deps/Strategised.Plo
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT FilledChecklist.lo -MD -MP -MF 
.deps/FilledChecklist.Tpo -c -o FilledChecklist.lo 
../../../src/acl/FilledChecklist.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT FilledChecklist.lo -MD 
-MP -MF .deps/FilledChecklist.Tpo -c ../../../src/acl/FilledChecklist.cc  -fPIC 
-DPIC -o .libs/FilledChecklist.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT FilledChecklist.lo -MD 
-MP -MF .deps/FilledChecklist.Tpo -c ../../../src/acl/FilledChecklist.cc -o 
FilledChecklist.o >/dev/null 2>&1
mv -f .deps/FilledChecklist.Tpo .deps/FilledChecklist.Plo
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT AclAddress.lo -MD -MP -MF .deps/AclAddress.Tpo -c -o 
AclAddress.lo ../../../src/acl/AclAddress.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT AclAddress.lo -MD -MP 
-MF .deps/AclAddress.Tpo -c ../../../src/acl/AclAddress.cc  -fPIC -DPIC -o 
.libs/AclAddress.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT AclAddress.lo -MD -MP 
-MF .deps/AclAddress.Tpo -c ../../../src/acl/AclAddress.cc -o AclAddress.o 
>/dev/null 2>&1
mv -f .deps/AclAddress.Tpo .deps/AclAddress.Plo
/bin/sh ../../libtool --tag

Re: [squid-dev] Moved PID file management from Coordinator to Master

2015-01-16 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 16/01/2015 11:29 a.m., Alex Rousskov wrote:
> On 01/14/2015 03:09 AM, Amos Jeffries wrote:
>>> On 01/14/2015 11:25 AM, Amos Jeffries wrote:
 Does the master process get exit status of *all* worker
 processes and the sub-childs down N levels? It was my
 understanding that in SMP each worker disker etc is a fork()
 and the child becomes new coordinator.
> 
> 
> Hi Amos,
> 
> In SMP, there is only one Coordinator process, created by the
> Master process.
> 
> 
>> I suspect we will find that some diskers etc are in fact spawned
>> by either coordinator or a worker and one level deeper than the
>> master can see.
> 
> 
> All SMP kids (Coordinator, workers, and diskers) are started by
> the Master process. There are no multiple levels as far as kid
> startup and waiting are concerned and, hence, there is no "level
> deeper than the master can see".
> 
> Needless to say, there are processes that are not SMP kids. For
> example, all helpers do not run Squid code and, hence, they are not
> kids and are not affected by the proposed fix.
> 
> 
> HTH,
> 
> Alex.
> 


Hmm, okay. Then I have no problem per-se to this change of esponsibility.

I do still think the coordinator needs to remain active until last out
of the kids though, so they can still use it to coordinate during
their shutdowns. Having it be the first up and last down would solve a
few architectural problems where kids need to to collaborate on
things, like log rotations or broadcasting their availability.

Amos
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUuTOSAAoJELJo5wb/XPRj76UIAJk+f4O4aiIp4Hmw7bZpD5zV
3MGcai6k7kTG8/4ncvnsZCT9lG1shgA41JeNpoUzCMvo9kfRJ7wHYpwXZT0UNeEW
mwE2TZXjwt1cWewyfwnb24Pph5vCBEhI7wqgANH3/+duZkAYzHuEl09G62LEpAR3
KBrmAJUP468brWXMLdDAJAUNo4c1e5U74vqI2k2Dnn25NjCxg1yLLx3RB4oDNGqI
WbLAR8hR4ni4gl5jkJwdFb9yFgROaciQxVrLchj/ub73j2yoPF4hBgwwx2hola+f
rJDRDiQugVbTlDl4jyv3QjRc3NLMA27qZKV0DCIxEIYZ7F+3niG4VVTo6mQhgEo=
=Naou
-END PGP SIGNATURE-
___
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev


[squid-dev] Build failed in Jenkins: trunk-matrix » clang,rs-fbsd-91 #24

2015-01-16 Thread noc
See 


--
[...truncated 3296 lines...]
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Checklist.lo -MD -MP 
-MF .deps/Checklist.Tpo -c ../../../src/acl/Checklist.cc -o Checklist.o 
>/dev/null 2>&1
mv -f .deps/Checklist.Tpo .deps/Checklist.Plo
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT InnerNode.lo -MD -MP -MF .deps/InnerNode.Tpo -c -o 
InnerNode.lo ../../../src/acl/InnerNode.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT InnerNode.lo -MD -MP 
-MF .deps/InnerNode.Tpo -c ../../../src/acl/InnerNode.cc  -fPIC -DPIC -o 
.libs/InnerNode.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT InnerNode.lo -MD -MP 
-MF .deps/InnerNode.Tpo -c ../../../src/acl/InnerNode.cc -o InnerNode.o 
>/dev/null 2>&1
mv -f .deps/InnerNode.Tpo .deps/InnerNode.Plo
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT Tree.lo -MD -MP -MF .deps/Tree.Tpo -c -o Tree.lo 
../../../src/acl/Tree.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Tree.lo -MD -MP -MF 
.deps/Tree.Tpo -c ../../../src/acl/Tree.cc  -fPIC -DPIC -o .libs/Tree.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Tree.lo -MD -MP -MF 
.deps/Tree.Tpo -c ../../../src/acl/Tree.cc -o Tree.o >/dev/null 2>&1
mv -f .deps/Tree.Tpo .deps/Tree.Plo
/bin/sh ../../libtool --tag=CXX--mode=link ccache clang++ -Werror 
-Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include   -g 
-L/usr/local/lib -Wl,-R/usr/local/lib -pthread -o libapi.la  Acl.lo BoolOps.lo 
Checklist.lo InnerNode.lo  Tree.lo  
libtool: link: /usr/bin/ar cru .libs/libapi.a .libs/Acl.o .libs/BoolOps.o 
.libs/Checklist.o .libs/InnerNode.o .libs/Tree.o 
libtool: link: ranlib .libs/libapi.a
libtool: link: ( cd ".libs" && rm -f "libapi.la" && ln -s "../libapi.la" 
"libapi.la" )
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/usr/local/include -I/usr/include  -I/usr/include  
-I../../../libltdl  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 
-I/usr/local/include -MT Strategised.lo -MD -MP -MF .deps/Strategised.Tpo -c -o 
Strategised.lo ../../../src/acl/Strategised.cc
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Strategised.lo -MD -MP 
-MF .deps/Strategised.Tpo -c ../../../src/acl/Strategised.cc  -fPIC -DPIC -o 
.libs/Strategised.o
libtool: compile:  ccache clang++ -DHAVE_CONFIG_H -I../../.. -I../../../include 
-I../../../lib -I../../../src -I../../include -I/usr/local/include 
-I/usr/include -I/usr/include -I../../../libltdl -Werror -Qunused-arguments 
-D_REENTRANT -g -O2 -std=c++11 -I/usr/local/include -MT Strategised.lo -MD -MP 
-MF .deps/Strategised.Tpo -c ../../../src/acl/Strategised.cc -o Strategised.o 
>/dev/null 2>&1
mv -f .deps/Strategised.Tpo .deps/Strategised.Plo
/bin/sh ../../libtool --tag=CXX--mode=compile ccache clang++ 
-DHAVE_CONFIG_H-I../../.. -I../../../include  -I../../../lib -I../../../src 
 -I../../include -I/

Re: [squid-dev] [PATCH] Non-HTTP bypass

2015-01-16 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 17/01/2015 12:31 a.m., Tsantilas Christos wrote:
> I am preparing this patch for commit, but I have many problems
> with tests/testHttp1Parser tester. The most of the problems caused
> because the changes I made in Http1Parser aborts immediately
> parsing when no valid characters found for the request method.
> 
> These problems can be fixed however there are 1-2 cases where I am
> not sure about correct fix.
> 
> For example Http1PArser without my fixes considers as valid
> methods: - with tabs inside method name, for example "\tGET" - with
> '\0' at the end of method name
> 
> About the "\t" probably we should "eat" tabs with spaces in 
> skipGarbageLines. About the '\0' do we have such cases?  The true
> is that I remember in the past, cases where a '\0' is appeared
> inside HTTP request headers. But maybe in these cases we must not
> include it in HTTP request method, but consider it as a space.

Both of them are not valid HTTP as of RFC 7230, this is a
clarification since 2616 which could be interpreted as allowing them.
Your parser change is correct in rejecting.

The tests are in thsi condition because I have not yet re-coded that
part of parser to be fully RFC 7230 compliant. In other words, alter
those tests as needed to pass with your method characterset change.

FWIW: the RFC 7320 now explicitly states the characters which may
exist in and around the method:
 * method is a token
() made only of
valid tchar,
 * with tolerant parsing method MAY be prefixed by an LF,
 * method is followed by specifically an SP character,
 * invalid method (thus invalid request-line) SHOULD be rejected with
a 400 status message.

Amos
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUuRjuAAoJELJo5wb/XPRj6KcIAKfjmziUKWcJsvqpOAEaiRy8
zKt835ShvoHC7je8cxhZv5tjRRMR7ShmWu9dIYTinZXbHkoSRSuvjRofR9ef8UJH
e1NMJ4vfaLsZDI2HeMKUg1RQE2VECSwiGYmHaIRdF1VLvUPabwMRLyVgEVpMtZn2
XnnFBaPEQmf+oBh+7qUcREY2wPI/YKEt2fAUOn2irHFoRJ1NP2m6UU1dvq0O+QdQ
+6gzZJi0Uk7CjW85a7dzRmN4M81i3wsZsGHtrVF3NwFAzXj+Z7Q8/Talvl759+RJ
cwvXByulOV1qKHEMJnFa1uKLDdbjWNU1NJ9I47g9jnnlutUBu7wxFcnkvpDbFqU=
=hkOk
-END PGP SIGNATURE-
___
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev


Re: [squid-dev] [PATCH] Non-HTTP bypass

2015-01-16 Thread Tsantilas Christos
I am preparing this patch for commit, but I have many problems with 
tests/testHttp1Parser tester.
The most of the problems caused because the changes I made in 
Http1Parser aborts immediately parsing when no valid characters found 
for the request method.


These problems can be fixed however there are 1-2 cases where I am not 
sure about correct fix.


For example Http1PArser without my fixes considers as valid methods:
 - with tabs inside method name, for example "\tGET"
 - with '\0' at the end of method name

About the "\t" probably we should "eat" tabs with spaces in 
skipGarbageLines.
About the '\0' do we have such cases?  The true is that I remember in 
the past, cases where a '\0' is appeared inside HTTP request headers. 
But maybe in these cases we must not include it in HTTP request method, 
but consider it as a space.




On 01/14/2015 06:00 PM, Amos Jeffries wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14/01/2015 7:21 a.m., Tsantilas Christos wrote:

I made all requested changes/fixes. The patch also ported to latest
trunk.




Okay, +1 for commit 

FYI: Alex, kinkie, and myself had a debate on IRC and came to an
agreement for calling the new directive "on_unsupported_protocol"
instead of on_first_request_error.

Please feel free to make that naming switch when comitting if you
like, it does not require another review IMO.

Amos
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUtpKRAAoJELJo5wb/XPRjtLwH/1L0K9u80Yl95ymszoroP2MB
TivdghsRQcFO8BIbUkWxVp3M7FghUQY9h/famsxX5R55SiAPOgMmXxoCSWTPe+ID
6VPlYdhr8XsUkWuJZ0MwNA1iJO4yM5jGhU9E/kwH4PSbJqD4aP38Wdt+iuG/+753
px76GFBIVhiW6hVORxW1vXGcnrMcHKaoRwgfnEFSK4QyyDeVr5xVEAQOE0vOluyO
AWYGd8pEeMl1gcegcYm+OsdBXdQyvoJBSC74andl2PFOqEu/2wybKCZa86s6IXLi
0PrwtiGWXlOI868ZNlD0TCRTvrES11OZsxx2P9245HNpWo0IULjYlBui4NDVolA=
=KsmY
-END PGP SIGNATURE-
___
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev



___
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev