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

16 years agoBug 2536: %H in error page ERR_DNS_FAIL is not filled on HTTPS
Amos Jeffries [Sat, 25 Apr 2009 01:14:02 +0000 (13:14 +1200)] 
Bug 2536: %H in error page ERR_DNS_FAIL is not filled on HTTPS

16 years agoBug 2610: Detection and verification of ipfilter header files is incorrect
Amos Jeffries [Sat, 25 Apr 2009 01:07:10 +0000 (13:07 +1200)] 
Bug 2610: Detection and verification of ipfilter header files is incorrect

After much contention reg Solaris and FreeBSD the union between them
seems to be this:
 - adding netinet/in.h
 - adding netinet/ip_fil_compat.h (alternative to netinet/ip_compat.h)
 - testing for netinet/ipl.h before netinet/ip_nat.h

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Sat, 25 Apr 2009 00:44:05 +0000 (12:44 +1200)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2578: squid fails to resume dowload from FTP

The ftp code uses the FtpStateData::restart_offset and
FtpStateData::restarted_offset to compute the offset in the case of
partial responses, but it must also set the
ServerStateData::currentOffset member variable.
This patch:
  - completely removes the FtpStateData::restarted_offset member and uses
    the ServerStateData::currentOffset member variable instead.
  - adds the FtpStateData::setCurrentOffset(int64_t) and
    FtpStateData::getCurrentOffset() public methods to allow set/get the
    ServerStateData::currentOffset value

16 years agoBug 2276: Too many queued ntlm authenticators running
Amos Jeffries [Sat, 25 Apr 2009 00:19:35 +0000 (12:19 +1200)] 
Bug 2276: Too many queued ntlm authenticators running

This enforces the admin configured number of helpers as a maximum number
running by calculating how many helpers have died and need restarting.

16 years agoBug 2625: Ident: bad read from external lookup buffer
Amos Jeffries [Mon, 20 Apr 2009 08:48:00 +0000 (20:48 +1200)] 
Bug 2625: Ident: bad read from external lookup buffer

with thanks to Michael <michael.dotzler@leoni.com> for tracking it down.

16 years agoBug 2635: Incorrect Max-Forwards header type
Amos Jeffries [Tue, 14 Apr 2009 15:38:39 +0000 (03:38 +1200)] 
Bug 2635: Incorrect Max-Forwards header type

16 years ago3.0.STABLE14 (bootstrapped) SQUID_3_0_STABLE14
Amos Jeffries [Sat, 11 Apr 2009 08:34:45 +0000 (02:34 -0600)] 
3.0.STABLE14 (bootstrapped)

16 years ago3.0.STABLE14
Amos Jeffries [Sat, 11 Apr 2009 08:33:58 +0000 (02:33 -0600)] 
3.0.STABLE14

16 years agoPrep for 3.0.STABLE14
Amos Jeffries [Sat, 11 Apr 2009 09:31:11 +0000 (21:31 +1200)] 
Prep for 3.0.STABLE14

16 years agoHTTP 1.1: Forward OPTIONS requests properly
Amos Jeffries [Fri, 10 Apr 2009 09:23:50 +0000 (21:23 +1200)] 
HTTP 1.1: Forward OPTIONS requests properly

Bump the max_forwards type to 64-bit to cope with wider range of values.

NP: still no internal handling of OPTIONS requests, but this will
     forward them according to RFC 2616 requirements.

