]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
17 years agoImproved output display formatting
amosjeffries [Sat, 12 Jan 2008 20:17:41 +0000 (20:17 +0000)] 
Improved output display formatting

17 years agoBootstrapped
hno [Sat, 12 Jan 2008 08:10:47 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoFormal Debug Levels part 1 - Define names for some debug levels.
amosjeffries [Fri, 11 Jan 2008 12:04:02 +0000 (12:04 +0000)] 
Formal Debug Levels part 1 - Define names for some debug levels.

This allows the use of DBG_CRITICAL and DBG_IMPORTANT instead of magic
numbers 0 and 1 in the debugs() calls. Making code a little more readable
and easier to use. The code itself is not modified to use them yet.

DBG_DATA is added for level 9, though that may change.

TODO: the other levels (2-8) still need deciding. No consensus was reached
amongst the developers for those levels when discussed.

17 years agoAAAA/A failover fix and CNAME recursion deprecation
amosjeffries [Fri, 11 Jan 2008 10:49:18 +0000 (10:49 +0000)] 
AAAA/A failover fix and CNAME recursion deprecation

A bug in the final version of squid internal DNS resolver logics
caused any failover A results to overwrite the paired previous AAAA.

This patch adds state to store the DNS results between failover queries
and to merge the final sets before passing them out to the requestor.

Lookups should now be seemlessly handled within the DNS resolver stub.

CNAME recursion at the ipcache level should now be obsolete and has been
wrapped in a new ./configure --with-dns-cname option which defaults off.
That code has proven to be problematic anyway and will be no great loss.

Additional counters have been added to the squid statistics to track the
amount of queries of each type have been encountered.

17 years agoAuthor: Adrian Chadd <adrian@creative.net.au>, Gonzalo Arana <gonzalo.arana@gmail...
amosjeffries [Fri, 11 Jan 2008 09:38:58 +0000 (09:38 +0000)] 
Author: Adrian Chadd <adrian@creative.net.au>, Gonzalo Arana <gonzalo.arana@gmail.com>
include directive for squid.conf

This patch adds an 'include' option to squid.conf for the purpose of
importing configuration details external to the squid.conf file itself

see Squid 3.1 Release notes for further details.

17 years agoFix syntax errors in 3.1 Release Notes
amosjeffries [Fri, 11 Jan 2008 09:33:34 +0000 (09:33 +0000)] 
Fix syntax errors in 3.1 Release Notes

17 years agoMiscellaneous code fixes.
amosjeffries [Thu, 10 Jan 2008 15:13:43 +0000 (15:13 +0000)] 
Miscellaneous code fixes.

Fixes bad assertion in new code for CNAME handling.
Cleans up some code formatting.
Adds some const-correctness for improved code checking.

17 years agoBug #2170 - FTP protocol does not work in squid3-head
amosjeffries [Tue, 8 Jan 2008 18:51:37 +0000 (18:51 +0000)] 
Bug #2170 - FTP protocol does not work in squid3-head

IPv6 upgrade lost the port-0 semantics for generating a new random port
for the FTP data channel on PASV requests.

17 years agoFix error causing pinger to abort if ICMP unavailable, even if ICMPv6 is.
amosjeffries [Tue, 8 Jan 2008 18:10:48 +0000 (18:10 +0000)] 
Fix error causing pinger to abort if ICMP unavailable, even if ICMPv6 is.

17 years agoMore off_t related cleanups triggered by Bug #2164.
hno [Tue, 8 Jan 2008 00:12:28 +0000 (00:12 +0000)] 
More off_t related cleanups triggered by Bug #2164.

This patch cleans up various pieces of code, from an off_t usage audit
triggered by Bug #2164.

off_t should be used for on-disk file offsets/positions only, not internal
buffers or object offsets.

object offsets should use int64_t

buffer offsets size_t or int, or maybe ssize_t if negative values allowed

17 years agoBug #2164: assertion failed: stmem.cc:321: "candidate.offset >= 0"
hno [Tue, 8 Jan 2008 00:10:22 +0000 (00:10 +0000)] 
Bug #2164: assertion failed: stmem.cc:321: "candidate.offset >= 0"

failed to handle responses >2GB properly unless compiled with 64-bit disk I/O.

this due to abuse of off_t where int64_t is intended.

17 years agoBug #2150: Connection hangs on automatic retry
hno [Mon, 7 Jan 2008 23:22:06 +0000 (23:22 +0000)] 
Bug #2150: Connection hangs on automatic retry

With epoll and probably kqueue as well the filedescriptor need to be
reregistered with the kernle after being replaced with dup2().

17 years agoBug #2175: Update valgrind support for valgrind-3.3.0
hno [Mon, 7 Jan 2008 22:47:08 +0000 (22:47 +0000)] 
Bug #2175: Update valgrind support for valgrind-3.3.0

Valgrind memcheck rearranged the names of it's support macros in
version 3.2.0 to better represent the actual function, and now the
old names has been removed starting with version 3.3.0 causing
build a failure if --with-valgrind-debug is used.

this patch updates Squid to use the new valgrind macro names, and
adds a little glue to be compatible with older valgrind versions

17 years agoFix some minor casting errors affecting cachemgr reporting when cache/mem >2GB
hno [Mon, 7 Jan 2008 22:45:57 +0000 (22:45 +0000)] 
Fix some minor casting errors affecting cachemgr reporting when cache/mem >2GB

17 years agoMake squid_kerb_auth compile again after the IPv6 merge
hno [Mon, 7 Jan 2008 22:25:14 +0000 (22:25 +0000)] 
Make squid_kerb_auth compile again after the IPv6 merge

17 years agoBug #2001: Read full response headers when >4KB
hno [Mon, 7 Jan 2008 22:16:03 +0000 (22:16 +0000)] 
Bug #2001: Read full response headers when >4KB

This is a first step at supporting large response headers, enabling
support in the http protocol handler.

There is still more work to do in other areas before this works.

17 years agoSwedish translation of ERR_ESI
hno [Sun, 30 Dec 2007 11:28:06 +0000 (11:28 +0000)] 
Swedish translation of ERR_ESI

17 years agoRandom authenticaiton failures when using Digest authentication
hno [Sun, 30 Dec 2007 11:06:30 +0000 (11:06 +0000)] 
Random authenticaiton failures when using Digest authentication

The stale= propery of the Digest responses sent by Squid indicated far
too often that the nonce was not stale. Contrary to what the RFC recommends
we should only say that the nonce is not stale when it is a valid nonce but
the response did not compute (invalid user or password). In all other
situations we should say that the nonce is stale even if we haven't
validated the response.

17 years agodigest auth related memory corruption
hno [Sun, 30 Dec 2007 08:54:02 +0000 (08:54 +0000)] 
digest auth related memory corruption

17 years agoAllow informal errors on stderr when using -k parse
hno [Sun, 30 Dec 2007 01:32:31 +0000 (01:32 +0000)] 
Allow informal errors on stderr when using -k parse

17 years agoBug #2063: Hide debugging messages before cache.log is opened
hno [Sun, 30 Dec 2007 01:20:22 +0000 (01:20 +0000)] 
Bug #2063: Hide debugging messages before cache.log is opened

various submodules tries to log informal debug messages while starting,
which ends up on stderr if these is called before cache.log is opened.

this patch changes the default debug level to 0 before cache.log is opened
only allowing critical errors to be reported on stderr.

17 years agoAuthor: Tsantilas Christos <chtsanti@users.sourceforge.net>
hno [Sun, 30 Dec 2007 01:15:45 +0000 (01:15 +0000)] 
Author: Tsantilas Christos <chtsanti@users.sourceforge.net>
Fix netdb_filename usage

I (Henrik) apparently forgot to --enable-icmp when testing the new directive..

17 years agoLower idnsRead: starting.. debug message to level 3 (was 1)
hno [Sun, 30 Dec 2007 00:56:25 +0000 (00:56 +0000)] 
Lower idnsRead: starting.. debug message to level 3 (was 1)

17 years agoKill the last fs/null file
hno [Sun, 30 Dec 2007 00:40:16 +0000 (00:40 +0000)] 
Kill the last fs/null file

17 years agoBug #2107: Unaligned memory access in pinger
hno [Fri, 28 Dec 2007 19:04:45 +0000 (19:04 +0000)] 
Bug #2107: Unaligned memory access in pinger

17 years agoBootstrapped
hno [Thu, 27 Dec 2007 22:49:59 +0000 (22:49 +0000)] 
Bootstrapped

17 years agoRemove the default cache_dir location and the null store type
hno [Thu, 27 Dec 2007 22:48:53 +0000 (22:48 +0000)] 
Remove the default cache_dir location and the null store type

Many people gets confused by the builtin cache_dir location, thinking
that if there is no cache_dir in squid.conf then there is no on-disk cache.
This removes the builtin default.

By removing the builtin default we can also remove the "null" cache_dir
type whos purpose is only to override the builtin default.

17 years agoBootstrapped
hno [Thu, 27 Dec 2007 22:46:06 +0000 (22:46 +0000)] 
Bootstrapped

17 years agonetdb_filename directive to specify location of netdb state file
hno [Thu, 27 Dec 2007 21:55:47 +0000 (21:55 +0000)] 
netdb_filename directive to specify location of netdb state file

was hardcoded to use the first cache_dir. This moves the default location
to the logs directory and may be overridden at compile time by setting
DEFAULT_NETDB_FILE

17 years agoBug #2018: dead_peer_timeout fails to declare peer dead
hno [Thu, 27 Dec 2007 09:12:16 +0000 (09:12 +0000)] 
Bug #2018: dead_peer_timeout fails to declare peer dead

Even if dead_peer_timeout has passed Squid continued sending ICP queries
to the peer at full request speed, and waiting for responses.

17 years agoBug #2114: cache memory accounting not working well
hno [Thu, 27 Dec 2007 08:58:19 +0000 (08:58 +0000)] 
Bug #2114: cache memory accounting not working well

Use the page allocator statistics to report cache_mem usage

This patch removes the weak attempt in keeping an byte-exact cache_mem usage
counter, instead using the actual allocated size (but excluding overhead).

This is the same accounting method as used in Squid-2 btw..

17 years agoAuthor: Alexey Veselovsky <alexey.veselovsky@eykontech.com>
hno [Thu, 27 Dec 2007 08:03:13 +0000 (08:03 +0000)] 
Author: Alexey Veselovsky <alexey.veselovsky@eykontech.com>
Bug #2101: Reuse pconns using LIFO

Change the reuse order of persistent connections to LIFO to keep hot
connections and let unused connections expire.

This is how Squid-2 has been doing things for a long time.

17 years agoMemory corruption in IPAddress::ToURL, called when printing out IPAddress values
hno [Thu, 27 Dec 2007 07:48:06 +0000 (07:48 +0000)] 
Memory corruption in IPAddress::ToURL, called when printing out IPAddress values

17 years agoCorrect IPAddress IASSERT macro to not log false asserts on complex expressions
hno [Thu, 27 Dec 2007 06:59:28 +0000 (06:59 +0000)] 
Correct IPAddress IASSERT macro to not log false asserts on complex expressions

17 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
hno [Thu, 27 Dec 2007 06:39:55 +0000 (06:39 +0000)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug #1148: Add support for chunked transfer decoding of HTTP responses

This small patch uses ICAP's client chunks decoder to decode http chunked
responses.

17 years agoBootstrapped
hno [Thu, 27 Dec 2007 05:40:05 +0000 (05:40 +0000)] 
Bootstrapped

17 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
hno [Thu, 27 Dec 2007 05:33:31 +0000 (05:33 +0000)] 
Author:  Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug #1148: Move Chunked decoding from src/ICAP to src/ to allow it to be used outside ICAP

This is a preparation for adding chunked decoding of HTTP messages

17 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
hno [Thu, 27 Dec 2007 05:28:56 +0000 (05:28 +0000)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Remove unused ieof chunk extension parsing. Only needed in ICAP servers, not clients.

17 years agoKill unused body_size variable
hno [Thu, 27 Dec 2007 05:19:37 +0000 (05:19 +0000)] 
Kill unused body_size variable

17 years agoBug #2159: WCCPv2 assertion failure on Mask assignment
hno [Thu, 27 Dec 2007 04:58:02 +0000 (04:58 +0000)] 
Bug #2159: WCCPv2 assertion failure on Mask assignment

this patch aligns the code with the Squid-2 implementation.

17 years agoKill obsolete phttpd/0.99.72 malformed HEAD response workaround.
hno [Sat, 22 Dec 2007 06:54:38 +0000 (06:54 +0000)] 
Kill obsolete phttpd/0.99.72 malformed HEAD response workaround.

17 years agoThe reply_header_max_size check should not depend on having the whole header read...
hno [Sat, 22 Dec 2007 06:50:24 +0000 (06:50 +0000)] 
The reply_header_max_size check should not depend on having the whole header read in memory

the point of this check is to avoid a DoS on squid, not really access control,
so it needs to be while verified while reading the request header, not after reading it..

17 years agoNew membuf space(size) function to reserve given size for external append
hno [Sat, 22 Dec 2007 06:48:04 +0000 (06:48 +0000)] 
New membuf space(size) function to reserve given size for external append

17 years agoLicense cleanup to comply with GPLv2 or later.
hno [Sat, 22 Dec 2007 05:50:31 +0000 (05:50 +0000)] 
License cleanup to comply with GPLv2 or later.

Replaced edir_ldapext.c with a cut down copy of pdb_nds.c from Samba about 3.0.24
or so (CVS copy, just before Samba changed license to GPLv3)

17 years ago2.7 branched
hno [Fri, 21 Dec 2007 19:18:19 +0000 (19:18 +0000)] 
2.7 branched

17 years agoCode cleanup. OO the ASN ACL radix tree data format.
amosjeffries [Thu, 20 Dec 2007 18:19:48 +0000 (18:19 +0000)] 
Code cleanup. OO the ASN ACL radix tree data format.

- Drops two macros
- Adds type-safe compile checking on the data format
- Abstracts the size-management away
- Abstracts the data conversion away
- Abstracts memcpy away from the radix management

17 years agoBootstrapped
hno [Thu, 20 Dec 2007 08:10:46 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoRemove last remains of inet_aton() from squid.
amosjeffries [Wed, 19 Dec 2007 09:36:26 +0000 (09:36 +0000)] 
Remove last remains of inet_aton() from squid.

Squid now uses inet_pton IP-neutral function instead.

17 years agoClose off some FIXME INET6 that are not really needed.
amosjeffries [Wed, 19 Dec 2007 06:24:25 +0000 (06:24 +0000)] 
Close off some FIXME INET6 that are not really needed.
Removes a bypass that should have been removed before HEAD push. Oops.

17 years agoUpdate documentation after IPv6
amosjeffries [Tue, 18 Dec 2007 19:15:34 +0000 (19:15 +0000)] 
Update documentation after IPv6

- Adds changelog entries for 3-HEAD
- Updates TODO list for done item
- Updated CREDITS with copyright of Treehouse Networks Ltd code additions
- suggested config update in Quickstart

17 years agoRemove now empty/obsolete files from HEAD
amosjeffries [Tue, 18 Dec 2007 18:46:20 +0000 (18:46 +0000)] 
Remove now empty/obsolete files from HEAD

17 years agoFix compile error in --enable-referer-log
amosjeffries [Tue, 18 Dec 2007 18:34:27 +0000 (18:34 +0000)] 
Fix compile error in --enable-referer-log

current_time now housed properly in SquidTime.h

17 years agoFix more typos.
amosjeffries [Mon, 17 Dec 2007 09:21:53 +0000 (09:21 +0000)] 
Fix more typos.

17 years agoICAP fixes mk2.
amosjeffries [Mon, 17 Dec 2007 05:45:09 +0000 (05:45 +0000)] 
ICAP fixes mk2.

AnyAddr is default, drop extra setAnyAddr.

17 years agoSeveral compile fixes.
amosjeffries [Mon, 17 Dec 2007 05:32:09 +0000 (05:32 +0000)] 
Several compile fixes.

17 years agoAuthor: Tsantilas Christos <chtsanti@users.sourceforge.net>
hno [Sun, 16 Dec 2007 08:42:14 +0000 (08:42 +0000)] 
Author: Tsantilas Christos <chtsanti@users.sourceforge.net>
Fix ICAP compile after the IPv6 merge

Just a small patch to allow ICAP compile and run with the newly added
IPV6 changes.
First tests looks good.

Regards,
Christos

17 years agoBootstrapped
hno [Sun, 16 Dec 2007 08:10:46 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoBootstrapped.
amosjeffries [Sat, 15 Dec 2007 11:16:03 +0000 (11:16 +0000)] 
Bootstrapped.

17 years agoAdd Release Notes for 3.1
amosjeffries [Sat, 15 Dec 2007 10:55:01 +0000 (10:55 +0000)] 
Add Release Notes for 3.1

Also fix version addition mistakenly imported from squid3-ipv6.
That reverts the snapshot to 3-HEAD-... from 3-HEAD-IPv6-...

17 years agoBootstrapped
hno [Sat, 15 Dec 2007 08:10:45 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoImport IPv6 support from squid3-ipv6 branch to 3-HEAD.
amosjeffries [Sat, 15 Dec 2007 06:11:41 +0000 (06:11 +0000)] 
Import IPv6 support from squid3-ipv6 branch to 3-HEAD.

This patch fully enables squid to handle IPv6 on internally supported
protocols which have IPv6 capability.
see 3.1 Release Notes for full details on the IPv6 changes.
also see squid.conf generated from this point for configuration changes.

TODO: Release-Notes fro 3.1 have yet to be created. The mentioned details
      documentation will come in a later patch.

17 years agoSync store meta assignments with Squid-2.
hno [Sat, 15 Dec 2007 03:07:15 +0000 (03:07 +0000)] 
Sync store meta assignments with Squid-2.

17 years agoDon't be so verbose about not yet implemented store meta data types
hno [Sat, 15 Dec 2007 02:48:51 +0000 (02:48 +0000)] 
Don't be so verbose about not yet implemented store meta data types

17 years agoAccept some unknown store meta entries without throwing away the rest.
hno [Sat, 15 Dec 2007 02:47:54 +0000 (02:47 +0000)] 
Accept some unknown store meta entries without throwing away the rest.

The store meta parser stopped when encountering the first "unknown" entry.
This is bad for extensibility. Should continue parsing what we do know
how to handle.

17 years agoTypo.
amosjeffries [Fri, 14 Dec 2007 12:34:16 +0000 (12:34 +0000)] 
Typo.

17 years agoImport alternate RFC 3495 library functions from squid3-ipv6 branch.
amosjeffries [Fri, 14 Dec 2007 12:03:25 +0000 (12:03 +0000)] 
Import alternate RFC 3495 library functions from squid3-ipv6 branch.

Some OS do not provide RFC 3495 libraries (socket extensions for IPv6).
While these OS are expected to be built with --disable-ipv6 they still need
squid to provide the library methods for IP-neutral code use of IPv4.

TODO: This patch does not contain the autotools configure options to cause
 these functions to be built. That will come in the later IPv6-enabling patch

17 years agoImport RFC 3596 library extenstions from squid3-ipv6 branch.
amosjeffries [Fri, 14 Dec 2007 11:42:23 +0000 (11:42 +0000)] 
Import RFC 3596 library extenstions from squid3-ipv6 branch.

This library extends the rfc1035 DNS resolver built into squid to handle
RFC 3596 IPv6 extensions for DNS. Namely the AAAA and PTR records.

17 years agoImport IPAddress class and unit-tests from squid3-ipv6 branch
amosjeffries [Fri, 14 Dec 2007 11:29:22 +0000 (11:29 +0000)] 
Import IPAddress class and unit-tests from squid3-ipv6 branch

This class forms the basis of the IPv6 capable code for squid

17 years agoBootstrapped
hno [Fri, 14 Dec 2007 08:12:40 +0000 (08:12 +0000)] 
Bootstrapped

17 years agoSquid-3.0 has been branched, making this 3.HEAD again.
hno [Fri, 14 Dec 2007 08:11:53 +0000 (08:11 +0000)] 
Squid-3.0 has been branched, making this 3.HEAD again.

17 years agoAdjust snapshots to Squid-3.0
hno [Fri, 14 Dec 2007 08:06:24 +0000 (08:06 +0000)] 
Adjust snapshots to Squid-3.0

17 years agoUpdated changelog for 3.0.STABLE1 release
wessels [Fri, 14 Dec 2007 07:17:01 +0000 (07:17 +0000)] 
Updated changelog for 3.0.STABLE1 release
oops, should have done before branching.

17 years agoAdd Barefruit to SPONSORS, taken from web site sponsors page
wessels [Fri, 14 Dec 2007 05:14:43 +0000 (05:14 +0000)] 
Add Barefruit to SPONSORS, taken from web site sponsors page

17 years agoAdd Kaspersky Lab to SPONSORS file
wessels [Fri, 14 Dec 2007 04:58:24 +0000 (04:58 +0000)] 
Add Kaspersky Lab to SPONSORS file

17 years agoRemove references to myself and NLANR, add pointer to COPYRIGHT file
wessels [Fri, 14 Dec 2007 04:56:10 +0000 (04:56 +0000)] 
Remove references to myself and NLANR, add pointer to COPYRIGHT file

17 years agoChange old info@ircache.net contact address to info@squid-cache.org
wessels [Fri, 14 Dec 2007 04:53:23 +0000 (04:53 +0000)] 
Change old info@ircache.net contact address to info@squid-cache.org

17 years agoFixed more compile errors after removal of snprintf.h
rousskov [Fri, 7 Dec 2007 01:01:52 +0000 (01:01 +0000)] 
Fixed more compile errors after removal of snprintf.h

17 years agoFix compile errors after removal of snprintf.h
amosjeffries [Thu, 6 Dec 2007 09:37:15 +0000 (09:37 +0000)] 
Fix compile errors after removal of snprintf.h

17 years agoRemoved the following debugging line, numerous copies of which used to appear
rousskov [Wed, 5 Dec 2007 23:02:29 +0000 (23:02 +0000)] 
Removed the following debugging line, numerous copies of which used to appear
in the cache.log after "Exiting normally".

ACL::Prototype::~Prototype: TODO: unregister me

TODO: notes should be placed in source code, not debug log.

17 years agoBootstrapped
hno [Wed, 5 Dec 2007 08:10:44 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoSet default formatting flags for the debugging stream to "fixed" with a
rousskov [Tue, 4 Dec 2007 22:20:22 +0000 (22:20 +0000)] 
Set default formatting flags for the debugging stream to "fixed" with a
2-digit precision. This avoids log entries such as

Took 3e-06 seconds (3.5e+03 objects/sec).

This change affects pretty much all debugging output, although most messages
will not change in appearance. Compilation errors are possible. The patch was
posted to squid-dev in August 2007. I do not recall any objections but
apparently I forgot to commit it.

17 years agoDelete now unused snprintf.h header file
hno [Tue, 4 Dec 2007 20:31:11 +0000 (20:31 +0000)] 
Delete now unused snprintf.h header file

17 years agoremoved lib/snprintf.c credits as it's no longer shipped with Squid
hno [Tue, 4 Dec 2007 20:29:59 +0000 (20:29 +0000)] 
removed lib/snprintf.c credits as it's no longer shipped with Squid

17 years agoKill GPL-incompatible (Apache) lib/snprintf.c source.
hno [Tue, 4 Dec 2007 20:22:54 +0000 (20:22 +0000)] 
Kill GPL-incompatible (Apache) lib/snprintf.c source.

Should not be needed on any relevant platform today I think, but if needed
we can always add back a GPL-compatible version..

17 years agoBug #2032: assertion failed: comm.cc:116: "ccb->active == false"
hno [Tue, 4 Dec 2007 10:35:52 +0000 (10:35 +0000)] 
Bug #2032: assertion failed: comm.cc:116: "ccb->active == false"

don't try to process the body on CONNECT requests even if there is a
Content-Length header.

17 years agoBug 2111 - squid.conf, others overwrite -X
amosjeffries [Sun, 2 Dec 2007 15:23:56 +0000 (15:23 +0000)] 
Bug 2111 - squid.conf, others overwrite -X

Add configuration option to store knowledge of -X command-line option
and use it to abort any parsing of future debug_options.

Add call to first set all debug levels to '9' (full) before freezing
the debug state.

17 years agoWrap equation argument to debugs() properly.
amosjeffries [Sun, 2 Dec 2007 14:19:58 +0000 (14:19 +0000)] 
Wrap equation argument to debugs() properly.

Safe code does not rely on internals protecting themelves. Even if they do.

17 years agoCorrect attribution of current MD5 changes.
amosjeffries [Fri, 30 Nov 2007 11:34:12 +0000 (11:34 +0000)] 
Correct attribution of current MD5 changes.

The current MD5 alterations in 3.0 are the ones made by Duane not me (Amos)

17 years agoBootstrapped
hno [Fri, 30 Nov 2007 08:10:47 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoFix typo added during some patch.
amosjeffries [Tue, 27 Nov 2007 16:36:07 +0000 (16:36 +0000)] 
Fix typo added during some patch.

17 years agoFix SegFault when NetDB asked to ping a zero-length domain/hostname
amosjeffries [Tue, 27 Nov 2007 14:48:40 +0000 (14:48 +0000)] 
Fix SegFault when NetDB asked to ping a zero-length domain/hostname

17 years agoBug 2096: allow pending cache hits when delay pools not compiled in
wessels [Tue, 27 Nov 2007 05:20:04 +0000 (05:20 +0000)] 
Bug 2096: allow pending cache hits when delay pools not compiled in

For some time now, Squid has marked pending cache hits (a cache hit
when e->store_status != STORE_OK) as LOG_TCP_MISS.  This was done
so that pending hits do not bypass delay pools.  It had the negative
side effect of generating confusing access.log entries because cache
hits get logged as miss.

With this patch, the behavior is reverted when delay pools are not
compiled in.  Pending hits will be logged as some kind of TCP_HIT.

Users of delay pools will just have to live with this logging quirk,
although the "forwarded to" field of access.log can always be used
to see if the request was forwarded (a miss) or not (a hit).

17 years agopack header entries on cache updates
hno [Mon, 26 Nov 2007 20:09:54 +0000 (20:09 +0000)] 
pack header entries on cache updates

17 years agoUpdate to Squid MD5 syntax
hno [Mon, 26 Nov 2007 20:07:14 +0000 (20:07 +0000)] 
Update to Squid MD5 syntax

17 years agoCorrect update of 304 headers
hno [Mon, 26 Nov 2007 19:31:37 +0000 (19:31 +0000)] 
Correct update of 304 headers

17 years agoBootstrapped
hno [Wed, 21 Nov 2007 08:10:43 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoMake squid_db_auth reopen the database connection on each query by default
hno [Tue, 20 Nov 2007 21:46:49 +0000 (21:46 +0000)] 
Make squid_db_auth reopen the database connection on each query by default

This change adds support for non-persistent database connections, and also
makes that the default.

To use a persistent database connection use the --persist option.

17 years agoUpdated MD5 credits (no longer RSA). Removed winbind credits (no longer shipped with...
hno [Tue, 20 Nov 2007 21:44:12 +0000 (21:44 +0000)] 
Updated MD5 credits (no longer RSA). Removed winbind credits (no longer shipped with Squid)

17 years agoDrop the RSA licensed MD5 implementation, and use the one shipped with Squid instead
hno [Tue, 20 Nov 2007 21:34:17 +0000 (21:34 +0000)] 
Drop the RSA licensed MD5 implementation, and use the one shipped with Squid instead

17 years agoChange priority of proxy auth and extacl provided username in login=*:pass
hno [Mon, 19 Nov 2007 05:00:58 +0000 (05:00 +0000)] 
Change priority of proxy auth and extacl provided username in login=*:pass

It's quite useful to be able to manipulate the forwarded username when using
login=*:pass together with authentication.