lp:~kinkie/squid/cachemgr-cors

Created by Francesco Chemolli and last modified
Get this branch:
bzr branch lp:~kinkie/squid/cachemgr-cors
Only Francesco Chemolli can upload to this branch. If you are Francesco Chemolli please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Francesco Chemolli
Project:
Squid
Status:
Merged

Recent revisions

12760. By Christos Tsantilas

Make ConfigParser::QuoteString parameter const

12759. By Amos Jeffries

Resolve unused variable warnings from rev.12757

12758. By Stuart Henderson <email address hidden>

Bug 3822: Locate LDAP and SASL headers in /usr/local/include for BSD support

12757. By Amos Jeffries

Polish TPROXY support for OpenBSD and FreeBSD

Current OpenBSD implementation of PF divert-to works similarly to TPROXY
and only requires a getsockname() lookup to locate the TCP packet
original destination.

We can use the same PF configuration to preform "intercept" option but
the old PF transparent code does lookups on /dev/pf which fails badly
on the new PF versions. getsockname() is what is really required and
already performed by TcpAcceptor on all incoming connections, so there
is no need for a special PF lookup code now.

Add a new ./configure option --with-nat-devpf to enable the old /dev/pf
NAT lookup code in a backward-compatible way for older OS versions and
OpenBSD based distros which have not yet ported the new PF code. The
option is disabled by default since the systems requiring it are fairly
old now.

Also remove the getsockname() lookup in the IPFW lookup implementation
which is redundant behind TcpAcceptor.

12756. By mluscon

Bug 3825: ncsa_auth segfaulting with glibc-2.17

It appears the crypt() function may return NULL strings. Check for those
before all strcmp() operations.

NOTE: The MD5 output checks are probably not needed but since SquidMD5 is
an object build-time switched between several encryption library API
definitions it is better to be safe here as well.

12755. By Amos Jeffries

Polish: upgrade TunnelStateData to CBDATA_CLASS2()

CBDATA_CLASS2() removes the need to define new/delete operators and
removes soem uses of cbdataFree()/cbdataAlloc()

Also replaces several abuses of the cbdataInternal*() locking API with
CbcPointer<> auto-pointers. The existence of some of these locks needing
to be done is questionable since AsyncCalls scheduling protects better
against the 'deleted under our feets' problem.
 For now the locks are retained since it is not yet easy to track down
which are safe and which are removable.

12754. By Amos Jeffries

Polish: TunnelStateData constructor/destructor

* convert the C-style tunnelStateFree() functio to a proper destructor.
* create a proper constructor for TunnelStateData
* include debugging for trace-job.pl to track tunnel jobs setup/teardown

12753. By Stuart Henderson <email address hidden>

OpenBSD: libpthreads requires OpenBSD 5.2 or later

This patch imported form teh OpenBSD ports packaging implements a TODO in
DiskThreads component regarding wider system support for libpthreads.

12752. By Francesco Chemolli

Fix unit test link issue for missing ClientSocketContext::operator delete stub

12751. By Francesco Chemolli

Improve compiler detection, better support warnings-as-errors on clang

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~squid/squid/trunk
This branch contains Public information 
Everyone can see this information.