]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
15 years agoPolish ACL src/dst magic monikers and push upgrading to 'all'.
Amos Jeffries [Mon, 23 Nov 2009 01:43:45 +0000 (14:43 +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.

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

15 years agoFix distclean of test_tools.cc
Amos Jeffries [Mon, 23 Nov 2009 00:39:15 +0000 (13:39 +1300)] 
Fix distclean of test_tools.cc

15 years agoPrep for 3.1.0.15
Amos Jeffries [Mon, 23 Nov 2009 00:25:46 +0000 (13:25 +1300)] 
Prep for 3.1.0.15

15 years agoMake huge-objects macro only test for GCC
Amos Jeffries [Sun, 22 Nov 2009 23:19:33 +0000 (12:19 +1300)] 
Make huge-objects macro only test for GCC

15 years agoAuthor: Adrian Chadd + Tim Starling
Amos Jeffries [Sun, 22 Nov 2009 20:37:27 +0000 (09:37 +1300)] 
Author: Adrian Chadd + Tim Starling
Port from 2.7: Logging infrastructure updates.

 * Basic port of the Squid-2.7 modular logging code
 * Adds support for async daemon helpers.
 * One daemon helper for file IO is included.
 * Adds UDP stream logging facility. (Tim Starling)

Ported by Amos Jeffries.

15 years agoFreeBSD for some reason some times do not like our big cf.data script
Henrik Nordstrom [Sat, 21 Nov 2009 22:16:31 +0000 (23:16 +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)

15 years agoAuthor: Various Translators
Amos Jeffries [Sat, 21 Nov 2009 12:26:34 +0000 (01:26 +1300)] 
Author: Various Translators
Language Updates: Czech, Spanish, Swedish.

Thanks to Rosetta Project and some local user contributions.

15 years agoConvert Common.am snippet from @ variable style.
Amos Jeffries [Sat, 21 Nov 2009 05:29:45 +0000 (18:29 +1300)] 
Convert Common.am snippet from @ variable style.

15 years agoCorrect include for optional inet_ntop.h
Amos Jeffries [Sat, 21 Nov 2009 01:30:43 +0000 (14:30 +1300)] 
Correct include for optional inet_ntop.h

include/ is provided as a path by Squid.
wrap the header include to ensure an empty object when code inside is
not needed.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 21 Nov 2009 01:13:09 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoskip performing C libTrie unit tests
Francesco Chemolli [Fri, 20 Nov 2009 20:02:00 +0000 (21:02 +0100)] 
skip performing C libTrie unit tests

15 years agoPerform gcc-dependent tests only when using gcc.
Francesco Chemolli [Fri, 20 Nov 2009 20:00:06 +0000 (21:00 +0100)] 
Perform gcc-dependent tests only when using gcc.

15 years agoFixed some gcc-isms
Francesco Chemolli [Fri, 20 Nov 2009 15:10:06 +0000 (16:10 +0100)] 
Fixed some gcc-isms

15 years agoForward-ported CBDATA_DEBUG cpp fix from 3.1
Francesco Chemolli [Fri, 20 Nov 2009 13:59:35 +0000 (14:59 +0100)] 
Forward-ported CBDATA_DEBUG cpp fix from 3.1

15 years agoFix gcc-ism: asm syntax is gcc-specific
Francesco Chemolli [Fri, 20 Nov 2009 13:04:32 +0000 (14:04 +0100)] 
Fix gcc-ism: asm syntax is gcc-specific

15 years agoEui build fix
Francesco Chemolli [Fri, 20 Nov 2009 11:02:24 +0000 (12:02 +0100)] 
Eui build fix

15 years agoCorrect ICMP Checksum unit-tests.
Amos Jeffries [Fri, 20 Nov 2009 04:59:46 +0000 (17:59 +1300)] 
Correct ICMP Checksum unit-tests.

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

15 years agoFix testheaders.sh: it must build a true executable
Francesco Chemolli [Thu, 19 Nov 2009 23:32:21 +0000 (00:32 +0100)] 
Fix testheaders.sh: it must build a true executable

15 years agoFix testheaders.sh to work with non-gcc compilers
Francesco Chemolli [Thu, 19 Nov 2009 22:44:47 +0000 (23:44 +0100)] 
Fix testheaders.sh to work with non-gcc compilers

15 years agoFix handling of --disable-strict-error-checking.
Francesco Chemolli [Thu, 19 Nov 2009 22:41:55 +0000 (23:41 +0100)] 
Fix handling of --disable-strict-error-checking.
Add chmod to the list of searched-for programs during configuration.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 19 Nov 2009 01:12:49 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoFixed some cases of variable shadowing
Francesco Chemolli [Wed, 18 Nov 2009 16:31:08 +0000 (17:31 +0100)] 
Fixed some cases of variable shadowing

15 years agoFixed some cases of variable shadowing
Francesco Chemolli [Wed, 18 Nov 2009 15:48:32 +0000 (16:48 +0100)] 
Fixed some cases of variable shadowing

15 years agoFixed some cases of variable shadowing
Francesco Chemolli [Wed, 18 Nov 2009 12:37:56 +0000 (13:37 +0100)] 
Fixed some cases of variable shadowing

15 years agoFixed some cases of variable shadowing
Francesco Chemolli [Wed, 18 Nov 2009 08:54:02 +0000 (09:54 +0100)] 
Fixed some cases of variable shadowing
Fixed shadowing-related bug in http reply handling

15 years agoPartial Revert and replace revno10132
Amos Jeffries [Wed, 18 Nov 2009 04:06:43 +0000 (17:06 +1300)] 
Partial Revert and replace revno10132

15 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 18 Nov 2009 01:12:55 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoFixed some cases of variable shadowing
Francesco Chemolli [Wed, 18 Nov 2009 00:55:07 +0000 (01:55 +0100)] 
Fixed some cases of variable shadowing

15 years agoFix nis library detection.
Francesco Chemolli [Wed, 18 Nov 2009 00:26:30 +0000 (01:26 +0100)] 
Fix nis library detection.

15 years agoImproved detection of nis libraries.
Francesco Chemolli [Wed, 18 Nov 2009 00:17:51 +0000 (01:17 +0100)] 
Improved detection of nis libraries.

15 years agoFixed some cases of variable shadowing
Francesco Chemolli [Tue, 17 Nov 2009 16:56:02 +0000 (17:56 +0100)] 
Fixed some cases of variable shadowing

15 years agoFixed some cases of variable shadowing
Francesco Chemolli [Tue, 17 Nov 2009 15:44:34 +0000 (16:44 +0100)] 
Fixed some cases of variable shadowing

15 years agoImplemented --disable-strict-error-checking configure option
Francesco Chemolli [Tue, 17 Nov 2009 15:43:05 +0000 (16:43 +0100)] 
Implemented --disable-strict-error-checking configure option

15 years agoFixed some cases of variable shadowing
Francesco Chemolli [Tue, 17 Nov 2009 11:10:38 +0000 (12:10 +0100)] 
Fixed some cases of variable shadowing

15 years agoFixed some cases of linkage type mismatch and parameter shadowing
Francesco Chemolli [Tue, 17 Nov 2009 10:07:53 +0000 (11:07 +0100)] 
Fixed some cases of linkage type mismatch and parameter shadowing

15 years agoImproved some libraries detection logic
Francesco Chemolli [Tue, 17 Nov 2009 09:00:52 +0000 (10:00 +0100)] 
Improved some libraries detection logic

autoconf AC_SEARCH_LIBS offers more functionality than AC_CHECK_LIB

15 years agoSend correct Connection: header on intercepted replies
Amos Jeffries [Tue, 17 Nov 2009 05:43:25 +0000 (18:43 +1300)] 
Send correct Connection: header on intercepted replies

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

15 years agoDnsserver fixes.
Francesco Chemolli [Mon, 16 Nov 2009 11:01:12 +0000 (12:01 +0100)] 
Dnsserver fixes.

A variable was not defined under certain autoconf-related conditions.

15 years agoEnable full RFC1738 tests
Amos Jeffries [Sat, 14 Nov 2009 10:48:39 +0000 (23:48 +1300)] 
Enable full RFC1738 tests

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 14 Nov 2009 01:12:55 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoPortability fix: define non-macro variant of debug.
Francesco Chemolli [Fri, 13 Nov 2009 16:12:31 +0000 (17:12 +0100)] 
Portability fix: define non-macro variant of debug.

15 years agoPortability fix: non-GNU diff is not guarranteed to handle the -q switch
Francesco Chemolli [Fri, 13 Nov 2009 13:12:57 +0000 (14:12 +0100)] 
Portability fix: non-GNU diff is not guarranteed to handle the -q switch

15 years agoportability fix: __func__ is not always available on SunPro CC
Francesco Chemolli [Fri, 13 Nov 2009 12:44:10 +0000 (13:44 +0100)] 
portability fix: __func__ is not always available on SunPro CC

15 years agoAuthor: Markus Moeller huaraz@moeller.plus.com>
Francesco Chemolli [Fri, 13 Nov 2009 10:28:30 +0000 (11:28 +0100)] 
Author: Markus Moeller huaraz@moeller.plus.com>
Improve squid_kerb_auth portability

15 years agoCompat: __FUNCTION__ not available on SunStudio
Amos Jeffries [Fri, 13 Nov 2009 01:43:54 +0000 (14:43 +1300)] 
Compat: __FUNCTION__ not available on SunStudio

15 years agoWhen function always not known we can omit it fully.
Amos Jeffries [Fri, 13 Nov 2009 00:36:13 +0000 (13:36 +1300)] 
When function always not known we can omit it fully.

15 years agoMake cf_gen and cache_cf .h self-complete. Remove TestBed exception
Amos Jeffries [Thu, 12 Nov 2009 03:10:26 +0000 (16:10 +1300)] 
Make cf_gen and cache_cf .h self-complete. Remove TestBed exception

15 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 12 Nov 2009 01:12:50 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoBug 2628: make PID file PREFIX/var/run/squid.pid the basic default
Amos Jeffries [Wed, 11 Nov 2009 11:55:38 +0000 (00:55 +1300)] 
Bug 2628: make PID file PREFIX/var/run/squid.pid the basic default

15 years agoStyle Makefile.am to use instead of @AUTOMAKEVAR
Henrik Nordstrom [Wed, 11 Nov 2009 11:44:58 +0000 (12:44 +0100)] 
Style Makefile.am to use  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.

15 years agoTestBed: Leave data from failed builds for debug. Fatal on sandpit failure
Amos Jeffries [Wed, 11 Nov 2009 10:56:10 +0000 (23:56 +1300)] 
TestBed: Leave data from failed builds for debug. Fatal on sandpit failure

15 years agoOdd REPL_POLICIES comment reference in repl/Makefile.am, removed in preparation for...
Henrik Nordstrom [Wed, 11 Nov 2009 10:33:29 +0000 (11:33 +0100)] 
Odd REPL_POLICIES comment reference in repl/Makefile.am, removed in preparation for major @ cleanuo

15 years agoCleanup our big sed rule to avoid automake collisions
Henrik Nordstrom [Wed, 11 Nov 2009 10:21:48 +0000 (11:21 +0100)] 
Cleanup our big sed rule to avoid automake collisions

15 years agosmb_auth missing include rfc1738.h
Henrik Nordstrom [Wed, 11 Nov 2009 00:03:54 +0000 (01:03 +0100)] 
smb_auth missing include rfc1738.h

15 years agoGeneralize disk-io OS libraries into DISK_OS_LIBS
Henrik Nordstrom [Tue, 10 Nov 2009 23:07:28 +0000 (00:07 +0100)] 
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..

15 years agoRevert some Opensolaris changes, support SunOS again.
Francesco Chemolli [Tue, 10 Nov 2009 14:44:34 +0000 (15:44 +0100)] 
Revert some Opensolaris changes, support SunOS again.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 10 Nov 2009 01:12:47 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoPolish rfc1738 library code. Add cppunit tests.
Amos Jeffries [Mon, 9 Nov 2009 11:25:11 +0000 (00:25 +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

15 years agoUnitTests: check precompiler is sane with our wrapping style.
Amos Jeffries [Mon, 9 Nov 2009 09:27:59 +0000 (22:27 +1300)] 
UnitTests: check precompiler is sane with our wrapping style.

15 years agoAuthor: Various Translators
Amos Jeffries [Sat, 7 Nov 2009 15:51:00 +0000 (04:51 +1300)] 
Author: Various Translators
Language Updates

15 years agoConvert IpIntercept to #if syntax
Amos Jeffries [Sat, 7 Nov 2009 15:13:48 +0000 (04:13 +1300)] 
Convert IpIntercept to #if syntax

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 7 Nov 2009 01:14:07 +0000 (18:14 -0700)] 
SourceFormat Enforcement

15 years agoFix several casting issues detected by FreeBSD.
Amos Jeffries [Fri, 6 Nov 2009 23:47:19 +0000 (12:47 +1300)] 
Fix several casting issues detected by FreeBSD.

15 years agoBug 2778: fix linking issues using SunCC
Francesco Chemolli [Fri, 6 Nov 2009 16:22:16 +0000 (17:22 +0100)] 
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 (and dropped _SQUID_SUNOS_ which was not
used anyways)

15 years agoFixed linking convention mismatch in Asn ACL
Francesco Chemolli [Fri, 6 Nov 2009 16:12:48 +0000 (17:12 +0100)] 
Fixed linking convention mismatch in Asn ACL

15 years agoFixed symbol name clash in basic_ldap_auth.cc.
Francesco Chemolli [Fri, 6 Nov 2009 15:27:51 +0000 (16:27 +0100)] 
Fixed symbol name clash in basic_ldap_auth.cc.

15 years agoAdded --aggressively-use-config-cache test-builds.sh config-switch
Francesco Chemolli [Fri, 6 Nov 2009 14:59:29 +0000 (15:59 +0100)] 
Added --aggressively-use-config-cache test-builds.sh config-switch
which enables reusing config.cache across different testsuite runs.

15 years agoFixed and improved ACLTimeData::parse
Francesco Chemolli [Fri, 6 Nov 2009 13:28:10 +0000 (14:28 +0100)] 
Fixed and improved ACLTimeData::parse

15 years agoPolish several outstanding IPv6 settings
Amos Jeffries [Fri, 6 Nov 2009 11:58:03 +0000 (00:58 +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.

15 years agoXTRA_LIBS change had a \ too many
Henrik Nordstrom [Fri, 6 Nov 2009 02:20:21 +0000 (03:20 +0100)] 
XTRA_LIBS change had a \ too many

15 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 6 Nov 2009 01:12:50 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoMove XTRA_LIBS into LDADD rules to avoid bad dependency calculation
Henrik Nordstrom [Thu, 5 Nov 2009 23:56:46 +0000 (00:56 +0100)] 
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

15 years agoFix kerberos helper: c++ is stricter than c in what is an allowable array index type.
Francesco Chemolli [Thu, 5 Nov 2009 17:23:50 +0000 (18:23 +0100)] 
Fix kerberos helper: c++ is stricter than c in what is an allowable array index type.

15 years agoCompile fix: add libLtdl include
Francesco Chemolli [Thu, 5 Nov 2009 17:01:13 +0000 (18:01 +0100)] 
Compile fix: add libLtdl include

15 years agoEnable configure cache during test-suite runs
Francesco Chemolli [Thu, 5 Nov 2009 16:25:32 +0000 (17:25 +0100)] 
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.
The cache is NOT reused across different test-builds invocations.

15 years agoAuthor: Markus Moeller huaraz@moeller.plus.com>
Amos Jeffries [Thu, 5 Nov 2009 13:15:08 +0000 (02:15 +1300)] 
Author: Markus Moeller huaraz@moeller.plus.com>
Update squid_kerb_auth helper

 * remove sub configure again (too many issues)

Also, by Amso Jeffries
 * naming update to negotiate_kerberos_auth
 * polished helper detection rules in configure

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

15 years agoMerged from trunk
Amos Jeffries [Thu, 5 Nov 2009 09:49:21 +0000 (22:49 +1300)] 
Merged from trunk

15 years agoAnother regression in %nn cleanup
Henrik Nordstrom [Thu, 5 Nov 2009 08:06:19 +0000 (09:06 +0100)] 
Another regression in %nn cleanup

15 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 5 Nov 2009 01:12:55 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoPortability fix: __FUNCTION__ is not available on all preprocessors.
Francesco Chemolli [Wed, 4 Nov 2009 16:20:53 +0000 (17:20 +0100)] 
Portability fix: __FUNCTION__ is not available on all preprocessors.

15 years agoBug 2617: Performance degradation during processing list of dstdomain ACL's
Amos Jeffries [Wed, 4 Nov 2009 12:08:08 +0000 (01:08 +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

15 years agoregression in %nn change, failed to handle trailing %
Henrik Nordstrom [Wed, 4 Nov 2009 08:13:23 +0000 (09:13 +0100)] 
regression in %nn change, failed to handle trailing %

15 years agoESI: check correct options.
Amos Jeffries [Wed, 4 Nov 2009 05:07:56 +0000 (18:07 +1300)] 
ESI: check correct options.

15 years agoImprove %nn parser
Henrik Nordstrom [Wed, 4 Nov 2009 02:21:25 +0000 (03:21 +0100)] 
Improve %nn parser

15 years agoUse gcc/g++ -pipe if it is available and it works.
Francesco Chemolli [Tue, 3 Nov 2009 13:59:01 +0000 (14:59 +0100)] 
Use gcc/g++ -pipe if it is available and it works.

15 years agoICY: Prevent de-chunking in non-HTTP replies.
Amos Jeffries [Tue, 3 Nov 2009 10:01:15 +0000 (23:01 +1300)] 
ICY: Prevent de-chunking in non-HTTP replies.

Fixes the unexpected but possible case of ICY protocol with a TE header.

15 years agoAuthor: Mikio Kishi <mkishi@104.net>
Amos Jeffries [Tue, 3 Nov 2009 09:32:08 +0000 (22:32 +1300)] 
Author: Mikio Kishi <mkishi@104.net>
Regression Fix: myip ACL not accepted in config.

15 years agoFix HttpReply unit-test in the right place
Amos Jeffries [Tue, 3 Nov 2009 07:57:33 +0000 (20:57 +1300)] 
Fix HttpReply unit-test in the right place

15 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 3 Nov 2009 01:12:56 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoRename --without-libexpat back to --without-expat. The expat project goes under the...
Henrik Nordstrom [Mon, 2 Nov 2009 21:29:40 +0000 (22:29 +0100)] 
Rename --without-libexpat back to --without-expat. The expat project goes under the name expat

15 years agoFixed OpenSolaris build issues.
Francesco Chemolli [Mon, 2 Nov 2009 15:06:40 +0000 (16:06 +0100)] 
Fixed OpenSolaris build issues.

15 years agoHTTP unit-test: reset test parser if protocol has changed.
Amos Jeffries [Mon, 2 Nov 2009 11:25:58 +0000 (00:25 +1300)] 
HTTP unit-test: reset test parser if protocol has changed.

15 years agoBug 2374: Support ICY / ICEcast / SHOUTcast streaming protocol.
Amos Jeffries [Mon, 2 Nov 2009 04:43:19 +0000 (17:43 +1300)] 
Bug 2374: Support ICY / ICEcast / SHOUTcast streaming protocol.

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

15 years agoFix constructor issues uncovered by CentOS
Amos Jeffries [Sun, 1 Nov 2009 10:49:33 +0000 (23:49 +1300)] 
Fix constructor issues uncovered by CentOS

15 years agoFix compiler warnings in new acl random
Henrik Nordstrom [Sun, 1 Nov 2009 10:45:26 +0000 (11:45 +0100)] 
Fix compiler warnings in new acl random

15 years agoBug 1239: Much needed ACL type random
Amos Jeffries [Sun, 1 Nov 2009 07:48:25 +0000 (20:48 +1300)] 
Bug 1239: Much needed ACL type random

15 years agoMerge from trunk
Amos Jeffries [Sun, 1 Nov 2009 01:20:30 +0000 (14:20 +1300)] 
Merge from trunk

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 1 Nov 2009 00:13:06 +0000 (18:13 -0600)] 
SourceFormat Enforcement