]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
13 years agoBug 3423: access violation in URL parser
Jan Klemkow [Thu, 24 Nov 2011 11:11:42 +0000 (04:11 -0700)] 
Bug 3423: access violation in URL parser

13 years agoAvoid crashes when processing bad X509 common names (CN).
Alex Rousskov [Thu, 24 Nov 2011 07:20:46 +0000 (00:20 -0700)] 
Avoid crashes when processing bad X509 common names (CN).

X509_REQ_get_pubkey() returns a refcounted object that we must clean after use.
X509_REQ_get_subject_name() does not; cleaning the result may cause segfaults.
How we are supposed to tell the difference is beyond me.

13 years agoBug 2910: MemBuf may grow beyond max_capacity
Alex Rousskov [Thu, 17 Nov 2011 09:51:07 +0000 (02:51 -0700)] 
Bug 2910: MemBuf may grow beyond max_capacity

13 years agoBug 3412: External ACL Uses Invalid Cache Entry
Amos Jeffries [Thu, 17 Nov 2011 09:48:40 +0000 (02:48 -0700)] 
Bug 3412: External ACL Uses Invalid Cache Entry

13 years agoBug 3398: persistent server connection closed after PUT/DELETE
Christos Tsantilas [Thu, 17 Nov 2011 09:44:39 +0000 (02:44 -0700)] 
Bug 3398: persistent server connection closed after PUT/DELETE

13 years agoFix assertion when dstdomain abused in access controls
Amos Jeffries [Thu, 17 Nov 2011 09:42:02 +0000 (02:42 -0700)] 
Fix assertion when dstdomain abused in access controls

This converts an assertion into a logged warning and a failed-match if
dstdomain ACLs are used in places where the HTTP request is not available.

13 years agoBug 3408: Wrong header length leads to EFAULTs when creating UFS swap.log.new
Matthias Pitzl [Thu, 17 Nov 2011 09:40:29 +0000 (02:40 -0700)] 
Bug 3408: Wrong header length leads to EFAULTs when creating UFS swap.log.new

Also localized the header variable as it may be destroyed at any time.

13 years agoBug 3299: dnsserver: various undefined references
Amos Jeffries [Sun, 6 Nov 2011 07:24:35 +0000 (01:24 -0600)] 
Bug 3299: dnsserver: various undefined references

13 years agoPortability: add cstdarg as source of var_arg when available
Amos Jeffries [Sun, 6 Nov 2011 07:16:18 +0000 (01:16 -0600)] 
Portability: add cstdarg as source of var_arg when available

13 years agoSourceFormat Enforcement
Automatic source maintenance [Mon, 31 Oct 2011 01:15:38 +0000 (19:15 -0600)] 
SourceFormat Enforcement

13 years agoBug 1243: Build overrides configured AR setting
Amos Jeffries [Sun, 30 Oct 2011 06:27:44 +0000 (00:27 -0600)] 
Bug 1243: Build overrides configured AR setting

13 years agoBug 3077: '\' in url query strings cause Digest authentication to fail
Amos Jeffries [Sun, 30 Oct 2011 06:20:26 +0000 (00:20 -0600)] 
Bug 3077: '\' in url query strings cause Digest authentication to fail

13 years ago3.1.16 SQUID_3_1_16
Amos Jeffries [Thu, 13 Oct 2011 08:28:51 +0000 (02:28 -0600)] 
3.1.16

13 years agoPrep for 3.1.16
Amos Jeffries [Thu, 13 Oct 2011 08:22:01 +0000 (02:22 -0600)] 
Prep for 3.1.16

13 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 12 Oct 2011 02:15:19 +0000 (20:15 -0600)] 
SourceFormat Enforcement

13 years agoAdd directive dns_v4_first to make IPv4 connections before IPv6 is tried.
Amos Jeffries [Tue, 11 Oct 2011 02:12:56 +0000 (20:12 -0600)] 
Add directive dns_v4_first to make IPv4 connections before IPv6 is tried.

Default off, to prefer the faster protocol.

The use-case for this is networks which are IPv6-enabled but stuck
behind slow tunnels and whose upstream is not supporting full transit
services over IP.

