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

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