]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
14 years ago3.0.STABLE23 SQUID_3_0_STABLE23
Amos Jeffries [Tue, 2 Feb 2010 09:49:25 +0000 (02:49 -0700)] 
3.0.STABLE23

14 years agoPrep for 3.0.STABLE23
Amos Jeffries [Tue, 2 Feb 2010 09:33:50 +0000 (22:33 +1300)] 
Prep for 3.0.STABLE23

14 years agoHandle DNS header-only packets as invalid.
Amos Jeffries [Tue, 2 Feb 2010 09:04:12 +0000 (22:04 +1300)] 
Handle DNS header-only packets as invalid.

14 years agoRevert incomplete revno9151
Amos Jeffries [Tue, 2 Feb 2010 08:57:31 +0000 (21:57 +1300)] 
Revert incomplete revno9151

14 years agoMerge error when removing optional kerberos/spnegohelp/ library
Henrik Nordstrom [Mon, 1 Feb 2010 12:47:44 +0000 (13:47 +0100)] 
Merge error when removing optional kerberos/spnegohelp/ library

14 years ago3.0.STABLE22 SQUID_3_0_STABLE22
Amos Jeffries [Mon, 1 Feb 2010 01:33:39 +0000 (18:33 -0700)] 
3.0.STABLE22

14 years agoPrep for 3.0.STABLE22
Amos Jeffries [Mon, 1 Feb 2010 01:16:06 +0000 (14:16 +1300)] 
Prep for 3.0.STABLE22

14 years agoAuthor: Marko <mr_4u2@yahoo.com>
Amos Jeffries [Mon, 1 Feb 2010 00:32:21 +0000 (13:32 +1300)] 
Author: Marko <mr_4u2@yahoo.com>
Bug 2496: Downloading some variants in full before relaying

AKA, assertion failed: comm.cc:115: "ccb->active == false"
if the client disconnected before download finished arriving.

14 years agoBug 2787: pt 1: unexpected http status code messages
Amos Jeffries [Sun, 31 Jan 2010 23:58:26 +0000 (12:58 +1300)] 
Bug 2787: pt 1: unexpected http status code messages

Bumping the message from level-0 (critical) to level-1 (important and
major informational)

14 years agoRegression Fix: Make Squid abort on parse failures.
Amos Jeffries [Sun, 31 Jan 2010 23:20:22 +0000 (12:20 +1300)] 
Regression Fix: Make Squid abort on parse failures.

The addition of multi-file parsing and catching of thrown errors between
them caused any errors in sub-files to be non-fatal and allow Squid to
run as if everything was normal, even if parts of the config were not
being loaded.

Squid will now propigate the error exception out and exit with a count of
the errors found.

The main() safety wrapper from 3.1 has also been ported to catch some
unwanted crashes.

14 years agoAccount for mem_node overhead inside cache_mem
Amos Jeffries [Sun, 31 Jan 2010 23:02:45 +0000 (12:02 +1300)] 
Account for mem_node overhead inside cache_mem

This makes squid include the overhead memory space when determining the
number of data pages available in cache_mem memory space. Forming a much
better limit on memory cache usage.

This does NOT solve any issues created by sizeof(mem_node) being unaligned
with the system malloc implementation page size. That still needs to be
resolved.

14 years agoBuild issue after portages
Amos Jeffries [Sat, 16 Jan 2010 06:35:28 +0000 (19:35 +1300)] 
Build issue after portages

14 years agoBug 2452: external_acl_type does not limit entries, leads to high memory usage
Amos Jeffries [Sat, 16 Jan 2010 04:51:50 +0000 (17:51 +1300)] 
Bug 2452: external_acl_type does not limit entries, leads to high memory usage

Set a nominal cap of 256*1024 entries per external_acl_type configured.
This can be adjusted as needed with the external_acl_type cache=N option.