13 years agoBug 3237: seq fault in free() from rfc1035RRDestroy
Joerg Lehrke [Tue, 11 Oct 2011 02:08:18 +0000 (20:08 -0600)] 
Bug 3237: seq fault in free() from rfc1035RRDestroy

13 years agoBug 3190: Large HTTP POST stuck after early ICAP 400 error response
Christos Tsantilas [Tue, 11 Oct 2011 02:04:19 +0000 (20:04 -0600)] 
Bug 3190: Large HTTP POST stuck after early ICAP 400 error response

When an ICAP REQMOD service responds with an error to
(or the REQMOD transaction aborts while processing) a large HTTP
request, the HTTP request may get stuck because the request body
buffer gets full and nobody consumes the no-longer-needed content.

The ICAP code quits but leaves the body buffer intact in case the
client-side code wants to bypass the error. After that, nobody consumes
the request body because the buggy client side does not inform the body
pipe that there will be no other consumers, which would have triggered
a noteBodyConsumerAborted() callback and enable auto-consumption or closed
the client connection.

This is a Measurement Factory project

13 years agoBug 3373: invalid URL in ERR_CACHE_ACCESS_DENIED
David Parks [Tue, 11 Oct 2011 02:00:18 +0000 (20:00 -0600)] 
Bug 3373: invalid URL in ERR_CACHE_ACCESS_DENIED

13 years agoBug 3368: Unhandled exceptions are not logged (workaround)
Stefan Fritsch [Sun, 9 Oct 2011 06:02:17 +0000 (00:02 -0600)] 
Bug 3368: Unhandled exceptions are not logged (workaround)

13 years agoBug 3241: squid_kerb_auth cross compilation fix
Bertrand Jacquin [Wed, 5 Oct 2011 22:03:17 +0000 (16:03 -0600)] 
Bug 3241: squid_kerb_auth cross compilation fix

When building inside Squid sources we can assume yes/HAVE_SQUID.

13 years agoDocs: clarify retry_on_error situations
Amos Jeffries [Fri, 16 Sep 2011 11:06:32 +0000 (05:06 -0600)] 
Docs: clarify retry_on_error situations

13 years agodb_auth: display available DSN drivers on connect error
Amos Jeffries [Fri, 16 Sep 2011 10:55:04 +0000 (04:55 -0600)] 
db_auth: display available DSN drivers on connect error

13 years agoUpdated OpenSSL 1.0.0 version checks.
Amos Jeffries [Fri, 16 Sep 2011 10:53:09 +0000 (04:53 -0600)] 
Updated OpenSSL 1.0.0 version checks.

LHASH_LHASH and PSTRING are only screwed up in 1.0.0d and later.

13 years agoRemove duplicated code in gopher fix
Henrik Nordstrom [Fri, 16 Sep 2011 09:01:55 +0000 (03:01 -0600)] 
Remove duplicated code in gopher fix

harmless copy-paste error when patch was forward-ported from squid-2

13 years agoDocs: limit internal DNS options properly
Amos Jeffries [Fri, 16 Sep 2011 09:00:34 +0000 (03:00 -0600)] 
Docs: limit internal DNS options properly

13 years agoBug 3320: miss_access description confusing
Amos Jeffries [Fri, 2 Sep 2011 09:50:43 +0000 (03:50 -0600)] 
Bug 3320: miss_access description confusing

13 years agoBug 3326: miss_access incorrect default
Amos Jeffries [Tue, 30 Aug 2011 02:25:11 +0000 (20:25 -0600)] 
Bug 3326: miss_access incorrect default

13 years ago3.1.15 SQUID_3_1_15
Amos Jeffries [Sun, 28 Aug 2011 07:52:51 +0000 (01:52 -0600)] 
3.1.15

13 years agoPrep for 3.1.15
Amos Jeffries [Sun, 28 Aug 2011 07:49:15 +0000 (01:49 -0600)] 
Prep for 3.1.15

13 years agoRemove hierarchy_stoplist default value
Amos Jeffries [Sun, 28 Aug 2011 06:14:58 +0000 (00:14 -0600)] 
Remove hierarchy_stoplist default value

This should have been done long ago with the other dynamic website
handling changes. It has caused a certain amount of confusion when things
which apparently should go to peers fail to reach them.