16 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Fri, 10 Apr 2009 09:17:58 +0000 (21:17 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
The debug mode option '-d' was not documented in LDAP helpers usage message

16 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Fri, 10 Apr 2009 09:10:33 +0000 (21:10 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Added support for Windows 7, Windows Server 2008 R2 and later

16 years agoAuthor: Guido Serassio <serassio@squid-cache.org>
Amos Jeffries [Fri, 10 Apr 2009 09:00:12 +0000 (21:00 +1200)] 
Author: Guido Serassio <serassio@squid-cache.org>
Windows port: Fix PSAPI.DLL usage, is always available on Windows NT and later

16 years agoBug 2518: assertion failed: comm.cc:1519: "F->flags.open"
Amos Jeffries [Fri, 10 Apr 2009 08:46:48 +0000 (20:46 +1200)] 
Bug 2518: assertion failed: comm.cc:1519: "F->flags.open"

Not seen in a while. I suspect its hiding behind a fixed F->closing()
test, so the whole if test may be obsolete.

Applying in order to close the bug with surety and sync the conditions on
shutdown and restart-closing.

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Fri, 10 Apr 2009 08:29:06 +0000 (20:29 +1200)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Bug 1868: bad HTTP 207 status string

16 years agoVarious errors detected by Coverity scan
Amos Jeffries [Fri, 10 Apr 2009 08:25:46 +0000 (20:25 +1200)] 
Various errors detected by Coverity scan

 - SNMP error labels enum and name struct size mis-matched
 - several Null-ptr dereferences
 - various unused code

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 10 Apr 2009 08:17:40 +0000 (20:17 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug #2605: Don't call setsid() on helper childs when running in daemon mode

16 years agoBug 1232: cache_dir parameter limited to only 63 entries.
Amos Jeffries [Fri, 10 Apr 2009 08:09:58 +0000 (20:09 +1200)] 
Bug 1232: cache_dir parameter limited to only 63 entries.

This alters the squid.conf parsing limit on cache_dir entries
into a softer configuration warning. It was a core dump.

Also opens the final bit of the 7-bit signed range for use
which makes the limit 64 cache dirs in total.

16 years agoHttp 1.1: Support Content-Disposition header
Amos Jeffries [Fri, 10 Apr 2009 07:49:36 +0000 (19:49 +1200)] 
Http 1.1: Support Content-Disposition header

16 years agoFix some formatting build issues on non-GCC compilers.
Amos Jeffries [Fri, 10 Apr 2009 07:45:02 +0000 (19:45 +1200)] 
Fix some formatting build issues on non-GCC compilers.

Grr, enum lists must not end with ,}

16 years agoPromote byte-units parse message to a full warning message.
Amos Jeffries [Fri, 10 Apr 2009 07:29:56 +0000 (19:29 +1200)] 
Promote byte-units parse message to a full warning message.

This is very important to the parser and some configuration settings.

16 years agoImprove documentation of vary_ignore_expire
Amos Jeffries [Fri, 10 Apr 2009 07:28:11 +0000 (19:28 +1200)] 
Improve documentation of vary_ignore_expire

16 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Fri, 10 Apr 2009 07:15:05 +0000 (19:15 +1200)] 
Author: Mark Nottingham <mnot@pobox.com>
Bug 2599: Idempotent start

As discussed on squid-dev, Squid shouldn't return a shell error when:
  - starting squid, if it's already running
  - stopping squid, if it isn't running
This is to make writing scripts that control squid easier.

Note that it should still notify the user, and should not affect other
operations (e.g., kill, rotate, parse).

16 years agoBootstrapped
Automatic source maintenance [Sat, 4 Apr 2009 01:30:24 +0000 (19:30 -0600)] 
Bootstrapped

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 3 Apr 2009 21:05:19 +0000 (10:05 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Correct parsing of syslog:... log files. Was destroying the configured parameters.

Forward-port from squid-2. Detected by GCC-4.4.

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Fri, 3 Apr 2009 20:29:19 +0000 (09:29 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Fix the wrong "ifndef" in the beggining of the ExtUser.h file.

The old "SQUID_ACLIDENT_H" refers to the include file "acl/Ident.h"
causing problems when both files included in a source file.

16 years agoObsolete: dependency on nss_common.h and nss.h
Amos Jeffries [Fri, 3 Apr 2009 20:23:47 +0000 (09:23 +1300)] 
Obsolete: dependency on nss_common.h and nss.h

Squid-3 currently make no internal reference to any of its symbols.

Squid appears to build and run just fine despite this header being
detected as 'broken' during Squid build tests for some time.

16 years agoCorrected auth_param basic release notes. concurrency do exists in 3.0
Henrik Nordstrom [Tue, 3 Mar 2009 20:48:02 +0000 (21:48 +0100)] 
Corrected auth_param basic release notes. concurrency do exists in 3.0

16 years agoSync ChangeLog and ReleaseNotes
Amos Jeffries [Sun, 1 Mar 2009 04:52:25 +0000 (17:52 +1300)] 
Sync ChangeLog and ReleaseNotes

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 19 Feb 2009 02:26:30 +0000 (15:26 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Support HTTP/0.9 in accelerator mode

HTTP/0.9 requests do not have a HTTP header, fruitless to try to parse
a non-existing header.

Also send the right error page if header parsing fails (ERR_INVALID_REQ, not _URL)

16 years agoParser should talk about auth_param not authparam
Amos Jeffries [Thu, 19 Feb 2009 02:19:34 +0000 (15:19 +1300)] 
Parser should talk about auth_param not authparam

16 years agoMemory leak on PconnPools
Amos Jeffries [Thu, 19 Feb 2009 02:17:28 +0000 (15:17 +1300)] 
Memory leak on PconnPools

Need to free the Pconn hash table properly.
constructor/desctructor are both required.

16 years agoBug 2588: coredump in rDNS lookup
Amos Jeffries [Thu, 19 Feb 2009 02:14:00 +0000 (15:14 +1300)] 
Bug 2588: coredump in rDNS lookup

Handle rDNS of invalid IP gracefully.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 19 Feb 2009 02:08:56 +0000 (15:08 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
external_acl_type %<{ and %USER_CERT_ / %CA_CERT_ parsing brokenness

The parsing of external_acl_type formats was sligtly broken, destroying
%<{ (request header) if SSL was enabled and never able to parse %USER_CERT_
or %CA_CERT_..

Also clarified request/reply header syntax slightly

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 19 Feb 2009 02:03:33 +0000 (15:03 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Need to kick all deferred reads when a delaypool is updated, otherwise things queue up too long.

The chaos SHOULD be addressed by randomizing the order...
(not yet done. XXX comment addded in comm.cc)

16 years agoAuthor: Tim Brown <squid-cache@machine.org.uk>
Amos Jeffries [Mon, 9 Feb 2009 11:17:25 +0000 (00:17 +1300)] 
Author: Tim Brown <squid-cache@machine.org.uk>
Bug 2595: Out of bounds memory write due to off by one

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 8 Feb 2009 09:47:46 +0000 (22:47 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Only account for read ftp data in delay pools once, not twice.

The same data was accounted for twice in the delay pools resulting in
half of the expected rate.

16 years agoAuthor: Francesco Chemolli + Amos Jeffries
Amos Jeffries [Sun, 8 Feb 2009 09:34:00 +0000 (22:34 +1300)] 
Author: Francesco Chemolli + Amos Jeffries
Pconn not being used when they should.

A slight misalignment between the keys generated for push and pop of
connections to the waiting pool caused new connections never to match
any of the existing connections.

This patch makes several alterations to achieve a fix:
 - reduces the FwdState push logics down into a simple selection in
   pconnPush function which previously was a dumb wrapper.
 - adds a dump of current hash keys to the cacheManager pconn report
 - adds much better debugging to the pconn process at level 48,3 and 48,6
 - adds some additional documentation of code to the related call tree

  Pconn API after this patch :

The Pconn KEY takes several parameters (host, port, domain, client-ip).

For HTTP requests this is normally generated from the request data of
same name with domain being optional since it may be identical to host.

However for peer-sourced requests this alters slightly and the host:port
fields become the peer NAME and HTTP-PORT.

This means the pconn key in abstract becomes a key to the TCP remote-end of
the link with an optional anchor on the domain being requested.

16 years ago3.0.STABLE13 SQUID_3_0_STABLE13
Amos Jeffries [Tue, 3 Feb 2009 01:35:16 +0000 (18:35 -0700)] 
3.0.STABLE13

16 years agoPrep for 3.0.STABLE13
Amos Jeffries [Tue, 3 Feb 2009 01:30:22 +0000 (14:30 +1300)] 
Prep for 3.0.STABLE13

16 years agoTypo in half_closed_clients documentation
Amos Jeffries [Tue, 3 Feb 2009 00:34:17 +0000 (13:34 +1300)] 
Typo in half_closed_clients documentation

16 years agoFixup parsing of invalid version numbers
Amos Jeffries [Mon, 2 Feb 2009 13:05:56 +0000 (02:05 +1300)] 
Fixup parsing of invalid version numbers

16 years agoHandle all unknown HTTP/* as HTTP/0.9
Amos Jeffries [Mon, 2 Feb 2009 12:00:42 +0000 (01:00 +1300)] 
Handle all unknown HTTP/* as HTTP/0.9

Assume that all requests are HTTP/0.9 unless explicity stated otherwise.
Drop assert on missing or overflow numeric cases.

16 years agoFix memory leak from logformat parsing
Amos Jeffries [Mon, 2 Feb 2009 11:54:49 +0000 (00:54 +1300)] 
Fix memory leak from logformat parsing

16 years agoadd content area for CSS of cfgman pages
Amos Jeffries [Mon, 2 Feb 2009 11:50:25 +0000 (00:50 +1300)] 
add content area for CSS of cfgman pages

16 years agoFix link error on ufsdump
Amos Jeffries [Mon, 2 Feb 2009 06:50:51 +0000 (19:50 +1300)] 
Fix link error on ufsdump

It appears that libmiscutil MUST be linked after all used local .la libs
or it's symbols may get dropped.

16 years agoBootstrapped
Automatic source maintenance [Tue, 27 Jan 2009 02:04:13 +0000 (19:04 -0700)] 
Bootstrapped

16 years agoFix ESI breaks with --disable-optimizations
Amos Jeffries [Tue, 27 Jan 2009 00:40:24 +0000 (13:40 +1300)] 
Fix ESI breaks with --disable-optimizations

Turns out the libTrie configure script shares some macro handling
which needed a re-sync with the main squid script.

TODO: These should really be made into shared macros.

16 years ago3.0.STABLE12 SQUID_3_0_STABLE12
Amos Jeffries [Wed, 21 Jan 2009 01:57:35 +0000 (18:57 -0700)] 
3.0.STABLE12

16 years agoPrep for 3.0.STABLE12 pt2
Amos Jeffries [Wed, 21 Jan 2009 01:50:02 +0000 (14:50 +1300)] 
Prep for 3.0.STABLE12 pt2

16 years agoPrep for 3.0.STABLE12
Amos Jeffries [Wed, 21 Jan 2009 01:47:39 +0000 (14:47 +1300)] 
Prep for 3.0.STABLE12

16 years agoTestBed found errors in make check
Amos Jeffries [Mon, 19 Jan 2009 04:06:54 +0000 (21:06 -0700)] 
TestBed found errors in make check

16 years agoBootstrapped
Automatic source maintenance [Mon, 19 Jan 2009 02:19:52 +0000 (19:19 -0700)] 
Bootstrapped

16 years agoImport 3.1 TestBed scripts.
Amos Jeffries [Sun, 18 Jan 2009 03:30:40 +0000 (16:30 +1300)] 
Import 3.1 TestBed scripts.

I'm sick of fiddling with the old manual testing permutations.
3.1 testbed is now stable enough to port.

This adds the basic build test structure and layers which 3.0 is currently
known to pass. Some 'make check' errors prevent further layers being added
at this time. That is expected to change.

16 years agoBootstrapped
Automatic source maintenance [Sun, 18 Jan 2009 02:23:34 +0000 (19:23 -0700)] 
Bootstrapped

16 years agoImport formal debug levels from 3.1
Amos Jeffries [Sun, 18 Jan 2009 01:20:06 +0000 (14:20 +1300)] 
Import formal debug levels from 3.1

This will help get around may of the portage errors found nowdays.

16 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sun, 18 Jan 2009 01:14:23 +0000 (14:14 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Bug 2489: Testsuite doesn't obey authentication scheme ./configure parameters

I've added a couple of AC_DEFINEs and a couple of #ifdefs to make the
offending tests conditional on the actually-built builtin auth-methods.

16 years agoBug 2556: HTCP fails without icp_port
Amos Jeffries [Sat, 17 Jan 2009 03:04:27 +0000 (16:04 +1300)] 
Bug 2556: HTCP fails without icp_port

Removes requirement for ICP port to be open for peer UDP queries to take
place.

TODO: Some work still needs to be done to separate the timeout from
icp_timeout and break ICP specific query logics out into icp code files.
But that is just cleanup for later.

16 years agoAuthor: Reinhard Sojka <reinhard.sojka@parlament.gv.at>
Amos Jeffries [Sat, 17 Jan 2009 02:48:14 +0000 (15:48 +1300)] 
Author: Reinhard Sojka <reinhard.sojka@parlament.gv.at>
Bug 2533: Solaris (sparc) with gcc/g++ doe not accept -xarch=generic64

16 years agoPolicy change on half_closed_clients setting
Amos Jeffries [Sat, 17 Jan 2009 02:40:35 +0000 (15:40 +1300)] 
Policy change on half_closed_clients setting

In Accordance with RFC:
http://www.mail-archive.com/squid-users@squid-cache.org/msg58658.html

It is not being removed entirely due to:
http://www.mail-archive.com/squid-dev@squid-cache.org/msg09338.html

16 years agoCoverity scan found a few bad lines.
Amos Jeffries [Sat, 17 Jan 2009 02:34:30 +0000 (15:34 +1300)] 
Coverity scan found a few bad lines.

16 years agoNTLM_AUTH/SMB_LM: replace assertion with clean error report
Amos Jeffries [Sat, 17 Jan 2009 02:03:18 +0000 (15:03 +1300)] 
NTLM_AUTH/SMB_LM: replace assertion with clean error report

16 years agoBug 2564: logformat '%tl' field not working as advertised
Amos Jeffries [Sat, 17 Jan 2009 01:31:49 +0000 (14:31 +1300)] 
Bug 2564: logformat '%tl' field not working as advertised

16 years agoDrop -V option. Obsolete since 2.6
Amos Jeffries [Sat, 17 Jan 2009 01:26:52 +0000 (14:26 +1300)] 
Drop -V option. Obsolete since 2.6

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Fri, 26 Dec 2008 21:47:16 +0000 (10:47 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2542: squid fails to resume dowload (and breaks content) when any ICAP filter is attached

In the case the icap client is enabled, the
ServerStateData::handleMoreAdaptedBodyAvailable called to handle the incoming
data from the ICAP server. Inside this function a StoreIOBuffer created to pass
the data to the related StoreEntry.

The bug is that the offset passed to the StoreIOBuffer did not count the 206
response offsets.
This patch uses the ServerStateData::currentOffset to compute the correct
offset (which also used in the case the icap client is not enabled).

16 years ago3.0.STABLE11 SQUID_3_0_STABLE11
Amos Jeffries [Tue, 23 Dec 2008 04:18:32 +0000 (21:18 -0700)] 
3.0.STABLE11

16 years agoPrep for 3.0.STABLE11
Amos Jeffries [Tue, 23 Dec 2008 03:49:09 +0000 (16:49 +1300)] 
Prep for 3.0.STABLE11

16 years agoBug 2227: Sefgaults in MemBuf::reset during idnsSendQuery
Amos Jeffries [Tue, 23 Dec 2008 03:45:29 +0000 (16:45 +1300)] 
Bug 2227: Sefgaults in MemBuf::reset during idnsSendQuery

16 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
Amos Jeffries [Thu, 11 Dec 2008 23:25:17 +0000 (12:25 +1300)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug 2545: Segmentation fault when squid with icap server use a cache peer.

16 years agoFix SQUID_3_0 specific build error introduced with last commit
Guido Serassio [Mon, 8 Dec 2008 13:30:47 +0000 (14:30 +0100)] 
Fix SQUID_3_0 specific build error introduced with last commit

16 years agoIdentify where unknown method requests come from
Amos Jeffries [Sun, 7 Dec 2008 11:22:07 +0000 (00:22 +1300)] 
Identify where unknown method requests come from

16 years agoMake release script handle sub-RC cleanly.
Amos Jeffries [Wed, 3 Dec 2008 04:11:46 +0000 (21:11 -0700)] 
Make release script handle sub-RC cleanly.

16 years agoAuthor: Andrew Hoying <andrew_hoying@blm.gov>
Amos Jeffries [Wed, 3 Dec 2008 04:10:58 +0000 (21:10 -0700)] 
Author: Andrew Hoying <andrew_hoying@blm.gov>
Bug 2424: filedescriptors being left unnecessary opened

16 years ago3.0.STABLE11-RC1 SQUID_3_0_STABLE11_RC1
Amos Jeffries [Tue, 2 Dec 2008 12:20:50 +0000 (05:20 -0700)] 
3.0.STABLE11-RC1

16 years agoPrep for 3.0.STABLE11-RC1
Amos Jeffries [Tue, 2 Dec 2008 12:15:05 +0000 (01:15 +1300)] 
Prep for 3.0.STABLE11-RC1

16 years agoBug 2526: default ALLOW when no list specified.
Amos Jeffries [Mon, 1 Dec 2008 10:39:25 +0000 (23:39 +1300)] 
Bug 2526: default ALLOW when no list specified.

The expected behavior of ACL checking should cause an implicit default
deny state to be reached unless a terminating denial causes a state to
flip to allow.

A small logic flaw means that completely explicitly absent access control
list was flipped to ALLOW state.

It is believed that most security controls which have explicitly coded
defaults in ther configuration are not impacted by the bug or its fix.
Only empty delay pools and ICAP re*mods are expected to have any change
in behavior as a result.

16 years agoRollback rev 8909
Amos Jeffries [Mon, 1 Dec 2008 05:30:29 +0000 (18:30 +1300)] 
Rollback rev 8909

This change to StoreIO overlooked the signedness of the StoreIO* length
parameter. It may have resulted in objects that should not have been
store making their way into the cache.

Caches created by 3.0.STABLE10 release are known to contain many invalid
entries when rolled back to STABLE9 release. Whether or not these entries
are fatal to Squid is still unknown. It is currently expected that they
will be erased properly, but cause a lot of cache.log warnings while that
is happening. It is left to admin to decide if its worth purging their
cache on upgrade.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 28 Nov 2008 12:08:43 +0000 (01:08 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Fix cache_peer forceddomainname when request has a Host header

cache_peer forceddomainname=xxx only worked when the received request
did not have a Host header.

16 years ago3.0 Release Notes updates
Amos Jeffries [Sun, 9 Nov 2008 03:21:08 +0000 (16:21 +1300)] 
3.0 Release Notes updates

Retrospective squid.conf diff against 2.7.

16 years agoUpdate execute and write permissions from some files.
Amos Jeffries [Sun, 9 Nov 2008 00:55:06 +0000 (13:55 +1300)] 
Update execute and write permissions from some files.

16 years agopermit execution of dummy script
Amos Jeffries [Sun, 2 Nov 2008 01:37:36 +0000 (14:37 +1300)] 
permit execution of dummy script

16 years agoDummy script to allow 3.0 snapshots.
Amos Jeffries [Thu, 30 Oct 2008 02:04:35 +0000 (15:04 +1300)] 
Dummy script to allow 3.0 snapshots.

Squid 3.x now depend on the TestBed scripts verifying the current code
before any snapshot can be built.

Since 3.0 has no TestBed integration we use this dummy script as bypass.

16 years agoCorrect warning on negative_ttl setting
Amos Jeffries [Tue, 28 Oct 2008 07:17:39 +0000 (20:17 +1300)] 
Correct warning on negative_ttl setting

16 years agoSync CONTRIBUTORS with contributed patch sets for 3.0
Amos Jeffries [Mon, 27 Oct 2008 12:23:29 +0000 (01:23 +1300)] 
Sync CONTRIBUTORS with contributed patch sets for 3.0

16 years agoBootstrapped
Automatic source maintenance [Thu, 23 Oct 2008 11:24:43 +0000 (05:24 -0600)] 
Bootstrapped

16 years agoMake --enable-storeio (without specifications) skip coss
Henrik Nordstrom [Thu, 23 Oct 2008 11:21:23 +0000 (13:21 +0200)] 
Make --enable-storeio (without specifications) skip coss

coss isn't supported. Don't automatically enable it.

16 years agoAuthor: Mikio Kishi <mkishi@104.net>
Amos Jeffries [Sun, 19 Oct 2008 11:14:50 +0000 (00:14 +1300)] 
Author: Mikio Kishi <mkishi@104.net>
Fix regression: access.log request size tag (%>st)

16 years agoDrop obsolete CVS Id tag from Release Notes
Amos Jeffries [Wed, 15 Oct 2008 08:48:24 +0000 (21:48 +1300)] 
Drop obsolete CVS Id tag from Release Notes

16 years ago3.0.STABLE 10 SQUID_3_0_STABLE10
Amos Jeffries [Tue, 14 Oct 2008 11:21:20 +0000 (05:21 -0600)] 
3.0.STABLE 10

16 years agoPrep for 3.0.STABLE10
Amos Jeffries [Tue, 14 Oct 2008 11:09:46 +0000 (00:09 +1300)] 
Prep for 3.0.STABLE10

16 years agoDocument the reply_body_max_size line format
Amos Jeffries [Tue, 14 Oct 2008 10:18:50 +0000 (23:18 +1300)] 
Document the reply_body_max_size line format

16 years agoWindows port: Fix build failure on Windows, rollback of wrong changes.
Guido Serassio [Sun, 12 Oct 2008 18:47:33 +0000 (20:47 +0200)] 
Windows port: Fix build failure on Windows, rollback of wrong changes.

The changes from this patch are absolutely wrong:
http://www.squid-cache.org/Versions/v3/3.0/changesets/b8884.patch
This is a 3.0 specific problem.

16 years agoBug 2393: DNS requests getting stuck in idns queue
Amos Jeffries [Sat, 11 Oct 2008 13:59:29 +0000 (02:59 +1300)] 
Bug 2393: DNS requests getting stuck in idns queue

Port of Squid-2 fix by Henrik Nordstrom

There seems to be two problems here.

a) On TCP communication failure Squid starts to restransmit the TCP query as
fast as it can, with no bounds checking. Keeps doing that until there is a
response or Squid is restarted...

b) For some reason the retransmit queue seems to halt for you. I have not yet
reproduced this issue, but may be related to the first..

16 years agoAuthor: Steve Bennett <S.Bennett@lancaster.ac.uk>
Amos Jeffries [Sat, 11 Oct 2008 13:52:24 +0000 (02:52 +1300)] 
Author: Steve Bennett <S.Bennett@lancaster.ac.uk>
Bug 2486: SEGV at startup due to URLHostName

16 years agoAuthor: Henrik Nordstrom <hno@squid-cache.org>
Amos Jeffries [Sat, 11 Oct 2008 13:45:20 +0000 (02:45 +1300)] 
Author: Henrik Nordstrom <hno@squid-cache.org>
Bug 2447: pt 1: Segfault on failed TCP DNS query

Adds debug messages for better tracking.
Aborts fatal operations early.

16 years agoFix: Coverity detected possible NULL dereference.
Amos Jeffries [Wed, 8 Oct 2008 05:15:31 +0000 (18:15 +1300)] 
Fix: Coverity detected possible NULL dereference.

KK message response with exactly zero-length encrypted data component
will cause Squid fakeauth helper to crash.

Not expected in normal operation. But maybe seen with specially crafted
or rare mangled responses.

16 years agoRemove rev 8908. Bad attributions
Amos Jeffries [Wed, 8 Oct 2008 05:11:19 +0000 (18:11 +1300)] 
Remove rev 8908. Bad attributions

16 years agoCoverity detected. inconsistent error detection on StoreIOBUffer
Amos Jeffries [Mon, 6 Oct 2008 11:35:50 +0000 (05:35 -0600)] 
Coverity detected. inconsistent error detection on StoreIOBUffer

Audit reveals only one of several callers which might set negative length
state were checking for it and setting error flag properly.

Makes more sense for the StoreIOBuffer constructor to do its own
error state detection with information than to offload on callers.