14 years agoAdd client_ip_max_connections
Amos Jeffries [Sat, 16 Jan 2010 04:44:46 +0000 (17:44 +1300)] 
Add client_ip_max_connections

Given some incentive after deep consideration of the slowloris claims.
While I still do not believe Squid is vulnerable per-se and some people
have tested and found no such failures as claimed for the DoS attack.

We found we could provide better administrative controls.  This is one such
that has been asked about many times and still did not exist. It operates
essentially the same as maxconn ACL, but does not require HTTP headers and
other request data to fully exist like ACLs do.

It is tested immediately after accept() and is request type agnostic, right
down to DNS TCP requests. So care is warranted in hierarchy situations or where
clients may be behind NAT.

Utilizes the client DB to monitor accepted TCP links. Operates prior to
everything so as to eliminate resource usage on the blocking case and
close the windows of opportunity for dribble-attacks etc.

Default (-1) is to keep the status-quo of no limits.

14 years agoHandle DNS header-only packets as invalid.
Amos Jeffries [Sat, 16 Jan 2010 03:51:51 +0000 (16:51 +1300)] 
Handle DNS header-only packets as invalid.

14 years agoBootstrapped
Automatic source maintenance [Sat, 9 Jan 2010 03:37:27 +0000 (20:37 -0700)] 
Bootstrapped

14 years agoRemove optional kerberos/spnegohelp/ library due to licensing issues
Henrik Nordstrom [Sat, 9 Jan 2010 01:25:08 +0000 (02:25 +0100)] 
Remove optional kerberos/spnegohelp/ library due to licensing issues

14 years ago3.0.STABLE21 SQUID_3_0_STABLE21
Amos Jeffries [Tue, 22 Dec 2009 06:49:55 +0000 (23:49 -0700)] 
3.0.STABLE21

14 years agoPrep for 3.0.STABLE21 pt 2
Amos Jeffries [Tue, 22 Dec 2009 06:43:32 +0000 (19:43 +1300)] 
Prep for 3.0.STABLE21 pt 2

14 years agoPrep for 3.0.STABLE21
Amos Jeffries [Tue, 22 Dec 2009 06:38:21 +0000 (19:38 +1300)] 
Prep for 3.0.STABLE21

14 years agoErrorState::BuildHttpReply does not exist in 3.0
Amos Jeffries [Tue, 22 Dec 2009 02:25:53 +0000 (15:25 +1300)] 
ErrorState::BuildHttpReply does not exist in 3.0

14 years agoBug 2395: FTP errors not displayed
Amos Jeffries [Tue, 22 Dec 2009 01:52:19 +0000 (14:52 +1300)] 
Bug 2395: FTP errors not displayed

* Fix PUT and other errors hanging
* Fix assertion "entry->store_status == STORE_PENDING" caused by FTP
* Several variable-shadowing cases resolved for the fix.

14 years agoAuthor: Jochen Voss <voss@seehuhn.de>
Amos Jeffries [Tue, 22 Dec 2009 01:22:56 +0000 (14:22 +1300)] 
Author: Jochen Voss <voss@seehuhn.de>
Fix failure to reset MD5 context buffer

14 years agoBug 2830: clarify where NULL byte is in headers.
Amos Jeffries [Tue, 22 Dec 2009 01:17:26 +0000 (14:17 +1300)] 
Bug 2830: clarify where NULL byte is in headers.

Debug printing used to naturally stop string output at the null byte.

This should show the first segment of headers up to the NULL and the
segment of headers after it. So that its clear to admin that there are
more headers _after_ the portion that used to be logged.