13 years agoBug 3295: broken escaping in rfc1738_do_escape
Amos Jeffries [Sun, 28 Aug 2011 06:00:06 +0000 (00:00 -0600)] 
Bug 3295: broken escaping in rfc1738_do_escape

13 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 28 Aug 2011 04:25:35 +0000 (22:25 -0600)] 
SourceFormat Enforcement

13 years agocf_gen requires cstdlib
Amos Jeffries [Sun, 28 Aug 2011 03:51:05 +0000 (21:51 -0600)] 
cf_gen requires cstdlib

13 years agoPrep for 3.1.15 and 3.0.STABLE26
Amos Jeffries [Sat, 27 Aug 2011 14:55:07 +0000 (08:55 -0600)] 
Prep for 3.1.15 and 3.0.STABLE26

13 years agoPortability: Drop u_short type
Amos Jeffries [Sat, 27 Aug 2011 14:42:51 +0000 (08:42 -0600)] 
Portability: Drop u_short type

Use uint16_t for precise binary size or unsigned short instead.

13 years agoPolished unused code.
Alex Rousskov [Sat, 27 Aug 2011 12:34:04 +0000 (06:34 -0600)] 
Polished unused code.

The unused dlopen() call is actually useful to enable when lt_dlopen() reports
"file not found" errors for loadable modules that do exist but that Libtool
cannot load successfully due to undefined symbols or other errors.

This inability to correctly report a library loading error is a long-standing
Libtool bug, stemming from Libtool's desire to try and load several
differently named library files until one succeeds, losing true error
information in the process.

13 years agoCorrect parsing of large Gopher indexes
Henrik Nordstrom [Sat, 27 Aug 2011 12:32:51 +0000 (06:32 -0600)] 
Correct parsing of large Gopher indexes

13 years agoTypo on rev.10357 port
Amos Jeffries [Sat, 27 Aug 2011 10:38:01 +0000 (04:38 -0600)] 
Typo on rev.10357 port

13 years agoBug 3213: https sites (CONNECT) not open when using NTLM
Amos Jeffries [Sat, 27 Aug 2011 09:49:09 +0000 (03:49 -0600)] 
Bug 3213: https sites (CONNECT) not open when using NTLM

13 years agoPortability: use code instead of static initialization
Francesco Chemolli [Sat, 27 Aug 2011 07:46:07 +0000 (01:46 -0600)] 
Portability: use code instead of static initialization

g++ 4.4.5 on ARM mis-detects an inizializer's variable size. Give it a hint.

13 years agoFix NIS helper build on FreeBSD
Amos Jeffries [Sat, 27 Aug 2011 07:45:03 +0000 (01:45 -0600)] 
Fix NIS helper build on FreeBSD

Fails on clang++ and other strict compilers due to missing __cplusplus
checks in FreeBSD system headers and yp_prot.h typedefs bool unless
BOOL_DEFINED is defined.

13 years agoBug 1791: timestampsSet does not validate Date: if server sends very old date
Barry Dobyns [Sat, 27 Aug 2011 07:43:33 +0000 (01:43 -0600)] 
Bug 1791: timestampsSet does not validate Date: if server sends very old date

13 years agoBug 3217: "!fd_table[fd].closing()" from ServerStateData::noteMoreBodySpaceAvailable
Alex Rousskov [Sat, 27 Aug 2011 07:14:24 +0000 (01:14 -0600)] 
Bug 3217: "!fd_table[fd].closing()" from ServerStateData::noteMoreBodySpaceAvailable

It is possible that the next hop connection is going through the closing steps
when we receive a "noteMoreBodySpaceAvailable" notification from the response
body consumer. Do not try to read in this case.

13 years agoBug 3107: ncsa_auth DES silently truncates passwords to 8 bytes
Amos Jeffries [Sat, 27 Aug 2011 07:03:26 +0000 (01:03 -0600)] 
Bug 3107: ncsa_auth DES silently truncates passwords to 8 bytes

13 years agoBug 2662: cf_gen failure when cross compiling
Bertrand Jacquin [Sat, 27 Aug 2011 06:48:42 +0000 (00:48 -0600)] 
Bug 2662: cf_gen failure when cross compiling

Adds support for "./configure HOSTCXX=foo" to specify a host compiler
to build cf_gen with. If none is specified the normal build compiler will
be used.

