]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
13 years ago3.1.4 SQUID_3_1_4
Amos Jeffries [Sun, 30 May 2010 13:20:23 +0000 (07:20 -0600)] 
3.1.4

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

13 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.

13 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).

13 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

13 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

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

13 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.

13 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

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

13 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.

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

13 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.

13 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

13 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

13 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

13 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.

13 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.

13 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

13 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.

13 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.

13 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

13 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.

13 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.

13 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

13 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.

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

13 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

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

13 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

13 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.

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

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

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

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

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

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

13 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

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

13 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

13 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

13 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

13 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.

13 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

14 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

14 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.

14 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

14 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

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

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

14 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.

14 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.

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

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

14 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

14 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.

14 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.

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

14 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

14 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

14 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.

14 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

14 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

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

14 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

14 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

14 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

14 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.

14 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.

14 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

14 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.

14 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.

14 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

14 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.

14 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.

14 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.

14 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.

14 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

14 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

14 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

14 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

14 years agoAuthor: Yannick Bergeron <yaberger@ca.ibm.com>
Amos Jeffries [Mon, 29 Mar 2010 22:47:44 +0000 (10:47 +1200)] 
Author: Yannick Bergeron <yaberger@ca.ibm.com>
Author: Amos Jeffries <squid3@treenet.co.nz>
AIX build fixes

Yannick:
 C code in strict compilers

Amos:
 rfc1738 buffer overflow prevention

14 years ago3.1.1 SQUID_3_1_1
Amos Jeffries [Mon, 29 Mar 2010 10:02:18 +0000 (04:02 -0600)] 
3.1.1

14 years agoPrep for 3.1.1
Amos Jeffries [Mon, 29 Mar 2010 08:31:11 +0000 (21:31 +1300)] 
Prep for 3.1.1

14 years agoBug 2827: assertion failed: FilledChecklist.cc:90: "conn() != NULL"
Amos Jeffries [Fri, 26 Mar 2010 01:36:24 +0000 (14:36 +1300)] 
Bug 2827: assertion failed: FilledChecklist.cc:90: "conn() != NULL"

Assertion was bunk. We can happily continue without unlocking a
non-existent lock.

14 years agoDocument the sslproxy_options and ssl_proxy_ciphers options.
Amos Jeffries [Fri, 26 Mar 2010 01:30:37 +0000 (14:30 +1300)] 
Document the sslproxy_options and ssl_proxy_ciphers options.

14 years agoDefault pinger OFF
Amos Jeffries [Tue, 23 Mar 2010 11:31:32 +0000 (00:31 +1300)] 
Default pinger OFF

The pinger install is still done without the special permissions needed.
So the pinger will fail to run in most setups. Will turn this on again
in a later release when the pinger is actually installed properly by
default.

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Fri, 19 Mar 2010 10:22:14 +0000 (23:22 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Drop ufsdump from default builds.

As reported some weeks ago ufsdump fails to link on the upcoming Fedora
13 release due to linking issues, and as reported by Amos the same
linking issues is now also seen on Debian since somewhere between March
2 - 5.

While investigating this I found the following conclusions

- We are not actually installing ufsdump
- The dependencies between the Squid libraries are very non-obvious,
with libraries depending on plain object files and other strange things.
- The ufsdump linkage issues is somehow triggered by the libraries
including objects needing symbols from objects not included in that link
- Those failing library objects are not actually needed by ufsdump.
Linking succeeds if repeatedly removing each reported failing object
from the squid libraries.
- If the libraries were shared libraries then linking would fail on all
systems

The issue have been identified, or actually two separate issues. What is
yet unclear is what is the proper solution..

- Inline operator overloading causing indeterministic linkage,
resulting in seemingly unneeded sub modules being pulled in "at random".
Most notably this is seen with our custom new operation (which btw is
duplicated in two places: src/SquidNew.cc and include/SquidNew.h)

- The current Squid libraries have very unclear dependencies with no
  clean boundaries, resulting in linking failure when the above happens..

14 years agoBug 2873: undefined symbol rint
Amos Jeffries [Fri, 19 Mar 2010 10:17:55 +0000 (23:17 +1300)] 
Bug 2873: undefined symbol rint

Detect math library properly based on rint synbol we need.

14 years ago3.1.0.18 SQUID_3_1_0_18
Amos Jeffries [Sun, 14 Mar 2010 07:05:30 +0000 (00:05 -0700)] 
3.1.0.18

14 years agoPrep for 3.1.0.18
Amos Jeffries [Sun, 14 Mar 2010 05:23:03 +0000 (18:23 +1300)] 
Prep for 3.1.0.18

14 years agoPrep for 3.0.STABLE25
Amos Jeffries [Sun, 14 Mar 2010 05:14:01 +0000 (18:14 +1300)] 
Prep for 3.0.STABLE25

14 years agoBug 412: Send HTTP/1.1 to servers and peers
Amos Jeffries [Sun, 14 Mar 2010 04:23:22 +0000 (17:23 +1300)] 
Bug 412: Send HTTP/1.1 to servers and peers

Building on a lot of work by a very great many people over eight years.
Thank you very, very much to everyone who made this possible.

14 years agoAuthor: Various Translators
Amos Jeffries [Sun, 14 Mar 2010 04:08:19 +0000 (17:08 +1300)] 
Author: Various Translators
Error page language updates

 * Serbian language updated and split into Cyrillic and Latin alphabets.
 * Update all to include new templates content.

14 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 11 Mar 2010 02:39:34 +0000 (19:39 -0700)] 
SourceFormat Enforcement

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Wed, 10 Mar 2010 09:45:55 +0000 (22:45 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Various other Digest parser fixes

* Correct debug message when failing to parse digest attributes
* Correct digest stale=false in POST workaround code
* Fix new digest parser shutdown code when digest auth not configured
* Sanity check of the username.
  " cannot be allowed in usernames until the digest helper protocol
  has been redone

14 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Wed, 10 Mar 2010 09:20:02 +0000 (22:20 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Bump the debug-level of one cache manager related message

14 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 7 Mar 2010 02:50:26 +0000 (19:50 -0700)] 
SourceFormat Enforcement

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 6 Mar 2010 14:22:31 +0000 (03:22 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Improve coding style of digest parser somewhat so it's easier to follow

14 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 6 Mar 2010 14:13:09 +0000 (03:13 +1300)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Correct quoted-string parser. Got differently broken in digest parser fix.