14 years agoBootstrapped
Automatic source maintenance [Mon, 7 Dec 2009 03:19:57 +0000 (20:19 -0700)] 
Bootstrapped

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 6 Dec 2009 03:40:51 +0000 (16:40 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2155: Assertion failures on malformed Content-Range response headers

A number of conditions with malformed Content-Range headers were
not trapped properly triggering odd conditions in the code.

14 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 6 Dec 2009 03:32:43 +0000 (16:32 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Make huge-objects macro only test for GCC

14 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 6 Dec 2009 02:13:19 +0000 (15:13 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fix more gcc-ism in CBDATA_DEBUG

14 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 6 Dec 2009 01:36:24 +0000 (14:36 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fix Profiler gcc-ism: asm syntax is gcc-specific

14 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 6 Dec 2009 01:29:37 +0000 (14:29 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Dnsserver and resolver fixes.

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

14 years agoSend correct Connection: header on intercepted replies
Amos Jeffries [Sun, 6 Dec 2009 01:03:05 +0000 (14:03 +1300)] 
Send correct Connection: header on intercepted replies

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

14 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 6 Dec 2009 00:39:48 +0000 (13:39 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fixed linking convention mismatch in Asn ACL

14 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 6 Dec 2009 00:30:50 +0000 (13:30 +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.

14 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sat, 14 Nov 2009 23:46:02 +0000 (12:46 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fixed and improved ACLTimeData::parse

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 14 Nov 2009 23:28:12 +0000 (12:28 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Improve %nn parser

14 years ago3.0.STABLE20 SQUID_3_0_STABLE20
Amos Jeffries [Thu, 29 Oct 2009 10:04:55 +0000 (04:04 -0600)] 
3.0.STABLE20

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

14 years agoAuthor: Jakub Wilk <ubanus@users.sf.net>
Amos Jeffries [Thu, 29 Oct 2009 08:14:54 +0000 (21:14 +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

14 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Thu, 29 Oct 2009 07:50:40 +0000 (20:50 +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.

14 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Tue, 27 Oct 2009 05:51:14 +0000 (18:51 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Bug 2794: ESI parsing fails on FreeBSD

Fix bug in the ESI expression parser which prevented it from working properly on
non-glibc platforms.

14 years agoBootstrapped
Automatic source maintenance [Sun, 4 Oct 2009 02:27:35 +0000 (20:27 -0600)] 
Bootstrapped

14 years agoAuthor: Alin Nastac <mrness@gentoo.org>
Amos Jeffries [Sun, 4 Oct 2009 01:25:10 +0000 (14:25 +1300)] 
Author: Alin Nastac <mrness@gentoo.org>
Cleanup: deprecate ugly hack for sys/capability.h

Needed once to prevent build clashes between libc and sys/capabilility.h
headers. As of libcap2 that is no longer the case and from 2.26 in fact
prevents a clean build.

Add detection for libcap to enable the hack only if actually needed.

Add --disable-caps option to disabke libcap and TPROXY2

14 years agoCorrect LINUX_CAPABILITY actions on non-Linux
Amos Jeffries [Sun, 4 Oct 2009 00:46:38 +0000 (13:46 +1300)] 
Correct LINUX_CAPABILITY actions on non-Linux

non-Linux should not set transparency OFF, just because they dont have
Linux syscap.

Also kill bad use of goto. Should have been an if-else sequence.

14 years agoFix bracket omitted in rev9112
Amos Jeffries [Sat, 3 Oct 2009 11:18:25 +0000 (00:18 +1300)] 
Fix bracket omitted in rev9112

14 years agoBootstrapped
Automatic source maintenance [Sat, 3 Oct 2009 02:25:22 +0000 (20:25 -0600)] 
Bootstrapped

14 years agoFixed some issues uncovered by SunStudio CC.
Francesco Chemolli [Fri, 2 Oct 2009 15:26:16 +0000 (17:26 +0200)] 
Fixed some issues uncovered by SunStudio CC.

14 years agoRemoved extra comma in enum which made SunStudio CC unhappy
Francesco Chemolli [Fri, 2 Oct 2009 13:35:31 +0000 (15:35 +0200)] 
Removed extra comma in enum which made SunStudio CC unhappy

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 2 Oct 2009 08:49:33 +0000 (21:49 +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.

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 2 Oct 2009 08:31:21 +0000 (21:31 +1300)] 
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

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 2 Oct 2009 08:28:08 +0000 (21:28 +1300)] 
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..

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 2 Oct 2009 08:14:08 +0000 (21:14 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2768: squid_ldap_group argument parsing error

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

14 years agoBug 2722: http_port accel combined with CONNECT has bizarre behaviour
Amos Jeffries [Fri, 2 Oct 2009 08:11:13 +0000 (21:11 +1300)] 
Bug 2722: http_port accel combined with CONNECT has bizarre behaviour

14 years agoBug 2735: Incomplete -fhuge-objects detection
Amos Jeffries [Fri, 2 Oct 2009 08:07:55 +0000 (21:07 +1300)] 
Bug 2735: Incomplete -fhuge-objects detection

14 years agoAuthor: Henrik Nordstrom <hno@squid-cache.org>
Amos Jeffries [Fri, 2 Oct 2009 08:06:26 +0000 (21:06 +1300)] 
Author: Henrik Nordstrom <hno@squid-cache.org>
Bug 2510: digest_ldap_auth uses incorrect logic with TLS

14 years agoFix segfault parsing cache_dir with IOEngine= set
Amos Jeffries [Fri, 2 Oct 2009 08:02:23 +0000 (21:02 +1300)] 
Fix segfault parsing cache_dir with IOEngine= set

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

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

14 years agoAuthor: Philippe Lantin <plantin@cobaltgroup.com>
Amos Jeffries [Thu, 24 Sep 2009 09:24:45 +0000 (21:24 +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.

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

in this case completely harmless but still wrong..

14 years ago3.0.STABLE19 SQUID_3_0_STABLE19
Amos Jeffries [Sun, 6 Sep 2009 11:28:45 +0000 (05:28 -0600)] 
3.0.STABLE19

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

14 years agoBootstrapped
Automatic source maintenance [Fri, 4 Sep 2009 02:00:52 +0000 (20:00 -0600)] 
Bootstrapped

14 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Thu, 3 Sep 2009 12:57:49 +0000 (00:57 +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.

14 years agoBug 2734: fix compile errors from CBDATA_CLASS2()
Amos Jeffries [Thu, 3 Sep 2009 12:56:47 +0000 (00:56 +1200)] 
Bug 2734: fix compile errors from CBDATA_CLASS2()

Some compilers don't like the sytax private:;

This makes the starting state explicitly private: instead of assuming its
going to be defined in a private state and dependign on the definer class.

We can cope with not setting the state to private at the end of the macro
as well. It just means the use of this macro must be last, or have an
explicit private/public definition after its use.

14 years agoMake --disable-mempools control MemPool unit-tests
Amos Jeffries [Thu, 3 Sep 2009 12:52:54 +0000 (00:52 +1200)] 
Make --disable-mempools control MemPool unit-tests

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 3 Sep 2009 12:51:53 +0000 (00:51 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Fixup libxml2 include magics, was failing when a configure cache was used

14 years agoBug 2745: Invalid response error on small reads
Amos Jeffries [Sun, 23 Aug 2009 04:54:44 +0000 (16:54 +1200)] 
Bug 2745: Invalid response error on small reads

Also adds extra unit-tests for these cases.

14 years agoAlways display auto-tools versions on bootstrap.
Amos Jeffries [Sun, 23 Aug 2009 04:52:44 +0000 (16:52 +1200)] 
Always display auto-tools versions on bootstrap.

This will better help us identify from build-farm results if we broke a
particular auto-tool support or if its the specific OS implementation /
environment.

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 23 Aug 2009 04:49:08 +0000 (16:49 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2541: Hang in 100% CPU loop while extacting header details using a delimiter other than comma

(external_acl_type, access_log_format, external_refresh_check)

strListGetItem() could get stuck in a 100% loop if called with a delimiter
other than ',' and the parsed string contains ','.

This change makes it properly detect ',' as a delimiter even if called
with another delimiter argument like intended. The reason why ',' is always
a delimiter is because this is the delimiter between merged values of a
multi-valued header, and must always be supported as delimiter even if
Cookie uses ';' instead.

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Wed, 19 Aug 2009 06:48:43 +0000 (18:48 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Add 0.0.0.0 as an to_localhost address

Many TCP/IP(v4) stacks aliases 0.0.0.0 as 127.0.0.1.

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Wed, 19 Aug 2009 06:47:22 +0000 (18:47 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Docs: Improve chroot directive documentation slightly

the directive takes a directory argument, but this wasn't mentioned anywhere..

14 years agoAuthor: Cloyce <cloyce.spradling@sun.com>
Amos Jeffries [Fri, 14 Aug 2009 05:17:52 +0000 (17:17 +1200)] 
Author: Cloyce <cloyce.spradling@sun.com>
Bug 2739: DNS resolver option ndots can't be parsed from resolv.conf

A small logic error (probably a typo) in dns_internal.cc prevents squid from
properly reading the ndots option from resolv.conf.

The attached trivial patch fixes the problem.

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 14 Aug 2009 05:15:16 +0000 (17:15 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2648: stateful helpers stuck in reserved if client disconnects while helper busy

Note: May depend on the other stateful helper cleanups.

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 14 Aug 2009 04:55:30 +0000 (16:55 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Extended ntlm/negotiate_test to support helper local thinking time/delays

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 14 Aug 2009 04:50:47 +0000 (16:50 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Remove support for deferred state in stateful helpers

the deferred state were previously used for the challenge reuse mode
in NTLM, but is since long unused as it was both incompatible with
NTLMv2 and also not very stable for authentication.

14 years agoTestBed: Add bootstrap tests
Amos Jeffries [Thu, 13 Aug 2009 00:42:04 +0000 (12:42 +1200)] 
TestBed: Add bootstrap tests

14 years agoAuthor: Various
Amos Jeffries [Thu, 13 Aug 2009 00:34:40 +0000 (12:34 +1200)] 
Author: Various
Sync TestBed scripts with 3.1

14 years ago3.0.STABLE18 SQUID_3_0_STABLE18
Amos Jeffries [Tue, 4 Aug 2009 11:56:54 +0000 (05:56 -0600)] 
3.0.STABLE18

14 years agoPrep for 3.0.STABLE18
Amos Jeffries [Tue, 4 Aug 2009 11:09:52 +0000 (23:09 +1200)] 
Prep for 3.0.STABLE18

14 years agoBootstrapped
Automatic source maintenance [Mon, 3 Aug 2009 02:03:14 +0000 (20:03 -0600)] 
Bootstrapped

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 2 Aug 2009 10:59:16 +0000 (22:59 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2732: reply_body_max_size smaller than error page loops infinitely until out of memory

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 2 Aug 2009 10:29:54 +0000 (22:29 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2648: Reserved helpers not shut down after reconfigure/rotate

The race happens if the helpers are restarted(rotate/reconfigure) while
reserved. Those reserved are then not shut down when the reservation is
released.

This patch cleans this up and a couple of other related races.

14 years agoBug 2462: make check should tell when cppunit is missing
Amos Jeffries [Sun, 2 Aug 2009 10:13:38 +0000 (22:13 +1200)] 
Bug 2462: make check should tell when cppunit is missing

14 years agoAuthor: Lab10 <lab10@bt-anlagenbau.at>
Amos Jeffries [Sat, 1 Aug 2009 08:39:45 +0000 (20:39 +1200)] 
Author: Lab10 <lab10@bt-anlagenbau.at>
Bug 2728: regression: assertion failed: http.cc:705: "!eof"

Catch the zero size reply edge case again.

14 years agoDebugs message about error when headers < minimum size
Amos Jeffries [Sat, 1 Aug 2009 08:36:48 +0000 (20:36 +1200)] 
Debugs message about error when headers < minimum size

14 years agoBug 2725: pconn failure if domain or client_address are unset
Amos Jeffries [Sat, 1 Aug 2009 08:24:00 +0000 (20:24 +1200)] 
Bug 2725: pconn failure if domain or client_address are unset

14 years agoBootstrapped
Automatic source maintenance [Sat, 1 Aug 2009 01:57:08 +0000 (19:57 -0600)] 
Bootstrapped

14 years agoAuthor: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Amos Jeffries [Fri, 31 Jul 2009 05:39:47 +0000 (17:39 +1200)] 
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix libtool 2.2.6 warnings for rm

Hopefully future libtool will not need this. Meanhile 2.2.6 does.

14 years ago3.0.STABLE17 SQUID_3_0_STABLE17
Amos Jeffries [Sun, 26 Jul 2009 12:24:26 +0000 (06:24 -0600)] 
3.0.STABLE17

14 years agoPrep for 3.0.STABLE17
Amos Jeffries [Sun, 26 Jul 2009 12:20:28 +0000 (00:20 +1200)] 
Prep for 3.0.STABLE17

14 years agoString has size() not psize() in 3.0
Amos Jeffries [Sun, 26 Jul 2009 12:04:45 +0000 (06:04 -0600)] 
String has size() not psize() in 3.0

14 years agoBug 2620: Invalid HTTP response codes causes segfault
Amos Jeffries [Sun, 26 Jul 2009 11:33:16 +0000 (23:33 +1200)] 
Bug 2620: Invalid HTTP response codes causes segfault

Harden the sanity checks to detect negative status and other syntax issues
before they have a chance to become problems. This applies to replies and
responses both in varying ways.

Also document the sanity check logics. sanityCheck* is supposed to fill
out the error status for what it detects with each fail result.

14 years agoDocument unit-tests for src/
Amos Jeffries [Sun, 26 Jul 2009 11:06:00 +0000 (23:06 +1200)] 
Document unit-tests for src/

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 26 Jul 2009 11:01:41 +0000 (23:01 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Fix Via string when leak checking is enabled (valgrind etc)

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 26 Jul 2009 10:59:03 +0000 (22:59 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Kick any pending *ufs write/close operations alive when the previous write completes

When using uufs only part of the object got written out to the disk,
forgetting to write out the last butes and closing the file.
This should have been seen at least in in diskd as well even if it
for some reason did not seem to show up in simple tests.

14 years agoBug 2674: Remove limit on HTTP headers read.
Amos Jeffries [Sun, 26 Jul 2009 10:54:29 +0000 (22:54 +1200)] 
Bug 2674: Remove limit on HTTP headers read.

Headers may be accumulated over more than one read. It does not make
sense to limit the internal copy of the accumulated read buffer to 64KB.

Reverts the internal read buffer to MemBuf defaults. This may cause
issues where headers are of unbounded size. But those are expected to be
caught by the header parser.

Check buffer limits before parsing and return error on all bad parse cases.
No exceptions.

14 years agoFixup squid_kerb_auth so it compiles
Henrik Nordstrom [Fri, 24 Jul 2009 14:09:17 +0000 (16:09 +0200)] 
Fixup squid_kerb_auth so it compiles

  - Out-of-tree build support
  - Compiler warning about odd const address arithmetics

14 years agoBootstrapped
Automatic source maintenance [Fri, 24 Jul 2009 01:59:37 +0000 (19:59 -0600)] 
Bootstrapped

14 years agoFix NCSA auth helper include sequence and wrapping
Amos Jeffries [Thu, 23 Jul 2009 13:07:48 +0000 (01:07 +1200)] 
Fix NCSA auth helper include sequence and wrapping

14 years agoFix SF import loop
Amos Jeffries [Thu, 23 Jul 2009 13:05:37 +0000 (01:05 +1200)] 
Fix SF import loop