13 years agoMigrate cf_gen tool from C-style to C++
Francesco Chemolli [Sat, 27 Aug 2011 06:46:52 +0000 (00:46 -0600)] 
Migrate cf_gen tool from C-style to C++

13 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 27 Aug 2011 06:39:37 +0000 (00:39 -0600)] 
SourceFormat Enforcement

13 years agoPortability: several issues in MinGW
Amos Jeffries [Sat, 27 Aug 2011 04:06:39 +0000 (22:06 -0600)] 
Portability: several issues in MinGW

13 years agoKill one goto
Amos Jeffries [Sat, 27 Aug 2011 04:02:57 +0000 (22:02 -0600)] 
Kill one goto

13 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 18 Aug 2011 02:21:37 +0000 (20:21 -0600)] 
SourceFormat Enforcement

13 years agoFix missing brackets on revnno.10347
Amos Jeffries [Wed, 17 Aug 2011 09:05:48 +0000 (03:05 -0600)] 
Fix missing brackets on revnno.10347

14 years agoBug 2655: passing wrong the username to the url_rewrite_program
Oliver Dumschat [Fri, 5 Aug 2011 03:14:37 +0000 (21:14 -0600)] 
Bug 2655: passing wrong the username to the url_rewrite_program

14 years agoDebug enhancements for rewrite helper user
Amos Jeffries [Fri, 5 Aug 2011 03:13:36 +0000 (21:13 -0600)] 
Debug enhancements for rewrite helper user

14 years agoBug 3131: fd_table[fd].closing() assert from ConnStateData::noteMoreBodySpaceAvailable()
Alex Rousskov [Fri, 5 Aug 2011 03:07:37 +0000 (21:07 -0600)] 
Bug 3131: fd_table[fd].closing() assert from ConnStateData::noteMoreBodySpaceAvailable()

14 years agoBug 3232: fails to compile with OpenSSL v1.0.0
Christos Tsantilas [Tue, 2 Aug 2011 09:39:49 +0000 (03:39 -0600)] 
Bug 3232: fails to compile with OpenSSL v1.0.0

14 years agoCorrect memset size when clearing wccp assign message buffer
Henrik Nordstrom [Tue, 2 Aug 2011 08:11:55 +0000 (02:11 -0600)] 
Correct memset size when clearing wccp assign message buffer

14 years agoFix if assignment warning
Henrik Nordstrom [Tue, 2 Aug 2011 08:10:13 +0000 (02:10 -0600)] 
Fix if assignment warning

14 years agoSimplify SASL config.test.
Henrik Nordstrom [Tue, 2 Aug 2011 08:08:49 +0000 (02:08 -0600)] 
Simplify SASL config.test.

If headers are there then it's reasonable to expect libs as well being
present.

Note: not all archs places libs in /lib /usr/lib and
full searching is overkill.

14 years agoev_entry is a C++ class these days, don't attempt using it as a struct
Henrik Nordstrom [Tue, 2 Aug 2011 08:06:19 +0000 (02:06 -0600)] 
ev_entry is a C++ class these days, don't attempt using it as a struct

14 years agoRegression fix: vhost and defaultsite causing vport to be ignored
Amos Jeffries [Mon, 25 Jul 2011 22:23:39 +0000 (16:23 -0600)] 
Regression fix: vhost and defaultsite causing vport to be ignored

Instead of dropping it completely we should be sanely combining them like
Squid-2 does for most cases. This appears to have been lost while removing
the getmyHostname() from the process and reducing the
prepareTransparentUrl code.

This fix makes vport apply even if vhost was used. It will modify the
Host: header contents according to the documented vport semantics.

This fix makes vport apply even if defaultsite= was used. It will append
the specified port to the domain name given. Domains with port attached
are not supported and will produce invalid URLs.
TODO: detect this case while parsing the initial config and warn.

14 years agoRegression fix: vhost and defaultsite causing vport to be ignored
Amos Jeffries [Mon, 25 Jul 2011 01:38:40 +0000 (19:38 -0600)] 
Regression fix: vhost and defaultsite causing vport to be ignored

Instead of dropping it completely we should be sanely combining them like
Squid-2 does for most cases. This appears to have been lost while removing
the getmyHostname() from the process and reducing the
prepareTransparentUrl code.

