]>
git.ipfire.org Git - thirdparty/squid.git/log
Francesco Chemolli [Mon, 20 Aug 2012 16:35:27 +0000 (18:35 +0200)]
moved mem.cc prototypes to Mem.h
Francesco Chemolli [Mon, 20 Aug 2012 15:08:33 +0000 (17:08 +0200)]
moved stat.cc prototypes to stat.h
Francesco Chemolli [Mon, 20 Aug 2012 14:37:50 +0000 (16:37 +0200)]
Moved url.cc-related prototypes to URL.h
Francesco Chemolli [Mon, 20 Aug 2012 14:08:35 +0000 (16:08 +0200)]
moved tools.cc-related prototypes to tools.h
Francesco Chemolli [Mon, 20 Aug 2012 12:28:41 +0000 (14:28 +0200)]
Moved carp prototypes to carp.h
Francesco Chemolli [Mon, 20 Aug 2012 12:07:30 +0000 (14:07 +0200)]
Moved peer userhash prototypes to peer_userhash.h
Francesco Chemolli [Mon, 20 Aug 2012 11:50:25 +0000 (13:50 +0200)]
Moved peer sourcehash functions to peer_sourcehash.h
Francesco Chemolli [Mon, 20 Aug 2012 11:39:19 +0000 (13:39 +0200)]
Removed leakfinder prototypes from protos.h
Francesco Chemolli [Mon, 20 Aug 2012 10:50:41 +0000 (12:50 +0200)]
Moved Internal functions to internal.h
Francesco Chemolli [Sun, 19 Aug 2012 21:32:32 +0000 (23:32 +0200)]
Moved Cache Digest functions to CacheDigest.h
Francesco Chemolli [Sun, 19 Aug 2012 21:02:43 +0000 (23:02 +0200)]
Moved varyEvaluateMatch to client_side.h
Francesco Chemolli [Sun, 19 Aug 2012 20:52:29 +0000 (22:52 +0200)]
Moved external ACL protos from protos.h to ExternalACL.h
Francesco Chemolli [Sun, 19 Aug 2012 20:35:38 +0000 (22:35 +0200)]
Moved more WCCPv2 functions into wccp2.h
Francesco Chemolli [Fri, 17 Aug 2012 15:29:58 +0000 (17:29 +0200)]
Moved refresh prototypes from protos.h to refresh.h
Francesco Chemolli [Fri, 17 Aug 2012 15:07:42 +0000 (17:07 +0200)]
Added missing includes in ssl_crtd.
Francesco Chemolli [Fri, 17 Aug 2012 13:55:33 +0000 (15:55 +0200)]
Moved peer_digest prototypes from protos.h to PeerDigest.h
Francesco Chemolli [Fri, 17 Aug 2012 13:48:39 +0000 (15:48 +0200)]
Added new header files to Makefile.am
Francesco Chemolli [Fri, 17 Aug 2012 13:33:09 +0000 (15:33 +0200)]
Moved neighbors prototypes from protos.h to neighbors.h
Francesco Chemolli [Fri, 17 Aug 2012 13:05:51 +0000 (15:05 +0200)]
Moved wccp2 prototypes from protos.h to wccp2.h
Francesco Chemolli [Fri, 17 Aug 2012 12:44:31 +0000 (14:44 +0200)]
Moved wccp prototypes from protos.h to wccp.h
Francesco Chemolli [Fri, 17 Aug 2012 12:13:41 +0000 (14:13 +0200)]
Moved HttpHeader prototypes from protos.h to HttpHeader.h
Francesco Chemolli [Fri, 17 Aug 2012 11:47:23 +0000 (13:47 +0200)]
Moved HttpHdrCc prototypes from protos.h to HttpHdrCc.h
Francesco Chemolli [Fri, 17 Aug 2012 11:36:25 +0000 (13:36 +0200)]
Moved gopher prototypes from protos.h to gopher.h
Francesco Chemolli [Fri, 17 Aug 2012 09:17:46 +0000 (11:17 +0200)]
Moved fqdncache prototypes from protos.h to fqdncache.h
Francesco Chemolli [Thu, 16 Aug 2012 14:33:58 +0000 (16:33 +0200)]
Moved wordlist prototypes from protos.h to wordlist.h
Francesco Chemolli [Thu, 16 Aug 2012 14:33:37 +0000 (16:33 +0200)]
Merged from trunk
Amos Jeffries [Thu, 16 Aug 2012 07:11:05 +0000 (01:11 -0600)]
Fix ip/Intercept header ordering and documentation
Francesco Chemolli [Wed, 15 Aug 2012 20:13:57 +0000 (22:13 +0200)]
netfilter_ipv4.h requires including limits.h first. Added.
Francesco Chemolli [Wed, 15 Aug 2012 17:01:06 +0000 (19:01 +0200)]
Added missing include in mem_hdr_test
Francesco Chemolli [Wed, 15 Aug 2012 15:17:32 +0000 (17:17 +0200)]
Add missing includes
Francesco Chemolli [Wed, 15 Aug 2012 14:58:11 +0000 (16:58 +0200)]
Make mk-globals-c.awk more permissive on the input it accepts
Amos Jeffries [Wed, 15 Aug 2012 11:18:28 +0000 (23:18 +1200)]
Release notes: fix wrong link to Translations
Automatic source maintenance [Wed, 15 Aug 2012 00:13:13 +0000 (18:13 -0600)]
SourceFormat Enforcement
Amos Jeffries [Tue, 14 Aug 2012 23:37:24 +0000 (17:37 -0600)]
Prep for 3.2.1
Amos Jeffries [Tue, 14 Aug 2012 22:51:53 +0000 (16:51 -0600)]
Docs: update configure libcap messages to say 2.09+ required
Amos Jeffries [Tue, 14 Aug 2012 12:04:16 +0000 (06:04 -0600)]
Remove --enable-ntlm-fail-open
This feature has been half missing for quite some time (10 years).
The SMB helper sends the LD code back to Squid when the directive is
compiled in, but there is no Squid code handling such responses, back as far
as squid-2.
Francesco Chemolli [Tue, 14 Aug 2012 11:53:07 +0000 (13:53 +0200)]
Removed squid-old.h
Amos Jeffries [Mon, 13 Aug 2012 07:24:50 +0000 (01:24 -0600)]
Bug 3610: peername_regex ACL
Automatic source maintenance [Mon, 13 Aug 2012 00:15:09 +0000 (18:15 -0600)]
SourceFormat Enforcement
Amos Jeffries [Sun, 12 Aug 2012 08:57:49 +0000 (02:57 -0600)]
Bug 3605: memory leak in peer selection
Amos Jeffries [Sat, 11 Aug 2012 07:01:15 +0000 (01:01 -0600)]
Portability: squid provides strtoll()
Amos Jeffries [Sat, 11 Aug 2012 06:06:34 +0000 (00:06 -0600)]
Fix bashisms in bootstrap.sh
Amos Jeffries [Sat, 11 Aug 2012 04:42:17 +0000 (22:42 -0600)]
FreeBSD 7: fix compile warnings in unit tests
Amos Jeffries [Sat, 11 Aug 2012 03:21:14 +0000 (21:21 -0600)]
MacOS: fix AddrInfo default flags
Amos Jeffries [Sat, 11 Aug 2012 02:04:03 +0000 (20:04 -0600)]
shuffel MEMPROXY macros for better CacheMgr reporting names
Automatic source maintenance [Sat, 11 Aug 2012 00:14:47 +0000 (18:14 -0600)]
SourceFormat Enforcement
Amos Jeffries [Fri, 10 Aug 2012 08:09:43 +0000 (02:09 -0600)]
allow for _SQUID_EXTERNNEW_ predefine
Francesco Chemolli [Fri, 10 Aug 2012 06:56:49 +0000 (08:56 +0200)]
SourceLayout: introduce Fs::Ufs namespace, split ufscommon, store_dir_ufs and store_io_ufs
Amos Jeffries [Fri, 10 Aug 2012 05:56:58 +0000 (23:56 -0600)]
Release Notes: updates after STRICT_ORIGINAL_DST changes
Amos Jeffries [Fri, 10 Aug 2012 02:41:14 +0000 (14:41 +1200)]
Bug 3478: workaround: better default handling without -DSTRICT_ORIGINAL_DST
This extends the -DSTRICT_ORIGINAL_DST compile-time flag to include the
logics listing ORIGINAL_DST as first preferred destination.
Which makes ORIGINAL_DST a swap-in replacement for DIRECT and enables
never_direct, always_direct, prefer_direct configuration to apply.
Amos Jeffries [Fri, 10 Aug 2012 01:12:48 +0000 (13:12 +1200)]
MacOS: warning: 'gnu_inline' attribute directive ignored
Amos Jeffries [Fri, 10 Aug 2012 00:38:14 +0000 (12:38 +1200)]
MacOS: detect glibtool and glibtoolize when bootstrapping
Automatic source maintenance [Fri, 10 Aug 2012 00:12:23 +0000 (18:12 -0600)]
SourceFormat Enforcement
Francesco Chemolli [Thu, 9 Aug 2012 15:01:02 +0000 (17:01 +0200)]
Convert all yet-unconverted stub files to the STUB API.
Francesco Chemolli [Thu, 9 Aug 2012 14:59:30 +0000 (16:59 +0200)]
Merged from trunk
Amos Jeffries [Thu, 9 Aug 2012 10:38:38 +0000 (22:38 +1200)]
Fix missing include for leakcheck.h
Amos Jeffries [Thu, 9 Aug 2012 10:32:57 +0000 (22:32 +1200)]
Portability: shuffle out the last useful macros from squid-old.h
Automatic source maintenance [Thu, 9 Aug 2012 00:12:47 +0000 (18:12 -0600)]
SourceFormat Enforcement
Francesco Chemolli [Wed, 8 Aug 2012 12:14:34 +0000 (14:14 +0200)]
implemented STUB_RETVAL_NOP
Converted stub_tools to stup API.
Francesco Chemolli [Wed, 8 Aug 2012 09:24:40 +0000 (11:24 +0200)]
converted stub_StatHist.cc stub_main_cc.cc stub_mem.cc stub_store_rebuild.cc to stub API
Amos Jeffries [Wed, 8 Aug 2012 08:15:28 +0000 (02:15 -0600)]
Portability: CMSG_*() macro API substitute
Amos Jeffries [Wed, 8 Aug 2012 08:01:46 +0000 (20:01 +1200)]
Windows: MinGW provides truncate()/ftruncate()
Francesco Chemolli [Wed, 8 Aug 2012 07:54:29 +0000 (09:54 +0200)]
Fixed formatting of stub_libcomm.cc
Francesco Chemolli [Wed, 8 Aug 2012 07:39:35 +0000 (01:39 -0600)]
Windows: fix winsock detection capabilities
Francesco Chemolli [Wed, 8 Aug 2012 07:35:10 +0000 (09:35 +0200)]
Moved to STUB API stubs for DelayId.cc, HelperChildconfig.cc, debug.cc
Amos Jeffries [Wed, 8 Aug 2012 07:21:13 +0000 (19:21 +1200)]
Windows: provide POSIX ABI wrapper for mkdir()
Francesco Chemolli [Tue, 7 Aug 2012 15:58:34 +0000 (17:58 +0200)]
Merged from trunk
Francesco Chemolli [Tue, 7 Aug 2012 15:58:08 +0000 (17:58 +0200)]
Removed dead code from stub_cache_cf.cc and stub_client_side_request.cc
Francesco Chemolli [Tue, 7 Aug 2012 15:12:08 +0000 (17:12 +0200)]
Moved CBDATA_CLASS declarations to the end of classes as per coding guidelines.
Francesco Chemolli [Mon, 6 Aug 2012 17:41:08 +0000 (19:41 +0200)]
Changed all level-0 debugs messages to use the DBG_CRITICAL definition.
Francesco Chemolli [Mon, 6 Aug 2012 17:21:57 +0000 (19:21 +0200)]
Changed all level-1 debugs messages to use DBG_IMPORTANT definition.
Francesco Chemolli [Mon, 6 Aug 2012 15:38:12 +0000 (17:38 +0200)]
Improve support for clang compilers
clang++ doesn't support c++ variable arrays for non-pod types.
Change variable arrays to dynamically-allocated arrays, Ipc::QueueReaders, Ipc::StoreMap and Ipc::Mem::PageStack
Amos Jeffries [Sun, 5 Aug 2012 11:11:02 +0000 (23:11 +1200)]
Release notes: use SPONSORS (no file type) as the published file name
SPONSORS.txt is the website published filename, but it seems some distros
were using the source code file name.
Use SPONSORS.ist for the coded listings instead.
Amos Jeffries [Thu, 2 Aug 2012 12:03:50 +0000 (06:03 -0600)]
Release Notes: NCSA helper algorithm limits
Amos Jeffries [Thu, 2 Aug 2012 11:55:39 +0000 (05:55 -0600)]
Prep for 3.2.0.19
Automatic source maintenance [Thu, 2 Aug 2012 00:12:45 +0000 (18:12 -0600)]
SourceFormat Enforcement
Amos Jeffries [Wed, 1 Aug 2012 23:52:59 +0000 (11:52 +1200)]
Stub updates after bump-server-first changes
Amos Jeffries [Wed, 1 Aug 2012 12:51:45 +0000 (00:51 +1200)]
More GCC 4.2 dependency fixes
Amos Jeffries [Wed, 1 Aug 2012 12:37:25 +0000 (00:37 +1200)]
Release notes: build SPONSORS.txt in bootstrap instead of automake
Amos Jeffries [Wed, 1 Aug 2012 11:54:23 +0000 (23:54 +1200)]
Revert r12231 - seems to break SMP cache
Amos Jeffries [Wed, 1 Aug 2012 07:55:18 +0000 (19:55 +1200)]
Skip Failure Ratio calculations entirely when ICP is disabled.
Also, mention ICP in the logged error message. unqualified 'HIT' confuses
people (self included) more familiar with the HTTP type of HIT responses.
Amos Jeffries [Wed, 1 Aug 2012 07:01:58 +0000 (19:01 +1200)]
Support -DFAILURE_MODE_TIME=n compiler flag
This value determins at compile-time how long Squid spends in HIT-only
mode after the failure ratio goes over 1.0. see checkFailureRatio() in
src/client_side_request.cc for details on the ratio.
This flag is supported to remove the need for patching when alteration
is required.
Amos Jeffries [Wed, 1 Aug 2012 06:40:26 +0000 (18:40 +1200)]
Add copyright attributions for SN.png and errorpage.css
Francesco Chemolli [Tue, 31 Jul 2012 09:51:38 +0000 (11:51 +0200)]
Removed some duplicates and fixed formatting in CONTRIBUTORS list
Automatic source maintenance [Tue, 31 Jul 2012 00:13:24 +0000 (18:13 -0600)]
SourceFormat Enforcement
Amos Jeffries [Mon, 30 Jul 2012 09:58:32 +0000 (03:58 -0600)]
Release notes: typo
Amos Jeffries [Mon, 30 Jul 2012 08:49:59 +0000 (02:49 -0600)]
GCC 4.2 dependencies
Automatic source maintenance [Mon, 30 Jul 2012 00:13:12 +0000 (18:13 -0600)]
SourceFormat Enforcement
Amos Jeffries [Sun, 29 Jul 2012 08:15:17 +0000 (02:15 -0600)]
Bug 3478: Allow peer selection
This re-enables Squid peer selection algorithms for intercepted
traffic which has failed Host header verification.
When host verification fails Squid will use, in order of preference:
* an already PINNED server connection
* the client ORIGINAL_DST details
* cache_peer as chosen by selection algorithms
NOTE: whenever DIRECT is selected by routing algorithms the
ORIGINAL_DST is used instead.
Peer selection results are updated to display PINNED and
ORIGINAL_DST alongside DIRECT and cache_peer.
SECURITY NOTE:
At this point Squid will pass the request to cache_peer using the
non-trusted Host header in their URLs. Meaning that the peers
may still be poisoned by CVE-2009-0801 attacks. Only the initial
intercepting proxy is protected.
Full protection against CVE-2009-0801 can be enjoyed by building
Squid with the -DSTRICT_HOST_VERIFY compile-time flag. This will
make the peers unreachable for intercepted traffic where the
Host verification has failed.
Amos Jeffries [Sun, 29 Jul 2012 06:10:44 +0000 (18:10 +1200)]
Bug 3580: IDENT request makes squid crash
Amos Jeffries [Sun, 29 Jul 2012 04:33:44 +0000 (22:33 -0600)]
Release Notes: update SPONSORS list
The SPONSORS file is supposed to:
* list Sponsors who paid for significant developments in the squid code,
donated hardware for devleopment etc.
* exclude cash donations to the project (only cash to a developer for
specific work)
* in an ordered list broken down in reverse-chronological order of the
latest release they sponsored anything.
For simplicity of maintenance I'm adding @Squid-X.Y labels at the
boundaries for the bzr copy. They should be stripped out automatically
by the "make dist" process for release packaging.
Amos Jeffries [Sat, 28 Jul 2012 06:02:45 +0000 (00:02 -0600)]
Release Notes: update CONTRIBUTORS to match patch authors list
Henrik Nordstrom [Fri, 27 Jul 2012 23:02:09 +0000 (01:02 +0200)]
Adjust for GCC-4.7
Christos Tsantilas [Thu, 26 Jul 2012 17:36:58 +0000 (20:36 +0300)]
Merged Postfix-Prefix branch: Fix decrement operator in hash4 function(lib/hash.c)
The "Postfix-Prefix" patch code is not equivalent with the replaced code inside
hash4 function.
Robert Collins [Thu, 26 Jul 2012 08:40:22 +0000 (20:40 +1200)]
Consolidate external_acl_form config dumping a bit and add missing percent dumper.
Alex Rousskov [Wed, 25 Jul 2012 23:57:51 +0000 (17:57 -0600)]
Allow a ufs cache_dir entry to coexist with a shared memory cache entry
instead of being released when it becomes idle.
The original boolean version of the StoreController::dereference() code
(r11730) was written to make sure that idle unlocked local store_table entries
are released if nobody needs them (to avoid creating inconsistencies with
shared caches that could be modified in a different process).
Then, in r11786, we realized that the original code was destroying non-shared
memory cache entries if there were no cache_dirs to vote for keeping them in
store_table. I fixed that by changing the StoreController::dereference() logic
from "remove if nobody needs it" to "remove if somebody objects to keeping
it". That solved the problem at hand, but prohibited an entry to exist in
a non-shared cache_dir and in a shared memory cache at the same time.
We now go back to the original "remove if nobody needs it" design but also
give non-shared memory cache a vote so that it can protect idle non-shared
memory cached entries from being released if there are no cache_dirs to vote
for them.
Amos Jeffries [Wed, 25 Jul 2012 22:29:21 +0000 (10:29 +1200)]
Bug 3593: socket failure: Address family not supported by protocol
Francesco Chemolli [Wed, 25 Jul 2012 12:31:05 +0000 (14:31 +0200)]
Remove unnecessary todo marker in stub_debug.cc
Francesco Chemolli [Tue, 24 Jul 2012 08:59:54 +0000 (10:59 +0200)]
Merged Postfix-Prefix branch: refactor inc/decrement operators from postfix to prefix form.
Francesco Chemolli [Mon, 23 Jul 2012 19:37:47 +0000 (21:37 +0200)]
Changed some increment/decrement operators from postfix to prefix form.