]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
15 years ago3.0.STABLE19 SQUID_3_0_STABLE19
Amos Jeffries [Sun, 6 Sep 2009 11:28:45 +0000 (05:28 -0600)] 
3.0.STABLE19

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

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

15 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.

15 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.

15 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

15 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

15 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.

15 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.

15 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.

15 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.

15 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..

15 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.

15 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.

15 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

15 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.

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

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

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

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

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

16 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

16 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.

16 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

16 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.

16 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

16 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

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

16 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.

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

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

16 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

16 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.

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

16 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)

16 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.

16 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.

16 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

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

16 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

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

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

16 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

16 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.

16 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.

16 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

16 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.

16 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.

16 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.

16 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

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

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

16 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.

16 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

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

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

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

16 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

16 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.

16 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.

16 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

16 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

16 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.

16 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.

16 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.

16 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

16 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.

16 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

16 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.

16 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.

16 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.

16 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

16 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

16 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

16 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.

16 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.

16 years agoReplace assert with NOP action in hash free.
Amos Jeffries [Sat, 23 May 2009 03:20:47 +0000 (15:20 +1200)] 
Replace assert with NOP action in hash free.

This resolves one small coverity itch.
When nothing to free we don't really need to care, we do need to act
safely and not try to actually action the free though.

16 years ago3.0.STABLE16-RC1 SQUID_3_0_STABLE16_RC1
Amos Jeffries [Fri, 15 May 2009 12:46:36 +0000 (06:46 -0600)] 
3.0.STABLE16-RC1

16 years agoPrep for 3.0.STABLE16-RC1
Amos Jeffries [Fri, 15 May 2009 12:36:14 +0000 (00:36 +1200)] 
Prep for 3.0.STABLE16-RC1

16 years agoBug 2648: Authentificator processes deferring and don't shutdown.
Amos Jeffries [Fri, 15 May 2009 06:59:38 +0000 (18:59 +1200)] 
Bug 2648: Authentificator processes deferring and don't shutdown.

16 years agoDetach chunk-requests from ICAP
Amos Jeffries [Sat, 9 May 2009 07:24:35 +0000 (19:24 +1200)] 
Detach chunk-requests from ICAP