This fix makes vport apply even if vhost was used. It will modify the
Host: header contents according to the documented vport semantics.

This fix makes vport apply even if defaultsite= was used. It will append
the specified port to the domain name given. Domains with port attached
are not supported and will produce invalid URLs.
TODO: detect this case while parsing the initial config and warn.

14 years agoProvide NULL when missing
Amos Jeffries [Sun, 24 Jul 2011 13:27:31 +0000 (07:27 -0600)] 
Provide NULL when missing

14 years agoFix GCC4.6 warning unused variables
Amos Jeffries [Sun, 24 Jul 2011 13:26:17 +0000 (07:26 -0600)] 
Fix GCC4.6 warning unused variables

14 years agoEnable negative cacheing on unknown or -1 expiry timestamp
Amos Jeffries [Sun, 24 Jul 2011 13:24:24 +0000 (07:24 -0600)] 
Enable negative cacheing on unknown or -1 expiry timestamp

This syncs the squid-3 code with what squid-2 does. There seem to be no
problems in squid-2, but squid-3 does not cache at times when it should
according to negative_ttl

14 years agoFix GCC 4.6 warning unused variables in test-suite
Amos Jeffries [Fri, 22 Jul 2011 14:45:06 +0000 (08:45 -0600)] 
Fix GCC 4.6 warning unused variables in test-suite

14 years agoBug 1842: Optimize order of tests in peerWouldBePinged() and peerHTTPOkay()
Jean-Gabriel Dick [Fri, 22 Jul 2011 14:42:14 +0000 (08:42 -0600)] 
Bug 1842: Optimize order of tests in peerWouldBePinged() and peerHTTPOkay()

The peerAllowedToUse() function may be time consuming, especially on sites that
have lots of acls.

14 years agoBug 2051: 'default' cache_peer option does not match documentation
Amos Jeffries [Fri, 22 Jul 2011 14:39:54 +0000 (08:39 -0600)] 
Bug 2051: 'default' cache_peer option does not match documentation

Move the default parent to second-lowest priority on the parent
selection. This also allows the other more delicate balancing
algorithms to work properly with a default configured.

sourcehash and userhash are reversed in priority to simplify and
speed the selection code.

Also, getAnyParent() is dropped. It is redundant with the FIRSTUP
 algorithm.

14 years agoBug 3114: Memory leak in SSL certificate verify code
Christos Tsantilas [Wed, 20 Jul 2011 11:41:44 +0000 (23:41 +1200)] 
Bug 3114: Memory leak in SSL certificate verify code

14 years agoFix --disable-follow-x-forwarded-for and correct documentation
Amos Jeffries [Wed, 20 Jul 2011 03:42:19 +0000 (21:42 -0600)] 
Fix --disable-follow-x-forwarded-for and correct documentation

This feature is available by default. But protected by default "deny all"
to restrict security problems.

14 years agoBug 2495: ignore whitespace prefix on config lines
Amos Jeffries [Wed, 13 Jul 2011 09:28:43 +0000 (03:28 -0600)] 
Bug 2495: ignore whitespace prefix on config lines

Allow whitespace indentation before any lines. Making SMP and comment
configuration easier to read for some.

14 years agoBug 3222: cache_peer name is not logging on CONNECT
Amos Jeffries [Wed, 13 Jul 2011 09:27:39 +0000 (03:27 -0600)] 
Bug 3222: cache_peer name is not logging on CONNECT

14 years agoRemove duplicate calls to IsAnyAddr in DNS
Amos Jeffries [Wed, 13 Jul 2011 09:25:23 +0000 (03:25 -0600)] 
Remove duplicate calls to IsAnyAddr in DNS

14 years ago3.1.14 SQUID_3_1_14
Amos Jeffries [Mon, 4 Jul 2011 04:37:53 +0000 (22:37 -0600)] 
3.1.14

14 years agoBug 3261: Could not create a DNS socket
Amos Jeffries [Mon, 4 Jul 2011 04:32:11 +0000 (22:32 -0600)] 
Bug 3261: Could not create a DNS socket

Reverts IP address ANYADDR changes due to regression.

14 years agoBug 2138: NTLM passthrough using accel cache_peer and ssl
Juan [Fri, 1 Jul 2011 04:21:53 +0000 (22:21 -0600)] 
Bug 2138: NTLM passthrough using accel cache_peer and ssl

