]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
16 years agoFix detection of obsolete 'all' patterns
Amos Jeffries [Mon, 30 Nov 2009 10:27:02 +0000 (23:27 +1300)] 
Fix detection of obsolete 'all' patterns

A little bit overly enthusiastic on the additions...
 * 0.0.0.0 is a /32 not /0
 * 0->N is 'all', not 0->0

16 years agoUn-polish the huge-objects tests.
Amos Jeffries [Tue, 24 Nov 2009 12:26:08 +0000 (01:26 +1300)] 
Un-polish the huge-objects tests.

It was a bad idea before porting down.

16 years ago3.1.0.15 SQUID_3_1_0_15
Amos Jeffries [Mon, 23 Nov 2009 03:09:18 +0000 (20:09 -0700)] 
3.1.0.15

16 years agoPrep 3.1.0.15
Amos Jeffries [Mon, 23 Nov 2009 03:01:46 +0000 (16:01 +1300)] 
Prep 3.1.0.15

16 years agoAuthor: Various Translators
Amos Jeffries [Mon, 23 Nov 2009 02:44:57 +0000 (15:44 +1300)] 
Author: Various Translators
Language Updates

16 years agoSourceFormat Enforcement
Automatic source maintenance [Mon, 23 Nov 2009 02:37:03 +0000 (19:37 -0700)] 
SourceFormat Enforcement

16 years agoPolish ACL src/dst magic monikers and push upgrading to 'all'.
Amos Jeffries [Mon, 23 Nov 2009 02:20:24 +0000 (15:20 +1300)] 
Polish ACL src/dst magic monikers and push upgrading to 'all'.

* Adds 'ipv4' magic moniker. Slightly safer and friendlier than !ipv6

* Updates the IP range parse to detect several old broken cases of 'all'.
  Warn loudly and replace with 'all' during parse.
  This is needed for all the people who use the 'all' pattern for special
  purposes under another name; auth hiding, deny_info redirects, etc.