16 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Sat, 9 May 2009 07:03:02 +0000 (19:03 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Added temporary hack to support chunked HTTP/1.1 requests.

A broken or confused HTTP/1.1 client may send a chunked HTTP request to Squid.
Squid does not have full support for that feature yet. To cope with such
requests, Squid now buffers the entire request and then dechunks request body
to create a plain HTTP/1.0 request with a known content length. The plain
request is then used by the rest of Squid code as usual.

The newly added chunked_request_body_max_size option specifies the maximum
size of the buffer used to hold the chunked request before the conversion. If
the chunked request size exceeds the specified limit, the conversion fails,
and the client receives an "unsupported request" error, as if dechunking was
disabled.

Dechunking is enabled by default. To disable conversion of chunked requests,
set chunked_request_body_max_size to zero.

Squid cannot buffer chunked requests exceeding MEM_BUF_MAX_SIZE, which is
currently 2*1000*1024*1024 bytes. The default chunked_request_body_max_size
value is 64KB.

Request dechunking feature is a temporary hack. When chunking requests and
responses are fully supported, there will be no need to buffer a chunked
request. Client_side code contains a FUTURE_CODE_TO_SUPPORT_CHUNKED_REQUESTS
section that can be used as a starting point for proper support. That code was
working in simple tests.

This dechunking code requires ICAP support in Squid v3.0 because of the
ICAP/ChunkedCodingParser dependency.

16 years agoAdd new files omitted from chunked
Amos Jeffries [Fri, 8 May 2009 02:52:22 +0000 (14:52 +1200)] 
Add new files omitted from chunked

16 years agoBootstrapped
Automatic source maintenance [Fri, 8 May 2009 01:42:36 +0000 (19:42 -0600)] 
Bootstrapped

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Fri, 8 May 2009 01:16:48 +0000 (13:16 +1200)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 1148: Chunked Transfer Encoding not supported

Thanks to Alin Nastac of the Gentoo Project for back-porting to 3.0.

16 years ago3.0.STABLE15 SQUID_3_0_STABLE15
Amos Jeffries [Wed, 6 May 2009 11:10:44 +0000 (05:10 -0600)] 
3.0.STABLE15

16 years agoPrep for 3.0.STABLE15
Amos Jeffries [Wed, 6 May 2009 10:38:24 +0000 (22:38 +1200)] 
Prep for 3.0.STABLE15

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Sun, 3 May 2009 12:24:02 +0000 (00:24 +1200)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2652: tunnelReadServer: read failure: (0) Success error message

-Method TunnelStateData::Connection::error:
   The xerrno is the errno values (EAGAIN, EINTR etc) not a COMM_XX error/flag.
- Methods TunnelStateData::writeServerDone,TunnelStateData::writeClientDone:
  if the related connection fd closing (flag==COMM_ERR_CLOSING) just return

16 years agoHandle several IO errors cleanly.
Amos Jeffries [Sun, 3 May 2009 12:20:42 +0000 (00:20 +1200)] 
Handle several IO errors cleanly.

16 years agoAuthor: Rene Geile <rene.geile@t-online.de>
Amos Jeffries [Sun, 3 May 2009 12:16:51 +0000 (00:16 +1200)] 
Author: Rene Geile <rene.geile@t-online.de>
Fix incorrect name of digest_pw_auth helper

via Debian project
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517528

16 years agoBootstrapped
Automatic source maintenance [Fri, 1 May 2009 01:12:19 +0000 (19:12 -0600)] 
Bootstrapped

16 years agoBootstrapped
Automatic source maintenance [Sun, 26 Apr 2009 01:07:01 +0000 (19:07 -0600)] 
Bootstrapped

16 years agoFix syntax typos imported from 3.1.
Amos Jeffries [Sat, 25 Apr 2009 04:11:16 +0000 (16:11 +1200)] 
Fix syntax typos imported from 3.1.

16 years agoAuthor: Hasso Tepper <hasso@estpak.ee>
Amos Jeffries [Sat, 25 Apr 2009 02:17:26 +0000 (14:17 +1200)] 
Author: Hasso Tepper <hasso@estpak.ee>
DragonFly Support for PF

Received via NetBSD project.

NetBSD Maintainer says:
 "pfvar.h part came from DragonFly people."

Their CVS log attributes says, the fix is from hasso@estpak.ee:

| Fix two problems reported by Hasso Tepper via PR pkg/39554.
|
| * DragonFly support.

(other not relevant to this patch)

16 years agoAuthor: Unknown - NetBSD Project
Amos Jeffries [Sat, 25 Apr 2009 02:14:13 +0000 (14:14 +1200)] 
Author: Unknown - NetBSD Project
NetBSD uses machine/byte_swap.h for endian defines

16 years agoAuthor: Hasso Tepper <hasso@estpak.ee>
Amos Jeffries [Sat, 25 Apr 2009 02:12:22 +0000 (14:12 +1200)] 
Author: Hasso Tepper <hasso@estpak.ee>
Fix OpenSSL portability problem

Received via NetBSD project.

Their CVS log attributes says, the fix is from hasso@estpak.ee:

| Fix two problems reported by Hasso Tepper via PR pkg/39554.
|
| * OpenSSL portability problem.

(other not relevant to this patch)

16 years agoAuthor: Unknown - NetBSD Project
Amos Jeffries [Sat, 25 Apr 2009 02:10:29 +0000 (14:10 +1200)] 
Author: Unknown - NetBSD Project
Fix pinger install location

16 years agoAuthor: Bertrand Jacquin <beber@meleeweb.net>
Amos Jeffries [Sat, 25 Apr 2009 02:08:06 +0000 (14:08 +1200)] 
Author: Bertrand Jacquin <beber@meleeweb.net>
Make gcc-4.3 happy with strdup/strndup

Several casting void* to char* fixed.

16 years agoBug 2491: assertion failed: refresh.cc: "age >= 0"
Amos Jeffries [Sat, 25 Apr 2009 01:47:35 +0000 (13:47 +1200)] 
Bug 2491: assertion failed: refresh.cc: "age >= 0"

Assertion was in the wrong place. If seen in Squid after this patch
please re-open the bug report and provide more details to track it down.

16 years agoBootstrapped
Automatic source maintenance [Sat, 25 Apr 2009 01:36:10 +0000 (19:36 -0600)] 
Bootstrapped