This is a temporary workaround for 3.1 series. A better fix for 3.2 and
later is known but needs verifiction.

14 years ago3.1.13 SQUID_3_1_13
Amos Jeffries [Fri, 1 Jul 2011 02:47:43 +0000 (20:47 -0600)] 
3.1.13

14 years agoPrep for 3.1.13
Amos Jeffries [Fri, 1 Jul 2011 02:47:20 +0000 (20:47 -0600)] 
Prep for 3.1.13

14 years agoIp::Address::IsAnyAddr did not return true for IPv4-only anyaddr
Christos Tsantilas [Thu, 30 Jun 2011 03:23:57 +0000 (21:23 -0600)] 
Ip::Address::IsAnyAddr did not return true for IPv4-only anyaddr

14 years agoBug 3239: Rename myip/myport as localip/localport - Fix initial patch
Christos Tsantilas [Thu, 30 Jun 2011 03:21:11 +0000 (21:21 -0600)] 
Bug 3239: Rename myip/myport as localip/localport - Fix initial patch

A misstyped  if(strcmp ...) statemets has as result, all acl type in squid.conf
to be considered as "localip" acl type.

14 years agoUpdate ssl_crtd to use 'OK' status inline with other helpers
Amos Jeffries [Thu, 30 Jun 2011 03:20:03 +0000 (21:20 -0600)] 
Update ssl_crtd to use 'OK' status inline with other helpers

14 years agoBug 3153: additional compile fixes
Christos Tsantilas [Mon, 27 Jun 2011 00:31:09 +0000 (18:31 -0600)] 
Bug 3153: additional compile fixes

14 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 18 Jun 2011 11:43:39 +0000 (05:43 -0600)] 
SourceFormat Enforcement

14 years ago3.1.12.3 SQUID_3_1_12_3
Amos Jeffries [Sat, 18 Jun 2011 09:02:37 +0000 (03:02 -0600)] 
3.1.12.3

14 years agoPrep for 3.1.12.3
Amos Jeffries [Sat, 18 Jun 2011 08:58:35 +0000 (20:58 +1200)] 
Prep for 3.1.12.3

14 years agoFix squidclient -V option and allow non-HTTP protocols to be tested
Amos Jeffries [Fri, 17 Jun 2011 13:26:58 +0000 (07:26 -0600)] 
Fix squidclient -V option and allow non-HTTP protocols to be tested

The "-" case is for old style HTTP (called 0.9) where there is no version
string. The "-V 0.9" is for testing servers with broken version number
tag "HTTP/0.9". Do not mix these up!

This also adds the ability to send non-HTTP version tags for testing.
 ie "-V ICAP/1.0" or "-V ICY/1.0"

14 years agoFix segfault in parse_eol()
Amos Jeffries [Fri, 17 Jun 2011 13:25:58 +0000 (07:25 -0600)] 
Fix segfault in parse_eol()

14 years agoFixed bypass of SSL certificate validation errors.
Christos Tsantilas [Fri, 17 Jun 2011 13:24:39 +0000 (07:24 -0600)] 
Fixed bypass of SSL certificate validation errors.

The bypass code was calling ACLChecklist::fastCheck() multiple times
if multiple certificate errors were found. That method should not be
called multiple times because it changes the internal ACLChecklist
state, producing wrong answers for repeated calls.

This patch fixes the ACLChecklist::fastCheck() method so it can be called
multiple times. Each fastCheck() call results in an independent access
list check.

This is a Measurement Factory project

14 years agoBug 3153: Prevent ICAP RESPMOD transactions getting stuck with the adapted body.
Alex Rousskov [Fri, 17 Jun 2011 13:21:15 +0000 (07:21 -0600)] 
Bug 3153: Prevent ICAP RESPMOD transactions getting stuck with the adapted body.

Part 1.

  Server is expected to receive adapted response headers and then consume the
  adapted response body, if any. If the server receives the headers and then
  aborts, it must notify the ICAP side that nobody will consume the body.
  Otherwise, the ICAP transaction will fill the BodyPipe buffer and get stuck
  waiting for the consumer to free some space.