16 years agoConvert Common.am snippet from @ variable style.
Amos Jeffries [Mon, 23 Nov 2009 02:19:12 +0000 (15:19 +1300)] 
Convert Common.am snippet from @ variable style.

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Mon, 23 Nov 2009 02:11:13 +0000 (15:11 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Make huge-objects macro only test for GCC

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 22 Nov 2009 20:30:54 +0000 (09:30 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Remove gcc-ism in adaptation.

globals do not need to be declared extern in the .cc

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 22 Nov 2009 20:17:15 +0000 (09:17 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fix more gcc-ism in CBDATA_DEBUG

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 22 Nov 2009 20:09:33 +0000 (09:09 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fix testheaders.sh to work with non-gcc compilers. build a true executable.

16 years agoFreeBSD for some reason some times do not like our big cf.data script
Henrik Nordstrom [Sat, 21 Nov 2009 22:20:01 +0000 (23:20 +0100)] 
FreeBSD for some reason some times do not like our big cf.data script

Split in multiple expressions specified by -e arguments. Seems to work better.

The large blob had a bit of extra space characters in it from the line folding
which seems to be related to the failure. (each command began with a space)

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sat, 21 Nov 2009 11:44:35 +0000 (00:44 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fix Profiler gcc-ism: asm syntax is gcc-specific

16 years agoCorrect ICMP Checksum unit-tests.
Amos Jeffries [Sat, 21 Nov 2009 11:21:14 +0000 (00:21 +1300)] 
Correct ICMP Checksum unit-tests.

 * Correct bitmaps to network-order for Endian handling.
 * Fix mishap confusing array offset with bitmap bytes.

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sat, 21 Nov 2009 11:18:00 +0000 (00:18 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Implemented --disable-strict-error-checking configure option

Also, Add chmod to the list of searched-for programs during configuration.

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sat, 21 Nov 2009 11:01:43 +0000 (00:01 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fixed some cases of linkage type mismatch and many of parameter shadowing

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sat, 21 Nov 2009 01:50:55 +0000 (14:50 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Improved some libraries detection logic

autoconf AC_SEARCH_LIBS offers more functionality than AC_CHECK_LIB

Also, add support and detection of NSS nis libraries.

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sat, 21 Nov 2009 01:43:52 +0000 (14:43 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Dnsserver and resolver fixes.

* A variable was not defined under certain autoconf-related conditions.
* inet_ntop header is required to be included when inet_ntop.c built.

16 years agoAuthor: Automatic source maintenance <squidadm@squid-cache.org>
Amos Jeffries [Sat, 21 Nov 2009 01:16:17 +0000 (18:16 -0700)] 
Author: Automatic source maintenance <squidadm@squid-cache.org>
SourceFormat Enforcement

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 21 Nov 2009 00:56:13 +0000 (13:56 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Style Makefile.am to use variable expansion instead of @ AUTOMAKEVAR

@AUTOMAKEVAR@ is troublesome when used in \ constructs as it may expand
to empty and the last line in a \ construct must not be empty or some
make versions will fail.

thankfully automake adds all variables for us, so using
is preferred.

Also:
 * Cleanup our big sed rule to avoid automake collisions
 * Odd REPL_POLICIES comment reference in repl/Makefile.am

16 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 20 Nov 2009 02:04:20 +0000 (19:04 -0700)] 
SourceFormat Enforcement

16 years agoSend correct Connection: header on intercepted replies
Amos Jeffries [Thu, 19 Nov 2009 11:34:54 +0000 (00:34 +1300)] 
Send correct Connection: header on intercepted replies

Intercepted apps are expecting Connection: back from the server not our
default Proxy-Connection:

16 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 15 Nov 2009 01:59:23 +0000 (18:59 -0700)] 
SourceFormat Enforcement

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sat, 14 Nov 2009 11:42:21 +0000 (00:42 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Portability fix: non-GNU diff is not guarranteed to handle the -q switch

16 years agoTestBed: Leave data from failed builds for debug. Fatal on sandpit failure
Amos Jeffries [Sat, 14 Nov 2009 11:38:47 +0000 (00:38 +1300)] 
TestBed: Leave data from failed builds for debug. Fatal on sandpit failure

16 years agoPolish rfc1738 library code. Add cppunit tests.
Amos Jeffries [Sat, 14 Nov 2009 11:28:42 +0000 (00:28 +1300)] 
Polish rfc1738 library code. Add cppunit tests.

 * Adds API header file for this library.
 * Reveals the do_escape API and creates meaningful flags for its API.
 * Adds documentation.
 * Convert original unit tests by Robert Collins to cppunit code
 * Add new tests based on work for Samba by Andrew Bartlett

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sat, 14 Nov 2009 04:33:35 +0000 (17:33 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Portability: __FUNCTION__ is not available on Soalris SunProCC

16 years agoUnitTests: check precompiler is sane with our wrapping style.
Amos Jeffries [Thu, 12 Nov 2009 14:07:21 +0000 (03:07 +1300)] 
UnitTests: check precompiler is sane with our wrapping style.

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Thu, 12 Nov 2009 13:46:50 +0000 (02:46 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Bug 2778: fix linking issues using SunCC

SunCC doesn't handle inline extern functions, and misses some duplicate
code detection features gcc has; as a result squid-specific operator new and
operator delete get defined multiple times and fail linking.

 * Implemented a compiler-specific workaround by de-inlining the code.
 * Improved Solaris OS detection logic.

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Thu, 12 Nov 2009 13:19:39 +0000 (02:19 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fixed linking convention mismatch in Asn ACL

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Thu, 12 Nov 2009 13:00:33 +0000 (02:00 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fixed and improved ACLTimeData::parse

16 years agoPolish several outstanding IPv6 settings
Amos Jeffries [Thu, 12 Nov 2009 12:49:09 +0000 (01:49 +1300)] 
Polish several outstanding IPv6 settings

 * Makes 'ipv6' magic monkier cover full IPv6 unicast space
   (previously just current active global)

 * Makes squid.conf default settings which require IPv6 content
   auto-enable/disable to match the IPv6 built support.

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Thu, 12 Nov 2009 12:27:22 +0000 (01:27 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
TestBed: Enable configure cache during test-suite runs

Added to test-build.sh the command-line switch --use-config-cache,
which causes the various unit test runs to share the config.cache.

Added --aggressively-use-config-cache test-builds.sh config-switch
which enables reusing config.cache across different testsuite runs.

The cache is NOT reused across different test-builds invocations.

16 years agoCleanup: shuffle new() hack for SGI into compat.
Amos Jeffries [Thu, 12 Nov 2009 12:12:34 +0000 (01:12 +1300)] 
Cleanup: shuffle new() hack for SGI into compat.

16 years agoBug 2617: Performance degradation during processing list of dstdomain ACL's
Amos Jeffries [Thu, 12 Nov 2009 12:04:08 +0000 (01:04 +1300)] 
Bug 2617: Performance degradation during processing list of dstdomain ACL's

Previously a raw-IP needed looking up every time a dstdomain entry was to
be checked against it. This caches the rDNS value across a checklist series.

Such that constructs like the following only do a single DNS check:

   acl foo dstdomain localhost local domain
   http_access allow foo foo !foo
   http_access deny foo

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 12 Nov 2009 11:57:44 +0000 (00:57 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Improve %nn parser

16 years agoMake cf_gen and cache_cf .h self-complete. Remove TestBed exception
Amos Jeffries [Thu, 12 Nov 2009 11:46:31 +0000 (00:46 +1300)] 
Make cf_gen and cache_cf .h self-complete. Remove TestBed exception

16 years agoBug 2628: Correct default PID location to PREFIX/var/run/squid.pid
Amos Jeffries [Thu, 12 Nov 2009 11:31:53 +0000 (00:31 +1300)] 
Bug 2628: Correct default PID location to PREFIX/var/run/squid.pid

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Wed, 11 Nov 2009 10:09:30 +0000 (23:09 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Generalize disk-io OS libraries into DISK_OS_LIBS

Used for disk-io related system libraries. Replaces older AIOLIB which
was unique to -lrt.

This solves dependency issues. We can not have dependencies on system
libraries as that fails for some sometimes..

16 years agoFixup some XTRA_LIBS merge errors
Henrik Nordstrom [Tue, 10 Nov 2009 11:58:25 +0000 (12:58 +0100)] 
Fixup some XTRA_LIBS merge errors

16 years agoUndo castings caught by gcc4.3, squid_ldap_auth in 3.1 is C not C++
Henrik Nordstrom [Tue, 10 Nov 2009 11:42:35 +0000 (12:42 +0100)] 
Undo castings caught by gcc4.3, squid_ldap_auth in 3.1 is C not C++

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Mon, 9 Nov 2009 22:09:56 +0000 (11:09 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Move XTRA_LIBS into LDADD rules to avoid bad dependency calculation

Having XTRA_LIBS in COMMON_LIBS is not a good idea as COMMON_LIBS is also
a dependency and should only contain our generated libs

16 years agoBug 2374: Support ICY / ICEcast / SHOUTcast streaming protocol.
Amos Jeffries [Wed, 4 Nov 2009 06:59:59 +0000 (19:59 +1300)] 
Bug 2374: Support ICY / ICEcast / SHOUTcast streaming protocol.

This makes Squid accept the ICY protocol replies and pass them on to the client.

16 years agoAuthor: Mikio Kishi <mkishi@104.net>
Amos Jeffries [Wed, 4 Nov 2009 06:17:08 +0000 (19:17 +1300)] 
Author: Mikio Kishi <mkishi@104.net>
Regression Fix: myip ACL not accepted in config.

16 years agoAuthor: Amos Jeffries + Henrik Nordstrom
Amos Jeffries [Wed, 4 Nov 2009 05:40:10 +0000 (18:40 +1300)] 
Author: Amos Jeffries + Henrik Nordstrom
Correct ESI library build options.

16 years agoBug 2795: pt 2: ARP lookups require IPv4-only socket on Linux/Solaris
Amos Jeffries [Wed, 4 Nov 2009 04:43:47 +0000 (17:43 +1300)] 
Bug 2795: pt 2: ARP lookups require IPv4-only socket on Linux/Solaris

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Wed, 4 Nov 2009 04:06:57 +0000 (17:06 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Various TPROXYv2 detection fixes

 * Typo in quoting of build option
 * Temporary patch forcing LINUX_TPROXY2 disabled if requirements unmet.
   will be redone later to properly wind up dependencies and enabling of LINUX_TPROXY2 & friends.

16 years agoTestBed: Add test layer for code with optional missing libraries
Amos Jeffries [Wed, 4 Nov 2009 03:45:10 +0000 (16:45 +1300)] 
TestBed: Add test layer for code with optional missing libraries

16 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 4 Nov 2009 01:47:56 +0000 (18:47 -0700)] 
SourceFormat Enforcement

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Tue, 3 Nov 2009 11:28:52 +0000 (00:28 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fixed OpenSolaris build issues.

16 years agoPrep for 3.0.STABLE20
Amos Jeffries [Thu, 29 Oct 2009 09:48:06 +0000 (22:48 +1300)] 
Prep for 3.0.STABLE20

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 29 Oct 2009 08:52:53 +0000 (21:52 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Use libcap functions instead of raw kernel interface

Rework the Linux capabilities code to use the more stable libcap interface
instead or raw kernel syscalls.

Take two, making sure there is a sufficiently recent libcap-2.09 or later.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 29 Oct 2009 08:41:32 +0000 (21:41 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
64-bit filesize issue in squidclient if trying to post a file > 2GB

16 years agoBug 2795: acl arp lookups including port
Amos Jeffries [Thu, 29 Oct 2009 08:22:17 +0000 (21:22 +1300)] 
Bug 2795: acl arp lookups including port

ARP lookup sockaddr need to only contain the fields being tested for.

16 years agoAuthor: Jakub Wilk <ubanus@users.sf.net>
Amos Jeffries [Thu, 29 Oct 2009 08:09:07 +0000 (21:09 +1300)] 
Author: Jakub Wilk <ubanus@users.sf.net>
Typo in squid.conf directiry/directory

Debian http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550402

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Thu, 29 Oct 2009 08:03:40 +0000 (21:03 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
TestBed: Implement parallelization on FreeBSD and parallelization override.

16 years agoFix some castings caught by gcc4.3
Amos Jeffries [Thu, 29 Oct 2009 07:58:04 +0000 (20:58 +1300)] 
Fix some castings caught by gcc4.3

16 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Thu, 29 Oct 2009 07:39:15 +0000 (20:39 +1300)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2791: assertion failed: MemBuf.cc:400: new_cap > (size_t) capacity

Limit input buffer reads to the avilable space.

16 years agoBug 2724: alLogformatHasIcapToken exposed with --enable-ecap
Amos Jeffries [Tue, 27 Oct 2009 05:56:45 +0000 (18:56 +1300)] 
Bug 2724: alLogformatHasIcapToken exposed with --enable-ecap

Wrapping logic error opened the initialization of this ICAP-only variable
to be set when eCAP-only builds enabled adaptation.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Tue, 27 Oct 2009 05:37:33 +0000 (18:37 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Generate squid.conf.default with just the configuration data & comments

forward-port from squid-2

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Tue, 27 Oct 2009 05:24:36 +0000 (18:24 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Polished ESI support

 * make libxml2 and libexpat parser modules pluggable (Henrik)
 * make libexpat and libxml2 tunable at configure time (Amos + Henrik)
 * Fix Bug 2794: ESI parsing fails on FreeBSD (Francesco Chemolli)
 * Enable ESI by default and auto-test

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Tue, 27 Oct 2009 04:56:49 +0000 (17:56 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Remove unused DEFAULT_MIB_PATH variable

16 years agoAccept libtool 2.x
Amos Jeffries [Tue, 27 Oct 2009 04:53:38 +0000 (17:53 +1300)] 
Accept libtool 2.x

16 years agoCleanup: debug display current IP of a set cleanly
Amos Jeffries [Fri, 2 Oct 2009 07:43:26 +0000 (20:43 +1300)] 
Cleanup: debug display current IP of a set cleanly

16 years ago3.1.0.14 SQUID_3_1_0_14
Amos Jeffries [Sun, 27 Sep 2009 03:27:42 +0000 (21:27 -0600)] 
3.1.0.14

16 years agoPrep for 3.1.0.14
Amos Jeffries [Sun, 27 Sep 2009 01:30:22 +0000 (14:30 +1300)] 
Prep for 3.1.0.14

16 years agoAuthor: Various Translators
Amos Jeffries [Sun, 27 Sep 2009 01:17:50 +0000 (14:17 +1300)] 
Author: Various Translators
Language Updates

16 years agoAuthor: Adrian Chadd <adrian@squid-cache.org>
Amos Jeffries [Sun, 27 Sep 2009 00:28:52 +0000 (13:28 +1300)] 
Author: Adrian Chadd <adrian@squid-cache.org>
A tproxy cache cluster (eg behind WCCPv2) can't peer.

  The issue stems from the forwarding logic creating source address spoofed
  sockets to destinations that are inside the cluster. Since the WCCPv2
  router won't redirect packets with an origin of the proxy MAC (at least for
  L2 peering), source spoofed packets go out and are routed normally. The
  packets back from the destination peer have a remote end of the spoofed IP,
  and are instead sent to teh original client rather than the proxy.

  The forwarding logic needs to be taught to optionally enable tproxy source
  spoofing on connections based on a peer flag.

  Just for completeness - tproxy'ed connections to a upstream or peer proxy
  which is -outside- of the WCCPv2 tproxy cluster work fine.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 27 Sep 2009 00:25:32 +0000 (13:25 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2773: Segfault in RFC2069 Digest authantication

Squid segfaulted if digest authentication is enabled an a client responded
with RFC2069 style response.

16 years agoBug 2777: Don't know how to make target `-lrt' on OpenSolaris
Amos Jeffries [Sun, 27 Sep 2009 00:23:57 +0000 (13:23 +1300)] 
Bug 2777: Don't know how to make target `-lrt' on OpenSolaris

16 years agoCorrect debugs on ACL IP parse
Amos Jeffries [Thu, 24 Sep 2009 10:00:04 +0000 (22:00 +1200)] 
Correct debugs on ACL IP parse

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 24 Sep 2009 09:57:31 +0000 (21:57 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2777: Various syntax warnings detected on OpenSolaris.

16 years agoInstall error page templates properly.
Amos Jeffries [Thu, 24 Sep 2009 09:55:18 +0000 (21:55 +1200)] 
Install error page templates properly.

The new install make code was failing to install the template/ directory
required for Squid to run.

It was also using the wrong variable to install translated content. Thus
installing the english template files in place of the translated ones.

16 years agoAuthor: Luigi Gangitano <luigi@debian.org>
Amos Jeffries [Thu, 24 Sep 2009 09:49:22 +0000 (21:49 +1200)] 
Author: Luigi Gangitano <luigi@debian.org>
Bug 2779: Support GNU/kFreeBSD

16 years agoAuthor: Peter Pramberger <peter@pramberger.at>
Amos Jeffries [Thu, 24 Sep 2009 09:41:19 +0000 (21:41 +1200)] 
Author: Peter Pramberger <peter@pramberger.at>
Bug 2761: Gopher and double HTTP response header

16 years agoMake Directory Listing template generic
Amos Jeffries [Thu, 24 Sep 2009 09:39:22 +0000 (21:39 +1200)] 
Make Directory Listing template generic

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 24 Sep 2009 09:37:50 +0000 (21:37 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Fixup uninstall squid.conf race by comparing with built files instead of .default

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 24 Sep 2009 09:33:48 +0000 (21:33 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Make ESI behave reasonable when built but not used

- Move (and extent/correct) hardcoded CC ignore to a new http_port
  option ignore-cc

- Limit Surrogate-Capability header addition to accelerated requests.

16 years agoAuthor: Philippe Lantin <plantin@cobaltgroup.com>
Amos Jeffries [Thu, 24 Sep 2009 09:21:33 +0000 (21:21 +1200)] 
Author: Philippe Lantin <plantin@cobaltgroup.com>
Bug 2624: Invalid response for IMS request

Squid forgot to verify the client provided If-Modified-Since when
seeing a 304 from upstream.

16 years agoRemove 'NAT' lookup restrictions from TPROXY lookups.
Amos Jeffries [Thu, 24 Sep 2009 09:19:33 +0000 (21:19 +1200)] 
Remove 'NAT' lookup restrictions from TPROXY lookups.

Now that TPROXY can do v6 we only need to protect the real NAT lookups
behind protocol family tests.

16 years agoBug 2483: bind() called before connect()
Amos Jeffries [Thu, 24 Sep 2009 09:16:35 +0000 (21:16 +1200)] 
Bug 2483: bind() called before connect()

Many of the occasions Squid was calling bind() are not required. This
reduces the bind() calls to only those which are actually needed.

Further optimization can be done in a future version to drop the paranoid
and slightly performance degrading safety checks for instances of Squid
binding ANYADDR without listener status, and attempting to bind NOADDR.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 24 Sep 2009 09:14:48 +0000 (21:14 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Split some asserts with side-effects

assert expressions should not have any noticeable sideffects or otherwise
be important for the program flow operation. If not unexpected results is
seen from compiling with -DNODEBUG

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 24 Sep 2009 09:13:25 +0000 (21:13 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Remove the suggesting hinting that one may end http_access with "allow all".

Just mentioning "deny all" is sufficient, and less risky..

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 24 Sep 2009 09:06:06 +0000 (21:06 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Correct a mistyped asser usin = instead of ==

in this case completely harmless but still wrong..

16 years agoBug 2215: config file line length limit
Amos Jeffries [Thu, 24 Sep 2009 08:47:07 +0000 (20:47 +1200)] 
Bug 2215: config file line length limit

16 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 17 Sep 2009 01:10:07 +0000 (19:10 -0600)] 
SourceFormat Enforcement

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Wed, 16 Sep 2009 08:43:41 +0000 (20:43 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2768: squid_ldap_group argument parsing error

-K is a boolean argument and should not eath the next argument as data.

16 years agoCorrect peer connect-fail-limit default of 10
Amos Jeffries [Wed, 16 Sep 2009 08:42:33 +0000 (20:42 +1200)] 
Correct peer connect-fail-limit default of 10

16 years agoPrevent squidclient sending two Accept: headers
Amos Jeffries [Wed, 16 Sep 2009 08:41:32 +0000 (20:41 +1200)] 
Prevent squidclient sending two Accept: headers

16 years agoBug 2722: http_port accel combined with CONNECT has bizarre behaviour
Amos Jeffries [Wed, 16 Sep 2009 08:40:42 +0000 (20:40 +1200)] 
Bug 2722: http_port accel combined with CONNECT has bizarre behaviour

16 years agoBug 2735: Incomplete -fhuge-objects detection
Amos Jeffries [Wed, 16 Sep 2009 08:38:57 +0000 (20:38 +1200)] 
Bug 2735: Incomplete -fhuge-objects detection

16 years agoAuthor: Henrik Nordstrom <hno@squid-cache.org>
Amos Jeffries [Wed, 16 Sep 2009 08:32:34 +0000 (20:32 +1200)] 
Author: Henrik Nordstrom <hno@squid-cache.org>
Bug 2510: digest_ldap_auth uses incorrect logic with TLS

16 years agoFix segfault parsing cache_dir with IOEngine= set
Amos Jeffries [Wed, 16 Sep 2009 08:31:38 +0000 (20:31 +1200)] 
Fix segfault parsing cache_dir with IOEngine= set

16 years agoAuto-detect the amount of TPROXY support available.
Amos Jeffries [Wed, 16 Sep 2009 08:21:27 +0000 (20:21 +1200)] 
Auto-detect the amount of TPROXY support available.

Uses the configured port address type to determine the level of testing
done. Systems with IPv4-only TPROXY (kernel 2.6.28 to 2.6.3*) will have
their ports reduced to IPv4-only, and those with IPv6 support will see
the port open as IPv6. This is done at run-time to cater for patched
kernels and kernel upgrades underneath Squid.

16 years agoBug 2570: wccp2 "Here I Am" announcements not sent
Amos Jeffries [Wed, 16 Sep 2009 08:18:07 +0000 (20:18 +1200)] 
Bug 2570: wccp2 "Here I Am" announcements not sent

There is a bit of re-work in configuration needed before this can go into
the storage config scope where it belongs. Temporary fix for 3.1.
see bug report for details.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 10 Sep 2009 03:23:40 +0000 (15:23 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Cleanup automake-foo a bit in errors/

16 years agoAuthor: Markus Moeller <huaraz@moeller.plus.com>
Henrik Nordstrom [Tue, 8 Sep 2009 21:04:04 +0000 (23:04 +0200)] 
Author: Markus Moeller <huaraz@moeller.plus.com>
Correct squid_kerb_auth compile/link flags to avoid bad runpath settings etc

16 years agoPrep for 3.0.STABLE19
Amos Jeffries [Sun, 6 Sep 2009 10:51:31 +0000 (22:51 +1200)] 
Prep for 3.0.STABLE19

16 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Thu, 3 Sep 2009 12:33:01 +0000 (00:33 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Fixed entry size calculation for the max-size cache_dir selection algorithms.

There were two sides of this bug:

In src/store_swapout.cc, we must create metadata earlier because
storeCreate() needs swap_hdr_sz. With swap_hdr_sz unknown at the time of
storeCreate(), the SwapDir selection algorithms may select SwapDirs that
should not really take the entry as the real storage size (with the
metadata swap_hdr_sz) would exceed the store slot size.

In src/store_dir.cc, we must add the metadata size before looking for
cache_dirs that accept objsize. Only the "new"
storeDirSelectSwapDirRoundRobin selection scheme was affected.