]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
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

14 years agoFix Portage typo in b9062
Amos Jeffries [Sun, 19 Jul 2009 03:36:07 +0000 (21:36 -0600)] 
Fix Portage typo in b9062

14 years agoAuthor: Isnard <isnardjaquet@gmail.com>
Amos Jeffries [Sat, 18 Jul 2009 04:06:25 +0000 (16:06 +1200)] 
Author: Isnard <isnardjaquet@gmail.com>
Bug 2080: wbinfo_group.pl - false positive under certain conditions

14 years agoBug 2680 regression: Crash after rotate with no helpers running
Amos Jeffries [Fri, 17 Jul 2009 13:25:24 +0000 (01:25 +1200)] 
Bug 2680 regression: Crash after rotate with no helpers running

Regression from bug 2276 fix. n_running was used instead of n_active.
Also documents the relevant counters to prevent this recurring.

14 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Fri, 17 Jul 2009 13:23:49 +0000 (01:23 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Break forwarding loops for "transparent" or "intercept" http_ports.

Squid detected forwarding loops in most configurations, but broke
them (using a customizable HTTP_FORBIDDEN response) only when working as
an accelerator. Squid now breaks loops when working as a transparent
proxy as well.

A persistent loop is going to be broken anyway, when the Via and
X-Forwarded-For headers exceed header size limit, but that wastes a lot of
resources and may also crash misconfigured Squids.

TODO: Consider breaking all loops, regardless of the http_port options.

TODO: Consider adding a specific and/or configurable error page for this case
instead of using hard-coded ACCESS_DENIED.

14 years agoAuthor: Markus Moeller <huaraz@moeller.plus.com>
Amos Jeffries [Sun, 12 Jul 2009 02:51:09 +0000 (14:51 +1200)] 
Author: Markus Moeller <huaraz@moeller.plus.com>
Bug 2710: squid_kerb_auth non-terminated string

14 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Mon, 6 Jul 2009 01:51:39 +0000 (13:51 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2659: String length overflows on append, leading to segfaults

Long-term patch for 3.0. This softens the error, but does not
resolve the issue completely for ESI.

Short-term patch for 3.1. The limit is arbitrary and may be fixed
at some point by a better patch. This one will work however.

14 years agoAuthor: Don Hopkins <dhopkins@DonHopkins.com>
Amos Jeffries [Mon, 6 Jul 2009 01:17:58 +0000 (13:17 +1200)] 
Author: Don Hopkins <dhopkins@DonHopkins.com>
Bug 1087: ESI processor not quoting attributes correctly.

Use HTML 4.01 specified double-quotes instead of HTML 1.0 single quotes
and HTML-encode any double-quotes contained within the attribute data.

14 years agoPrevent getservbyname() being called with a numeric value on Windows.
Amos Jeffries [Mon, 6 Jul 2009 01:08:37 +0000 (13:08 +1200)] 
Prevent getservbyname() being called with a numeric value on Windows.

The function getservebyname() returns garbage values when called with
a numeric port "name" for Windows people.

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 26 Jun 2009 08:35:24 +0000 (20:35 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
tar-ustar requires automake 1.9 or later. Drop earlier versions from selection, and add 1.11

14 years agoBootstrapped
Automatic source maintenance [Thu, 25 Jun 2009 02:02:34 +0000 (20:02 -0600)] 
Bootstrapped

14 years agoAdd Treehouse to SPONSORS
Amos Jeffries [Wed, 24 Jun 2009 06:56:46 +0000 (18:56 +1200)] 
Add Treehouse to SPONSORS

14 years agoBug 2679: strsep and strtoll should be bundled
Amos Jeffries [Wed, 24 Jun 2009 06:49:28 +0000 (18:49 +1200)] 
Bug 2679: strsep and strtoll should be bundled

Incorrect autoconf macro to test for these was leading to a large hack.
Using the right macro fixes this issue and links as needed.

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Mon, 22 Jun 2009 03:04:42 +0000 (15:04 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Make GCC-4.4 happy

14 years agoFix Signed/Unsigned build error
Amos Jeffries [Tue, 16 Jun 2009 23:32:41 +0000 (11:32 +1200)] 
Fix Signed/Unsigned build error

14 years ago3.0.STABLE16 SQUID_3_0_STABLE16
Amos Jeffries [Mon, 15 Jun 2009 07:29:05 +0000 (01:29 -0600)] 
3.0.STABLE16

14 years agoPrep for 3.0.STABLE16
Amos Jeffries [Mon, 15 Jun 2009 06:49:16 +0000 (18:49 +1200)] 
Prep for 3.0.STABLE16

14 years agoAuthor: Markus Moeller <huaraz@moeller.plus.com>
Amos Jeffries [Mon, 15 Jun 2009 06:40:55 +0000 (18:40 +1200)] 
Author: Markus Moeller <huaraz@moeller.plus.com>
Better Kerberos support detection

14 years agoAuthor: fancyrabbit <fancyrabbit@gmail.com>
Amos Jeffries [Sun, 14 Jun 2009 12:51:10 +0000 (00:51 +1200)] 
Author: fancyrabbit <fancyrabbit@gmail.com>
Bug 2672: cacheMemMaxSize 32-bit overflow during snmpwalk

snint is 32-bits. Unwrapped the code casts int64 to int32 before
reducing the base unit size to MB.

14 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Sun, 14 Jun 2009 12:44:45 +0000 (00:44 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Prevent "make check" failure on warn_unused_result warning for fwrite(3) call.

14 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sun, 7 Jun 2009 12:08:38 +0000 (00:08 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Bit types protection must applied always

14 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sun, 7 Jun 2009 12:05:20 +0000 (00:05 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: second chunk of fixes needed to build again Squid3 using MinGW

14 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sun, 7 Jun 2009 12:02:30 +0000 (00:02 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Fix build failure of squid_radius_auth.

Also added config.test. Before of this, squid_radius_auth probably was never
automatically build during squid 3 development.

14 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sun, 7 Jun 2009 12:00:21 +0000 (00:00 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Fix configure and build failures on MinGW.

14 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Sun, 7 Jun 2009 11:57:31 +0000 (23:57 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Fix improper access permissions to registry and DNS parsing from registry

- RegOpenKey() always try to open registry keys in full control mode, even if not needed.
  This could make Squid to fail when running as a non privileged user. RegOpenKeyEx() allow to
  specify only the needed priviledge and now is used instead.

- When parsing DNS setting into registry, a fixed size loop was used. Now the loop count is
  dynamic.

14 years agoTypo in pam_auth man page
Amos Jeffries [Sat, 6 Jun 2009 11:10:58 +0000 (23:10 +1200)] 
Typo in pam_auth man page

14 years agoAuthor: Joao Alves Neto <alves_joao@hotmail.com>
Amos Jeffries [Sat, 6 Jun 2009 11:09:41 +0000 (23:09 +1200)] 
Author: Joao Alves Neto <alves_joao@hotmail.com>
Make fakeauth handle NTLMv2 better

NTLMv2 requires challenge flags to be a mirror of those received.

14 years agoAuthor: Duane Wessels <wessels@squid-cache.org>
Amos Jeffries [Sat, 6 Jun 2009 10:09:21 +0000 (22:09 +1200)] 
Author: Duane Wessels <wessels@squid-cache.org>
MFC: documentation bugfix for tcp_outgoing_tos directive

14 years agoAdd Translate: and Unless-Modified-Since: headers to known list.
Amos Jeffries [Sat, 6 Jun 2009 10:07:29 +0000 (22:07 +1200)] 
Add Translate: and Unless-Modified-Since: headers to known list.

They are custom microsoft headers we may need to use header_access to
crop away. Translate: is needed for WEBDAV so we must leave this up
to individual admin.

14 years agoAuthor: Arkin <arkin.yang@gmail.com>
Amos Jeffries [Sat, 6 Jun 2009 10:04:41 +0000 (22:04 +1200)] 
Author: Arkin <arkin.yang@gmail.com>
Bug 2387: The calculation of the number of hash buckets need to account for the memory size, not only disk size

cache_mem only setups without a cache_dir miscalculates the hash table size,
resulting in poor performance if cache_mem is very large.

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 6 Jun 2009 10:03:04 +0000 (22:03 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2481: Don't set expires: now in generated error responses

Sending Expires: "now" overrides any negative cache logics which may
be present in downstream caches and is a bad idea. Better to send
the responses without any explicit expiry information.

14 years agoAuthor: Diego Woitasen <diegows <at> xtech.com.ar>
Amos Jeffries [Sat, 6 Jun 2009 09:59:08 +0000 (21:59 +1200)] 
Author: Diego Woitasen <diegows <at> xtech.com.ar>
Fix stripping NT domain in squid_ldap_group

14 years agoMake FD_SETSIZE inernally signed.
Amos Jeffries [Sat, 30 May 2009 05:24:48 +0000 (17:24 +1200)] 
Make FD_SETSIZE inernally signed.

FreeBSD 7 defines FD_SETSIZE as unsigned but Squid needs
it to be signed to compare it with signed values.
Linux and others including FreeBSD <7, define it as signed.
If this causes any issues please contact squid-dev@squid-cache.org

14 years agoAuthor: Alin Nastac <mrness@gentoo.org>
Amos Jeffries [Sat, 23 May 2009 04:51:23 +0000 (16:51 +1200)] 
Author: Alin Nastac <mrness@gentoo.org>
Compile error in xstrdup

14 years agoRemove infinite loop in MSNT auth helper
Amos Jeffries [Sat, 23 May 2009 04:48:46 +0000 (16:48 +1200)] 
Remove infinite loop in MSNT auth helper

On one starting error condition the helper enters a read loop
without exit conditions. Made this exit when read was done
and shutdown helper as per behavior comment by the loop.

Also removes one useless goto.

14 years agoAuthor: Adrian Chadd <adrian@squid-cache.org>
Amos Jeffries [Sat, 23 May 2009 03:21:41 +0000 (15:21 +1200)] 
Author: Adrian Chadd <adrian@squid-cache.org>
Add in some better documentation for override-expire.

Attempt to clearly document exactly what it does - in this instance, it
enforces min age and doesn't allow the admin to enforce max-age -
ie, truncate staleness.