Part 2:

  This fix still leaves one potential race condition unhandled: The ICAP
  Initiatee disappears right after sending the adapted headers to the Server
  (because there is nothing else for that initiatee to do). After the
  noteAdaptationAnswer() call is scheduled by ICAP and before it is received by
  the Server job, there is no usable link between Server and ICAP.  There is no
  way for the Server to notify the ICAP transaction that the Server job is
  aborting during that time (and there is no Server job at all after it aborts,
  naturally).

  The solutions is to develop a custom AsyncCall which will call the
  expectNoConsumption() on the message pipe if the call cannot be dialed (i.e.,
  the message cannot be delivered to Server).

14 years agoDisplay critical WARNING: about myip/myport on interception proxies.
Amos Jeffries [Fri, 17 Jun 2011 13:07:07 +0000 (07:07 -0600)] 
Display critical WARNING: about myip/myport on interception proxies.

Advertise myportname for use instead.

14 years agoFix RADIUS helper resource leak
Amos Jeffries [Fri, 17 Jun 2011 13:06:12 +0000 (07:06 -0600)] 
Fix RADIUS helper resource leak

cppcheck detected the config file was never closed/released. This could
prevent the helper shutting down cleanly.

14 years agoFix segfault parsing digest auth realm
Amos Jeffries [Fri, 17 Jun 2011 13:05:21 +0000 (07:05 -0600)] 
Fix segfault parsing digest auth realm

Also enact a TODO about Digest::Config constructor.

14 years agoPort 2.7: Add debug to url rewriter, allowing to print the full command line sent...
Guido Serassio [Fri, 17 Jun 2011 12:57:27 +0000 (06:57 -0600)] 
Port 2.7: Add debug to url rewriter, allowing to print the full command line sent to the helper

14 years agoPolish: display easily grepped config lines on -k parse
Amos Jeffries [Fri, 17 Jun 2011 12:48:01 +0000 (06:48 -0600)] 
Polish: display easily grepped config lines on -k parse

14 years agoBug 3214: "helperHandleRead: unexpected read from ssl_crtd" errors.
Christos Tsantilas [Fri, 17 Jun 2011 12:36:07 +0000 (06:36 -0600)] 
Bug 3214: "helperHandleRead: unexpected read from ssl_crtd" errors.

Squid would read the beginning of a crtd response split across multiple
read operations and treat it as a complete response, causing various
certificate-related errors.

This patch:
 - allow the use of other than the '\n' character as the end of message mark
   for helper responses.
 - Use the '\1' char as end-of-message char for crtd helper. This char looks
   safe because the crtd messages are clear text only messages.

14 years agopaste error
Amos Jeffries [Tue, 7 Jun 2011 12:21:20 +0000 (06:21 -0600)] 
paste error

14 years agoBug 3236: Port of %oa, %<lp and %<la log format options
Amos Jeffries [Tue, 7 Jun 2011 02:13:37 +0000 (20:13 -0600)] 
Bug 3236: Port of %oa, %<lp and %<la log format options

Christos Tsantilas:
 Add logging of the local TCP port used by transactions with http servers

  The new log format code is "%<lp"

  In the case there are several server-side connections logs the port of
  the last connection.

  This is a Measurement Factory project.

Amos Jeffries:
 Port 2.7: logformat tag for logging the outgoing IP address (tcp_outgoing_address)

  This adds the log format to log the local IP address used on outgoing
  connections to peers and servers. Squid-2.7 called this %oa.

  However it is a perfectly matching part of the existing set of %la and
  %lp (local inbound) and %<lp (local outbound port).

  As such, the %oa is accepted as input for backward compatibility, but the
  Squid-3 version is: %<la

  This is based only very loosely on the Squid-2 %oa work by Andrew Atangulov

14 years ago3.1.12.2 SQUID_3_1_12_2
Amos Jeffries [Tue, 31 May 2011 04:25:55 +0000 (22:25 -0600)] 
3.1.12.2

14 years agoFix orphan #endif
Amos Jeffries [Sun, 29 May 2011 22:44:20 +0000 (16:44 -0600)] 
Fix orphan #endif

14 years agoclientside_tos is a 3.2 feature
Amos Jeffries [Sun, 29 May 2011 22:06:10 +0000 (16:06 -0600)] 
clientside_tos is a 3.2 feature