]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
15 years agoMaintenance: Fix validaton of release version SQUID_3_1_5
Amos Jeffries [Fri, 2 Jul 2010 02:19:59 +0000 (20:19 -0600)] 
Maintenance: Fix validaton of release version

15 years ago3.1.5
Amos Jeffries [Fri, 2 Jul 2010 02:03:45 +0000 (20:03 -0600)] 
3.1.5

15 years agoPrep for 3.1.5
Amos Jeffries [Fri, 2 Jul 2010 01:59:56 +0000 (13:59 +1200)] 
Prep for 3.1.5

15 years agoFix context leak in HttpStateData::processReplyHeader
Amos Jeffries [Fri, 2 Jul 2010 01:24:43 +0000 (19:24 -0600)] 
Fix context leak in HttpStateData::processReplyHeader

15 years agoAuthor: Matthias Pitzl <silamael@coronamundi.de>
Amos Jeffries [Sun, 27 Jun 2010 09:54:35 +0000 (21:54 +1200)] 
Author: Matthias Pitzl <silamael@coronamundi.de>
Bug 2967: raw-IPv6 address URL with append_domain broken

15 years agoAuthor: Sean Critica <sean.critica@gmail.com>
Amos Jeffries [Sun, 27 Jun 2010 09:50:06 +0000 (21:50 +1200)] 
Author: Sean Critica <sean.critica@gmail.com>
Bug 2903: does not send indirect X-Client-Ip in ICAP respmod

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 27 Jun 2010 09:44:17 +0000 (21:44 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Fix free memory corruption and off-by-on error when comparing SNMP OIDs

Both introduced by the polishing of the SNMP tree generator.

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 27 Jun 2010 09:40:48 +0000 (21:40 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Restart DNS retransmission count when restarting the query as an A lookup

15 years agoAuthor: Robert Collins <robertc@robertcollins.net>
Amos Jeffries [Sun, 27 Jun 2010 09:35:30 +0000 (21:35 +1200)] 
Author: Robert Collins <robertc@robertcollins.net>
Bug 2950: HTTP responses with no Date, L-M or Expires can now be cached

HTTP responses with no Date, Last-modified or Expires headers can
now be cached (given an appropriate refresh_pattern). Previously we
were not caching them in case of an infinite loop in cache farms:
however Squid adds Date: headers now which remove that concern.

15 years agoMaintenance: Formater skip libltdl dirs
Amos Jeffries [Sun, 27 Jun 2010 09:21:15 +0000 (21:21 +1200)] 
Maintenance: Formater skip libltdl dirs

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 13 Jun 2010 02:17:17 +0000 (20:17 -0600)] 
SourceFormat Enforcement

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 12 Jun 2010 12:03:07 +0000 (00:03 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2937: Fails to detect chunked encoding if not given in all lower case

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 12 Jun 2010 11:42:52 +0000 (23:42 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Port from 2.7: max_filedescriptor config option

Since Squid no longer really has any hardcoded filedescriptor limitations
it makes sense to have a squid.conf directive allowing the number of
filedescriptors to be tuned runtime. Default if unset is to obey whatever
ulimit settings as before.

 * setMaxFD: figures out what to we can use for Squid_MaxFD

 * setSystemLimits: Configures the system limitations to match our
  expectations which might be lower than what setMaxFD finds if
  the comm loop has additional restrictions

 * Restrict limited select() I/O loop below FD_SETSIZE.

AYJ:
  Henrik informs that loops using fd_set() (select and win32-select) must
  be kept below FD_SETSIZE or they can hang Squid or cause out-of-bounds
  memory errors.

NP: Squid-2 does not appear to limit select() like this. May need fixing too.

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 12 Jun 2010 10:46:20 +0000 (22:46 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
persistent_connection_after_error is meant to be on by default

for some reason the default was set to off. Default should be on
as reflected in the description.

15 years agokFreeBSD does not have linux headers. Wrap properly.
Amos Jeffries [Sat, 12 Jun 2010 10:36:06 +0000 (22:36 +1200)] 
kFreeBSD does not have linux headers. Wrap properly.

15 years agoMaintenance: Use system MD5 instead of hard-coded python paths
Amos Jeffries [Sat, 12 Jun 2010 10:29:11 +0000 (22:29 +1200)] 
Maintenance: Use system MD5 instead of hard-coded python paths

15 years agoAuthor: Sean Critica <sean.critica@gmail.com>
Amos Jeffries [Sat, 12 Jun 2010 10:25:31 +0000 (22:25 +1200)] 
Author: Sean Critica <sean.critica@gmail.com>
Bug 2943: ICAP tokens not logged when using multiple access

15 years agoSourceFormat Enforcement
Automatic source maintenance [Mon, 31 May 2010 01:39:08 +0000 (19:39 -0600)] 
SourceFormat Enforcement

15 years agoOpenBSD: Fix build mem.cc warning: converting of negative value
Amos Jeffries [Mon, 31 May 2010 01:27:12 +0000 (13:27 +1200)] 
OpenBSD: Fix build mem.cc warning: converting of negative value

15 years ago3.1.4 SQUID_3_1_4
Amos Jeffries [Sun, 30 May 2010 13:20:23 +0000 (07:20 -0600)] 
3.1.4

15 years agoPrep for 3.1.4
Amos Jeffries [Sun, 30 May 2010 13:15:00 +0000 (01:15 +1200)] 
Prep for 3.1.4

15 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Sun, 30 May 2010 13:08:03 +0000 (07:08 -0600)] 
Author:  Alex Rousskov <rousskov@measurement-factory.com>
Bug 2789: Optimize unlimited memory pools, and correctly handle limits > 2GB.

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sun, 30 May 2010 13:05:25 +0000 (07:05 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Disable chunked memory pools by default. Rework memory pools

- Default to the old simple non-chunked pool type using malloc
  with a simple freelist per pool.
- Various statistics & cachemgr Memory Utilization fixes
- Source reorganisation to split pool implementations from the general
  framework. Allocators now in MemPoolChunked.cc and MemPoolMalloc.cc,
  with general framework & statistics in MemPool.cc.

The chunked allocator is still available and can be activated by setting
the environment variable MEMPOOLS=1 but the default is now the non-chunked
allocator which has been fixed to account allocations properly for statistics
and also maintain a simple freelist to cache allocations.

No squid.conf changes, other than that the memory_pools and
memory_pools_limit directives now works as intended (not possible
with the chunked allocator).

15 years agoBug 2810: common log format generates 2 lines of syslog
Amos Jeffries [Sun, 30 May 2010 09:11:10 +0000 (21:11 +1200)] 
Bug 2810: common log format generates 2 lines of syslog

Based on work by Keyran Bayliss

15 years agoAuthor: Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
Amos Jeffries [Sun, 30 May 2010 07:52:45 +0000 (19:52 +1200)] 
Author: Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
Add Joomla and Salted Hash support to basic_db_auth helper

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 29 May 2010 01:39:35 +0000 (19:39 -0600)] 
SourceFormat Enforcement

15 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Fri, 28 May 2010 06:10:57 +0000 (00:10 -0600)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2697: Adaptation leaks and extra requests after reconfiguration

This patch "detaches" services from the configuration during reconfiguration.
Detached services do not participate in new adaptation transactions but allow
the old transactions to finish nicely. Once all users are gone, the refcounted
service disappears.

As a side effect of these fixes, several aspects of eCAP service registration
and mapping of loaded and configured eCAP services have been fixed. We will be
able to claim support for eCAP reconfiguration after libecap adds
reconfiguration API.

15 years agoBug 2877: pt2: only output zero-size warning on reverse-proxy requests
Amos Jeffries [Fri, 28 May 2010 04:21:43 +0000 (22:21 -0600)] 
Bug 2877: pt2: only output zero-size warning on reverse-proxy requests

15 years agoPolished source-maintenance
Amos Jeffries [Fri, 28 May 2010 04:17:13 +0000 (22:17 -0600)] 
Polished source-maintenance

15 years agoAdd source-maintenance.sh to perform automated Maintenance Updates
Amos Jeffries [Wed, 26 May 2010 04:00:23 +0000 (16:00 +1200)] 
Add source-maintenance.sh to perform automated Maintenance Updates

* merge scripts/srcformat.sh automated formatting
* merge scripts/mk-debugs.sh previously manual debug section indexing

Also, cleanup some source files debug section information ready for
regular automated enforcement.

15 years agoUpdated documentation
Amos Jeffries [Wed, 26 May 2010 03:55:41 +0000 (15:55 +1200)] 
Updated documentation

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Wed, 26 May 2010 03:53:10 +0000 (15:53 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Change LDAP helpers to default to LDAP version 3 if available

World has moved on, and it's now not uncommon to find LDAP servers not
accepting the old version 2.

15 years agoAuthor: Xavier Redon <xavier.redon@polytech-lille.fr>
Amos Jeffries [Wed, 26 May 2010 03:50:23 +0000 (15:50 +1200)] 
Author: Xavier Redon <xavier.redon@polytech-lille.fr>
Bug 2933: Verification of the max. port number for WCCP2 dynamic service

15 years agoDump refresh_pattern config as single lines not pairs
Amos Jeffries [Wed, 26 May 2010 03:49:37 +0000 (15:49 +1200)] 
Dump refresh_pattern config as single lines not pairs

15 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Wed, 26 May 2010 03:46:04 +0000 (15:46 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Author: Amos Jeffries <squid3@treenet.co.nz>
Fixed IpAddress port printing for ports higher than 9999:

snprintf includes zero-terminator in its size limit, so 7
rather than 6 bytes are needed to snprintf a colon followed
by 5 port digits.

Also, fix ToHostname calculation potentially truncating port numbers

15 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Wed, 26 May 2010 03:43:53 +0000 (15:43 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2633: Fix Ecap::HeaderRep::value(name) fails when there is no named header field

Calling Adaptation::Ecap::HeaderRep::value(const Name &name) with names
of header fields that do not exist leads to

    ICAP/AsyncJob.cc(218) dial: AsyncJob::noteStart threw exception:
    basic_string::_S_construct NULL not valid

I suspect this is a combination of
 - std::string constructor incapable of handling a nil char* pointer.
 - String::termedBuf() returning an nil pointer when the string is empty.

When there is no specified header field in the message, the value()
wrapper in Squid gets an empty String for the header value, which is
then used to create std::string, which fails or leads to failure.

I think it is wrong for termedBuf to return nil (because nil is not
0-terminated). I have not tried to fix that because we will have a new
String class soon.

15 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Wed, 26 May 2010 03:40:20 +0000 (15:40 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2922: Fix assertion failed: HttpHeader.cc: "Headers[id].stat.aliveCount"

Fixed header accounting to avoid the "Headers[id].stat.aliveCount" assertion.

We were incrementing the alive header field counter twice for each decrement,
which probably resulted in the alive counter wrapping back to zero, triggering
the assertion.

15 years agoUpdated follow_x_forwarded-for documentation
Amos Jeffries [Tue, 25 May 2010 23:39:46 +0000 (11:39 +1200)] 
Updated follow_x_forwarded-for documentation

15 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Sun, 23 May 2010 11:25:59 +0000 (23:25 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2879: pt2: 3.0 regression in headers end finding

Consider the case when we received an empty (zero bytes) response.

The committed hack (bzr r9935) makes the "Invalid Response" warning misleading
because it adds CRLF to the empty response. The same hack makes the correct
error determination even more broken than it was (because the rest of the code
now sees content when none exited). It also mentions the wrong bug number.

The attached patch fixes the above and attempts to route empty response
processing to the right error (ERR_ZERO_SIZE_OBJECT).

TODO: Reconsider polluting cache.log with unlimited Invalid Response warnings,
at least in a forward proxy environment where the admin has no control over
responses.

15 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Sun, 23 May 2010 11:14:39 +0000 (23:14 +1200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2896 fix: assertion failed: comm.cc:2063: "!fd_table[fd].closing()"

When comm_close() has been called for the server fd but the close handler has
not yet been activated, the Server may receive an async call not associated
with the fd (e.g., more request body data coming from the HTTP or ICAP client)
that prompts the server to write to the fd.  We now check whether it is still
safe to write before writing. If it is not safe, we do not write but wait for
our close handler to be called.

TODO: when all comm_write callers check for fd closing, comm API can be
redefined to drop unsafe calls instead of asserting.

15 years agoCorrect documentation for squid_db_auth helper
Amos Jeffries [Mon, 17 May 2010 11:04:51 +0000 (23:04 +1200)] 
Correct documentation for squid_db_auth helper

15 years agoReset all addresses as OK after trying them all. This to avoid a "deadlock"
Henrik Nordstrom [Fri, 14 May 2010 12:40:35 +0000 (14:40 +0200)] 
Reset all addresses as OK after trying them all. This to avoid a "deadlock"
when all addresses of the currnet procotol have been marked bad but
there remains addresses in another protocol which means there is no addresses
we can connect to but unfortunately we don't know that in the current
upside-down layering.

15 years agoBug #2876: FD_SETSIZE override not working on all linux distributions
Henrik Nordstrom [Fri, 14 May 2010 12:02:06 +0000 (14:02 +0200)] 
Bug #2876: FD_SETSIZE override not working on all linux distributions

The glibc hack for overriding FD_SETSIZE seems to have broken down on some families
of Linux distribution, requiring one more header to be included before redefine.

Hopefully this does not break the FD_SETSIZE override on more systems than
it fixes.. if it does then some additional autoconffuu will be needed.

15 years agoFix non-IPv6 build failure introduced by the commResetFD cleanup
Henrik Nordstrom [Fri, 14 May 2010 05:54:32 +0000 (07:54 +0200)] 
Fix non-IPv6 build failure introduced by the commResetFD cleanup

15 years agoFall back on IPv4 if IPv6 is not present
Henrik Nordstrom [Fri, 14 May 2010 05:39:29 +0000 (07:39 +0200)] 
Fall back on IPv4 if IPv6 is not present

automatically fall back on IPv4 operation if it fails creating an
IPv6 socket. This may happen if Squid is built with IPv6 support
enabled but no IPv6 stack is available when it runs.

15 years agoPatch cleanup
Henrik Nordstrom [Fri, 14 May 2010 04:39:44 +0000 (06:39 +0200)] 
Patch cleanup

15 years agoClean up default config addresses to not hardcode IPv4
Henrik Nordstrom [Fri, 14 May 2010 04:37:13 +0000 (06:37 +0200)] 
Clean up default config addresses to not hardcode IPv4

15 years agoMerged from trunk
Henrik Nordstrom [Fri, 14 May 2010 04:17:17 +0000 (06:17 +0200)] 
Merged from trunk

15 years agoMore work on IPv4 fallback. Preserve IPv4 address status, and kill unused check4Mappe...
Henrik Nordstrom [Fri, 14 May 2010 04:16:42 +0000 (06:16 +0200)] 
More work on IPv4 fallback. Preserve IPv4 address status, and kill unused check4Mapped method

15 years agoClean up use of commResetFD when socket incompatible with requested address
Henrik Nordstrom [Fri, 14 May 2010 04:13:30 +0000 (06:13 +0200)] 
Clean up use of commResetFD when socket incompatible with requested address

This patch backs out part of the patch for Bug #2222 and replaces it by
crudely cycling over the available addresses, trying to skip over
addresses not compatible with the current socket.

This solves issues seen when using tproxy or tcp_outgoing_address and
DNS of the requested host returns AAAA records in addition to A records.

This change is interim, waiting for the larger connection setup
overhaul, but seems to do the trick for now.

One effect of this change is that there will be no fallback to the other
IP generation if the socket is configured to a specific outgoing
address. Priory the code threw away the outgoing address and tried
again when encountering an incompatibility.

15 years agoCleanup patch
Henrik Nordstrom [Fri, 14 May 2010 04:02:18 +0000 (06:02 +0200)] 
Cleanup patch

15 years agoCleanup patch
Henrik Nordstrom [Fri, 14 May 2010 03:58:00 +0000 (05:58 +0200)] 
Cleanup patch

15 years agoCleanup patch
Henrik Nordstrom [Fri, 14 May 2010 03:52:44 +0000 (05:52 +0200)] 
Cleanup patch

15 years agoIPv4 fallback if IPv6 disabled
Henrik Nordstrom [Fri, 14 May 2010 02:07:21 +0000 (04:07 +0200)] 
IPv4 fallback if IPv6 disabled

15 years agoindented
Henrik Nordstrom [Fri, 14 May 2010 01:38:27 +0000 (03:38 +0200)] 
indented

15 years agoCorrect IPv4 over IPv6 test
Henrik Nordstrom [Fri, 14 May 2010 01:29:58 +0000 (03:29 +0200)] 
Correct IPv4 over IPv6 test

15 years agoCorrect F->sock_family setting on accept sockets, ipv6/ipv4 compile condition was...
Henrik Nordstrom [Fri, 14 May 2010 01:08:15 +0000 (03:08 +0200)] 
Correct F->sock_family setting on accept sockets, ipv6/ipv4 compile condition was reversed

15 years agomerged from 3.1
Henrik Nordstrom [Thu, 13 May 2010 11:32:40 +0000 (13:32 +0200)] 
merged from 3.1

15 years agoTry to address IPv4 over IPv6-only sockets
Henrik Nordstrom [Thu, 13 May 2010 11:19:59 +0000 (13:19 +0200)] 
Try to address IPv4 over IPv6-only sockets

15 years agoAuthor: Wojciech Zatorski <zator@bg.szczecin.pl>
Amos Jeffries [Wed, 12 May 2010 08:57:35 +0000 (20:57 +1200)] 
Author: Wojciech Zatorski <zator@bg.szczecin.pl>
Bug 2919: tcp_outgoing_address ACLs not obeying acl_uses_indirect_client

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Wed, 12 May 2010 08:39:09 +0000 (20:39 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Rename generated fragments to .cci to avoid misunderstandings (was .h).

Applies to cf_parser.cci and cf_gen_defines.cci

15 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Wed, 12 May 2010 05:23:26 +0000 (17:23 +1200)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Fixed several symbol clashes in auth helpers.

15 years agoAuthor: R Phillips <r.phillips@uq.edu.au>
Amos Jeffries [Wed, 12 May 2010 04:04:11 +0000 (16:04 +1200)] 
Author: R Phillips <r.phillips@uq.edu.au>
Bug 2924: RADIUS helper compile issues

15 years agoClean up commReset use in combination with tproxy or tcp_outgoing_address
Henrik Nordstrom [Tue, 11 May 2010 01:35:41 +0000 (03:35 +0200)] 
Clean up commReset use in combination with tproxy or tcp_outgoing_address

15 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Wed, 5 May 2010 07:42:45 +0000 (19:42 +1200)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Portability fix: improve detecition of libdb-related headers.

15 years agoOpenSolaris: PAM conversation defined non-const
Amos Jeffries [Tue, 4 May 2010 13:42:02 +0000 (01:42 +1200)] 
OpenSolaris: PAM conversation defined non-const

15 years agoAuthor: Matthias "Silamael" <Silamael@coronamundi.de>
Amos Jeffries [Tue, 4 May 2010 08:59:34 +0000 (20:59 +1200)] 
Author: Matthias "Silamael" <Silamael@coronamundi.de>
OpenBSD 4.6 build error: FD_SETSIZE redefined

15 years ago3.1.3 SQUID_3_1_3
Amos Jeffries [Sun, 2 May 2010 10:46:37 +0000 (04:46 -0600)] 
3.1.3

15 years agoPrep for 3.1.3
Amos Jeffries [Sun, 2 May 2010 10:35:50 +0000 (22:35 +1200)] 
Prep for 3.1.3

15 years agoACL Tag requires request not conn
Amos Jeffries [Sun, 2 May 2010 10:14:12 +0000 (22:14 +1200)] 
ACL Tag requires request not conn

This makes the tag ACL type work in most access lists.

Connection details are not always available and not actually needed by tag.

15 years agoRemove HTTP/1.1 sent to clients.
Amos Jeffries [Sun, 2 May 2010 03:56:18 +0000 (15:56 +1200)] 
Remove HTTP/1.1 sent to clients.

15 years ago3.1.2 SQUID_3_1_2
Amos Jeffries [Sat, 1 May 2010 11:39:11 +0000 (05:39 -0600)] 
3.1.2

15 years agoPrep for 3.1.2
Amos Jeffries [Sat, 1 May 2010 09:42:05 +0000 (21:42 +1200)] 
Prep for 3.1.2

15 years agoMake Ip::Address < operator work with NOADDR
Amos Jeffries [Sat, 1 May 2010 08:55:19 +0000 (20:55 +1200)] 
Make Ip::Address < operator work with NOADDR

15 years agoFix build issue in WCCPv1 handshake port.
Amos Jeffries [Sat, 1 May 2010 02:39:57 +0000 (14:39 +1200)] 
Fix build issue in WCCPv1 handshake port.

15 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Fri, 30 Apr 2010 13:27:21 +0000 (01:27 +1200)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Portability fix for profiler on CPU/OS combos where it's not supported.

15 years agoDrop obsolete RADIUS auth makefiles
Amos Jeffries [Fri, 30 Apr 2010 13:23:01 +0000 (01:23 +1200)] 
Drop obsolete RADIUS auth makefiles

15 years agoBug 2863: pt 1: Some Cygwin compile errors
Amos Jeffries [Fri, 30 Apr 2010 12:59:12 +0000 (00:59 +1200)] 
Bug 2863: pt 1: Some Cygwin compile errors

15 years agoAuthor: Amos Jeffries <squid3@treenet.co.nz>
Amos Jeffries [Wed, 28 Apr 2010 00:35:50 +0000 (18:35 -0600)] 
Author: Amos Jeffries <squid3@treenet.co.nz>
Author: gkeeling <grm___k@hotmail.com>
Bug 2860: WCCPv1 broken in 3.1

15 years agoEnsure the PID file directory exists on install.
Amos Jeffries [Wed, 28 Apr 2010 00:30:42 +0000 (18:30 -0600)] 
Ensure the PID file directory exists on install.

/var/run may not be the location installed to now and squid -k signals will
not work if the PID file cannot be opened due to missing diretories.

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Wed, 28 Apr 2010 00:29:54 +0000 (18:29 -0600)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2913: fix db_auth warning in new perl version

15 years agoAuthor: Walter <bundestrojaner2@googlemail.com>
Amos Jeffries [Wed, 28 Apr 2010 00:20:13 +0000 (18:20 -0600)] 
Author: Walter <bundestrojaner2@googlemail.com>
Bug 2904: make can create uncomplete files

15 years agoReal --enable-ipv6 fix
Amos Jeffries [Sat, 24 Apr 2010 05:18:30 +0000 (17:18 +1200)] 
Real --enable-ipv6 fix

15 years agobasic_ldap_auth.8 does not exist in 3.1
Amos Jeffries [Sat, 24 Apr 2010 02:39:16 +0000 (14:39 +1200)] 
basic_ldap_auth.8 does not exist in 3.1

15 years agoBug 2895: Disable setsockopt(IP_TRANSPARENT) for TPROXYv2
Amos Jeffries [Fri, 23 Apr 2010 01:17:20 +0000 (13:17 +1200)] 
Bug 2895: Disable setsockopt(IP_TRANSPARENT) for TPROXYv2

15 years agoRe-disable IPv6-only settings in IPv4
Amos Jeffries [Thu, 22 Apr 2010 23:45:01 +0000 (11:45 +1200)] 
Re-disable IPv6-only settings in IPv4

15 years agoCorrect behaviour of --enable-ipv6.
Amos Jeffries [Thu, 22 Apr 2010 13:19:34 +0000 (01:19 +1200)] 
Correct behaviour of --enable-ipv6.

 * Absence of the option means auto-detect.

 * Disable means drop IPv6 code from build.

 * Enable now actually means require IPv6 to be active and working.
   If set the build will fail on machines without IPv6 capability.

15 years agoBug 2874: accept literal IPv6 address in icap_service URL
Amos Jeffries [Thu, 22 Apr 2010 13:16:16 +0000 (01:16 +1200)] 
Bug 2874: accept literal IPv6 address in icap_service URL

NP: This just ports the URL parsing from squid's main parser.
    If host needs to be written out anywhere it will need to be
    re-encoded properly.

15 years agoCleanup: remove Cisms from GNURegex alternative
Amos Jeffries [Thu, 22 Apr 2010 13:10:25 +0000 (01:10 +1200)] 
Cleanup: remove Cisms from GNURegex alternative

15 years agoAuthor: Robert Walsh <robert.walsh@bbn.com>
Amos Jeffries [Thu, 22 Apr 2010 13:02:17 +0000 (01:02 +1200)] 
Author: Robert Walsh <robert.walsh@bbn.com>
Bug 2848: Early Shutdown kill leads to misleading clean close with client browsers

Send TCP RST instead of FIN when the data is known to be incompletely sent.

15 years agoRemove GNUregex malloc hack
Amos Jeffries [Thu, 22 Apr 2010 12:56:15 +0000 (00:56 +1200)] 
Remove GNUregex malloc hack

stdlib.h is provided by the OS compat layer of Squid.

If malloc/realloc truely need to be redefined they can be re-added
to the specific OS compat import with the correct prototypes.

15 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Thu, 22 Apr 2010 12:44:23 +0000 (00:44 +1200)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Improved helper configlets for wider compatibility.

 * Add configlet tests for building the DB basic auth helper
 * Improved detection of samba prefix for wbinfo_group and SMB
 * Also check for SASL shared libraries in SASL helper
 * Distribute the config.test files to enable auto-build properly

15 years agoAuthor: Unknown
Amos Jeffries [Thu, 22 Apr 2010 12:22:17 +0000 (00:22 +1200)] 
Author: Unknown
Bug 2879: 3.0 regression in headers end finding

Ported from Squid-2.

15 years agoBring FDSETSIZE wrappers in with Squid wrapping style.
Amos Jeffries [Sun, 11 Apr 2010 12:05:37 +0000 (00:05 +1200)] 
Bring FDSETSIZE wrappers in with Squid wrapping style.

Also adding kFreeBSD wrapper to same logic as Linux.

15 years agoBug 2899: Restore lost rfc1738_unescape() data type
Amos Jeffries [Sun, 11 Apr 2010 12:01:58 +0000 (00:01 +1200)] 
Bug 2899: Restore lost rfc1738_unescape() data type

Data type was converted to char from int during recent upgrades.
On unix systems char is unsigned making the safety checks fail on build.
This reverts the type back to a usable signed int, no logic changes.

15 years agosquidclient: Use -k option to control connection keep-alive or close
Amos Jeffries [Sun, 11 Apr 2010 11:59:31 +0000 (23:59 +1200)] 
squidclient: Use -k option to control connection keep-alive or close

This is needed to prevent HTTP 1.1 servers (or Squid) holding the
connection open after squidclient has finished.

Retain the old behavior for HTTP/1.0 requests.

15 years agoHTTP1.1: Advertise 1.1 on replies
Amos Jeffries [Wed, 7 Apr 2010 12:54:15 +0000 (00:54 +1200)] 
HTTP1.1: Advertise 1.1 on replies

15 years agoRemove c++ comment from C code
Amos Jeffries [Wed, 7 Apr 2010 12:50:24 +0000 (00:50 +1200)] 
Remove c++ comment from C code

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Wed, 7 Apr 2010 12:43:15 +0000 (00:43 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2895: TPROXY2 compile error

15 years agoSync @makesnmplib@ with current Squid coding styles
Amos Jeffries [Wed, 7 Apr 2010 12:40:21 +0000 (00:40 +1200)] 
Sync @makesnmplib@ with current Squid coding styles