]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
15 years agoMulti-Lingual FTP directory listing
Amos Jeffries [Sat, 31 Oct 2009 11:53:09 +0000 (00:53 +1300)] 
Multi-Lingual FTP directory listing

This replaces hard-coded FTP directory page with dynamically loaded
'error page' same as all other FTP result HTML outputs.

This has the added benefit of making the page HTML standards compliant,
CSS branded, and presentable in any of the auto-negotiated languages.

15 years agoSupport format tags in deny_info URLs
Amos Jeffries [Sat, 31 Oct 2009 11:29:04 +0000 (00:29 +1300)] 
Support format tags in deny_info URLs

This enables a certain level of dynamically generated redirect. Using
deny_info and ACL controls for selective controlled requests.

Usage Examples:
 * redirect from domainA to domainB while retaining original URL path
 * stripping port from requests while retaining protocol, domain and path
 * adding tokens into requested URL from external_acl_type helper

15 years agoWider support for EUI
Amos Jeffries [Sat, 31 Oct 2009 10:06:17 +0000 (23:06 +1300)] 
Wider support for EUI

 * Logging
 * external ACL helper tag
 * EUI-64 from IPv6 SLAAC addressing
 * run-time option to enable/disable lookups

15 years agoMake cf_gen header self-complete.
Amos Jeffries [Sat, 31 Oct 2009 10:05:02 +0000 (23:05 +1300)] 
Make cf_gen header self-complete.

15 years agoCorrect ESI library build options.
Amos Jeffries [Fri, 30 Oct 2009 05:01:33 +0000 (18:01 +1300)] 
Correct ESI library build options.

15 years agoBug 2795: pt 2: ARP lookups require IPv4-only socket on Linux/Solaris
Amos Jeffries [Fri, 30 Oct 2009 04:47:33 +0000 (17:47 +1300)] 
Bug 2795: pt 2: ARP lookups require IPv4-only socket on Linux/Solaris

15 years agoTemporary patch forcing LINUX_TPROXY2 disabled if requirements unmet.
Henrik Nordstrom [Thu, 29 Oct 2009 23:59:26 +0000 (00:59 +0100)] 
Temporary patch forcing LINUX_TPROXY2 disabled if requirements unmet.

will be redone later to properly wind up dependencies and enabling of LINUX_TPROXY2 & friends.

15 years agoPrep for 3.0.STABLE20
Amos Jeffries [Thu, 29 Oct 2009 09:38:45 +0000 (22:38 +1300)] 
Prep for 3.0.STABLE20

15 years agoRemove obsolete --disable-caps configure option
Henrik Nordstrom [Wed, 28 Oct 2009 01:02:27 +0000 (02:02 +0100)] 
Remove obsolete --disable-caps configure option

15 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 28 Oct 2009 00:12:54 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoForward-port of STORE_META_OBJSIZE swapout from squid-2
Henrik Nordstrom [Tue, 27 Oct 2009 23:45:48 +0000 (00:45 +0100)] 
Forward-port of STORE_META_OBJSIZE swapout from squid-2

15 years agoMinor quoting error in TPROXY autoconf foo
Henrik Nordstrom [Tue, 27 Oct 2009 23:22:51 +0000 (00:22 +0100)] 
Minor quoting error in TPROXY autoconf foo

15 years agoUse libcap functions instead of raw kernel interface
Henrik Nordstrom [Tue, 27 Oct 2009 21:55:58 +0000 (22:55 +0100)] 
Use libcap functions instead of raw kernel interface

Rework the Linux capabilities code to use the more stable libcap interface
instead or raw kernel syscalls.

Take two, making sure there is a sufficiently recent libcap-2.09 or later.

15 years agoCorrect use_libcap internal variable setting when auto detected
Henrik Nordstrom [Tue, 27 Oct 2009 21:55:06 +0000 (22:55 +0100)] 
Correct use_libcap internal variable setting when auto detected

15 years agoCosmetic cleanup of --without-libcap message
Henrik Nordstrom [Tue, 27 Oct 2009 21:51:32 +0000 (22:51 +0100)] 
Cosmetic cleanup of --without-libcap message

15 years agoThe old caps option was --disable-caps, not --without-caps...
Henrik Nordstrom [Tue, 27 Oct 2009 21:49:30 +0000 (22:49 +0100)] 
The old caps option was --disable-caps, not --without-caps...

15 years agoProperly rename --without-caps to --without-libcap, but keep the old as a backward...
Henrik Nordstrom [Tue, 27 Oct 2009 21:45:02 +0000 (22:45 +0100)] 
Properly rename --without-caps to --without-libcap, but keep the old as a backward compatibility option

15 years agoDon't try to write autoconf snippets when having a fewer..
Henrik Nordstrom [Tue, 27 Oct 2009 19:50:18 +0000 (20:50 +0100)] 
Don't try to write autoconf snippets when having a fewer..

15 years agoCorrect AC_CACHE_CHECK use regarding sys/capability.h brokeness test
Henrik Nordstrom [Tue, 27 Oct 2009 08:08:29 +0000 (09:08 +0100)] 
Correct AC_CACHE_CHECK use regarding sys/capability.h brokeness test

15 years agoAttempt to get the --with-libcap logics correct
Henrik Nordstrom [Tue, 27 Oct 2009 08:04:00 +0000 (09:04 +0100)] 
Attempt to get the --with-libcap logics correct

15 years agoActivate libcap changes again
Henrik Nordstrom [Tue, 27 Oct 2009 07:25:17 +0000 (08:25 +0100)] 
Activate libcap changes again

15 years agoMerged from trunk
Henrik Nordstrom [Tue, 27 Oct 2009 07:23:31 +0000 (08:23 +0100)] 
Merged from trunk

15 years agoCorrect squidclient 64-bit POST fix that should work on 32-bit LFS systems as well
Henrik Nordstrom [Thu, 22 Oct 2009 21:34:59 +0000 (23:34 +0200)] 
Correct squidclient 64-bit POST fix that should work on 32-bit LFS systems as well

15 years ago64-bit filesize issue in squidclient if trying to post a file > 2GB
Henrik Nordstrom [Thu, 22 Oct 2009 21:15:03 +0000 (23:15 +0200)] 
64-bit filesize issue in squidclient if trying to post a file > 2GB

15 years agoFix bootstrap.sh false positive detection of libtool2
Amos Jeffries [Wed, 21 Oct 2009 09:41:45 +0000 (22:41 +1300)] 
Fix bootstrap.sh false positive detection of libtool2

Searching for '2' matches and reports libtool2 on:
 * copyright year (20xx)
 * minor versions (1.*.2*)

Using two layers of the version lets us more reliably detect v2

15 years agoUndo Linux libcap change. libcap not capable enough on some Linux versions (cap_clear...
Henrik Nordstrom [Sun, 18 Oct 2009 15:39:16 +0000 (17:39 +0200)] 
Undo Linux libcap change. libcap not capable enough on some Linux versions (cap_clear_flag missing)

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 18 Oct 2009 00:12:53 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoUse libcap functions instead of raw kernel interface
Henrik Nordstrom [Sat, 17 Oct 2009 10:15:00 +0000 (12:15 +0200)] 
Use libcap functions instead of raw kernel interface

Rework the Linux capabilities code to use the more stable libcap interface
instead or raw kernel syscalls.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 16 Oct 2009 00:12:57 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoRemove PUSH_CAP macro, and fix #if/#endif for non-Linux platforms
Henrik Nordstrom [Thu, 15 Oct 2009 23:57:26 +0000 (01:57 +0200)] 
Remove PUSH_CAP macro, and fix #if/#endif for non-Linux platforms

15 years agoMerged from trunk
Henrik Nordstrom [Thu, 15 Oct 2009 14:28:22 +0000 (16:28 +0200)] 
Merged from trunk

15 years agoUse libcap functions instead of raw kernel interface
Henrik Nordstrom [Thu, 15 Oct 2009 14:24:33 +0000 (16:24 +0200)] 
Use libcap functions instead of raw kernel interface

15 years agoFix bits uncovered in libeui by CentOS
Amos Jeffries [Thu, 15 Oct 2009 12:15:32 +0000 (01:15 +1300)] 
Fix bits uncovered in libeui by CentOS

15 years agoSourceLayout: pull ARP operations into libeui
Amos Jeffries [Thu, 15 Oct 2009 10:12:38 +0000 (23:12 +1300)] 
SourceLayout: pull ARP operations into libeui

This separates the current code for ARP lookup and encode/decode.
Also makes the code buildable without fatal build errors on
non-supporting systems. A loud run-time error is generated if related
features are attempt use on non-supporting systems.

FUTURE WORK:
  * unit-tests
  * on-demand lookups and logging of MAC/EUI-48 for a client
    similar to how ident is done.
  * on-demand passing MAC/EUI-48 to external_acl_type helpers
  * EUI-64 for IPv6 support.
  * Increased ARP support on other OS.

15 years agoBug #2628: Correct default log location to ../var/logs/squid.pid (same as logs)
Henrik Nordstrom [Wed, 14 Oct 2009 19:46:36 +0000 (21:46 +0200)] 
Bug #2628: Correct default log location to ../var/logs/squid.pid (same as logs)

15 years agoBug 2795: acl arp lookups including port
Amos Jeffries [Tue, 13 Oct 2009 11:40:08 +0000 (00:40 +1300)] 
Bug 2795: acl arp lookups including port

ARP lookup sockaddr need to only contain the fields being tested for.

15 years agoAuthor: Jakub Wilk <ubanus@users.sf.net>
Amos Jeffries [Mon, 12 Oct 2009 21:49:28 +0000 (10:49 +1300)] 
Author: Jakub Wilk <ubanus@users.sf.net>
Typo in squid.conf directiry/directory

Debian http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550402

15 years agoBug 2794: ESI parsing fails on FreeBSD
Francesco Chemolli [Thu, 8 Oct 2009 15:59:51 +0000 (17:59 +0200)] 
Bug 2794: ESI parsing fails on FreeBSD

Fix bug in the ESI expression parser which prevented it from working properly on
non-glibc platforms.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 6 Oct 2009 00:12:45 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoImplement testsuite parallelization on FreeBSD and testsuite parallelization override.
Francesco Chemolli [Mon, 5 Oct 2009 13:22:17 +0000 (15:22 +0200)] 
Implement testsuite parallelization on FreeBSD and testsuite parallelization override.

15 years agoFix some castings caught by gcc4.3
Amos Jeffries [Mon, 5 Oct 2009 11:02:19 +0000 (00:02 +1300)] 
Fix some castings caught by gcc4.3

15 years agoGet getpwnam helper name right
Amos Jeffries [Mon, 5 Oct 2009 10:41:19 +0000 (23:41 +1300)] 
Get getpwnam helper name right

15 years agoUpdate cf.data sed pattern
Amos Jeffries [Mon, 5 Oct 2009 10:33:08 +0000 (23:33 +1300)] 
Update cf.data sed pattern

15 years agolibTrie test unit requires math library on BSD.
Amos Jeffries [Mon, 5 Oct 2009 07:47:22 +0000 (20:47 +1300)] 
libTrie test unit requires math library on BSD.

15 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Mon, 5 Oct 2009 05:13:32 +0000 (18:13 +1300)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 2791: assertion failed: MemBuf.cc:400: new_cap > (size_t) capacity

Limit input buffer reads to the avilable space.

15 years agoAuthor: Various Translators
Amos Jeffries [Sun, 4 Oct 2009 11:02:11 +0000 (00:02 +1300)] 
Author: Various Translators
Language Updates

 - Also updated all .POT
 - Also add some po4a pieces for the manual translation.

15 years agoMerge from trunk
Amos Jeffries [Sun, 4 Oct 2009 10:47:28 +0000 (23:47 +1300)] 
Merge from trunk

15 years agoRosetta imports
Amos Jeffries [Sun, 4 Oct 2009 10:39:48 +0000 (23:39 +1300)] 
Rosetta imports

15 years agoUpdates
Amos Jeffries [Sun, 4 Oct 2009 09:58:25 +0000 (22:58 +1300)] 
Updates

15 years agoAdd missing casts detected by OpenBSD
Amos Jeffries [Sun, 4 Oct 2009 09:48:56 +0000 (22:48 +1300)] 
Add missing casts detected by OpenBSD

15 years agoDefine top_build_prefix fro use by LTDL
Amos Jeffries [Sun, 4 Oct 2009 03:33:15 +0000 (16:33 +1300)] 
Define top_build_prefix fro use by LTDL

Linux LTDL v3-v7 macros assume the autoconf 2.62 variable top_build_prefix
is defined. But from autoconf 2.64 it's called ac_top_build_prefix and not
automatically added to the Makefile.

There seems to be no harm with sustituting it manually under autoconf 2.61 and 2.62

15 years agoHelpers: Upgrade Basic Auth NCSA helper
Amos Jeffries [Sat, 3 Oct 2009 01:40:29 +0000 (14:40 +1300)] 
Helpers: Upgrade Basic Auth NCSA helper

- C++ Build with libcompat
- Rename basic_ncsa_auth
- Update CRYPTLIB definition.

TODO: there is some cleanup still needed relating to CRYPTLIB
the current definition may include -lmd5 as well
and Kerberos library define may duplicate both -lcrypt and -lmd5
in the guise of SSLLIB

15 years agosquid.conf polish pt 2
Amos Jeffries [Fri, 2 Oct 2009 12:36:53 +0000 (01:36 +1300)] 
squid.conf polish pt 2

- Push many of the remaining commented config lines out of the default
  config and into documentation examples.
- Adds whitespace and some extra comment lines to needed config texts
  to improve readability.

15 years agoTestBed: Add test layer for code with optional missing libraries
Amos Jeffries [Fri, 2 Oct 2009 11:02:59 +0000 (00:02 +1300)] 
TestBed: Add test layer for code with optional missing libraries

15 years agoBug 2724: alLogformatHasIcapToken exposed with --enable-ecap
Amos Jeffries [Fri, 2 Oct 2009 10:17:38 +0000 (23:17 +1300)] 
Bug 2724: alLogformatHasIcapToken exposed with --enable-ecap

Wrapping logic error opened the initialization of this ICAP-only variable
to be set when eCAP-only builds enabled adaptation.

15 years agoBug 2792: tcp_outgoing_addr does not work with TPROXY
Amos Jeffries [Fri, 2 Oct 2009 05:34:19 +0000 (18:34 +1300)] 
Bug 2792: tcp_outgoing_addr does not work with TPROXY

15 years agoHelpers: Upgrade squid_ldap_auth / basic_ldap_auth
Amos Jeffries [Fri, 2 Oct 2009 04:35:07 +0000 (17:35 +1300)] 
Helpers: Upgrade squid_ldap_auth / basic_ldap_auth

- Rename to basic_ldap_auth
- C++ build with link to libcompat
- Add OPTIONS section to man(8) page
- Tweak libldap and liblber configure naming convention.

TODO: check that removal of miscellaneous libraries (XTRA_LIBS) has
      not removed anything important to this helper. If so add back
      the individual library needed, not the whole lot.

15 years agoHelpers: Upgrade getpwnam_auth
Amos Jeffries [Fri, 2 Oct 2009 03:43:06 +0000 (16:43 +1300)] 
Helpers: Upgrade getpwnam_auth

- Rename to basic_getpwnam_auth
- C++ build linked to libcompat
- Adds man(8) page

15 years agoAdd omitted DB/config.test
Amos Jeffries [Fri, 2 Oct 2009 03:13:01 +0000 (16:13 +1300)] 
Add omitted DB/config.test

15 years agoLocate generated helper man(8) files during snapshot
Amos Jeffries [Thu, 1 Oct 2009 12:38:24 +0000 (01:38 +1300)] 
Locate generated helper man(8) files during snapshot

15 years agoESI: correct libxml2 path detection before header tests
Amos Jeffries [Thu, 1 Oct 2009 12:25:49 +0000 (01:25 +1300)] 
ESI: correct libxml2 path detection before header tests

- Shuffles the path detection up to before its needed.
  This consolidates libxml2 tests and slightly speeds up some configure runs

15 years agoESI: protect build from missing libraries correctly
Amos Jeffries [Thu, 1 Oct 2009 07:59:00 +0000 (19:59 +1200)] 
ESI: protect build from missing libraries correctly

 - detect the libexpat and libxml2 headers.
 - wraps the code includes according to Squid guidelines
 - wraps the library API modules for build only when library is present

15 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 1 Oct 2009 00:12:39 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoGenerate squid.conf.default with just the configuration data & comments
Henrik Nordstrom [Wed, 30 Sep 2009 01:15:18 +0000 (03:15 +0200)] 
Generate squid.conf.default with just the configuration data & comments

forward-port from squid-2

15 years agoHelpers: add release notes section
Amos Jeffries [Tue, 29 Sep 2009 13:16:30 +0000 (02:16 +1300)] 
Helpers: add release notes section

15 years agoHelpers: Update the basic auth DB helper to new scheme
Amos Jeffries [Tue, 29 Sep 2009 12:04:10 +0000 (01:04 +1300)] 
Helpers: Update the basic auth DB helper to new scheme

 - convert to basic_db_auth
 - add config.test to build when possible (depends on perl)
 - adjust dist generation so snapshot can publish the .8 page

15 years agoESI detection pt 3: proper --with option support.
Amos Jeffries [Tue, 29 Sep 2009 01:07:16 +0000 (13:07 +1200)] 
ESI detection pt 3: proper --with option support.

 - makes the --with-expat and --with-xml2 REQUIRE the presence of the
   library a fatal error is output if they are required and missing.

 - makes ESI always build with internal processor when --enable is used
   only failures of the above --with-* will kill ESI builds in configure.

15 years agoAuthor: nglnx - Rosetta Project
Amos Jeffries [Tue, 29 Sep 2009 00:23:18 +0000 (12:23 +1200)] 
Author: nglnx - Rosetta Project
Language updates: Portuguese manuals

15 years agoAdd build options to control ESI libraries.
Amos Jeffries [Sun, 27 Sep 2009 12:29:52 +0000 (01:29 +1300)] 
Add build options to control ESI libraries.

Also;
 - disconnect the libraries from linking to binaries they dont need to.
 - enable automatic build testing of ESI code since missing libraries are
   no longer fatal.

15 years agoPrep for 3.1.0.14
Amos Jeffries [Sun, 27 Sep 2009 01:23:53 +0000 (14:23 +1300)] 
Prep for 3.1.0.14

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 27 Sep 2009 00:12:48 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoMake ESI parser modules expat and libxml2 dependent on their libraries
Henrik Nordstrom [Sat, 26 Sep 2009 22:15:12 +0000 (00:15 +0200)] 
Make ESI parser modules expat and libxml2 dependent on their libraries

The ESI parser system is actually pluggable. There is no reason we should
require expat and libxml2. Just build what works.

Todo: Add an option to force the desired parsers.

15 years agoAuthor: Adrian Chadd <adrian@squid-cache.org>
Amos Jeffries [Fri, 25 Sep 2009 11:09:37 +0000 (23:09 +1200)] 
Author: Adrian Chadd <adrian@squid-cache.org>
A tproxy cache cluster (eg behind WCCPv2) can't peer.

The issue stems from the forwarding logic creating source address spoofed
sockets to destinations that are inside the cluster. Since the WCCPv2
router won't redirect packets with an origin of the proxy MAC (at least for
L2 peering), source spoofed packets go out and are routed normally. The
packets back from the destination peer have a remote end of the spoofed IP,
and are instead sent to teh original client rather than the proxy.

The forwarding logic needs to be taught to optionally enable tproxy source
spoofing on connections based on a peer flag.

Just for completeness - tproxy'ed connections to a upstream or peer proxy
which is -outside- of the WCCPv2 tproxy cluster work fine.

15 years agoAuthor: Markus Moeller <huaraz@moeller.plus.com>
Amos Jeffries [Fri, 25 Sep 2009 09:49:42 +0000 (21:49 +1200)] 
Author: Markus Moeller <huaraz@moeller.plus.com>
Add KRB5INCS to INCLUDES

Needs to be global because we use the kerb5 com_err.h hack globally
through the libcompat headers.

NP: There should be a compat/*.am for these I guess...

15 years agoBug #2773: Segfault in RFC2069 Digest authantication
Henrik Nordstrom [Fri, 25 Sep 2009 01:15:30 +0000 (03:15 +0200)] 
Bug #2773: Segfault in RFC2069 Digest authantication

Squid segfaulted if digest authentication is enabled an a client responded
with RFC2069 style response.

15 years agoRemove unused DEFAULT_MIB_PATH variable
Henrik Nordstrom [Fri, 25 Sep 2009 01:12:34 +0000 (03:12 +0200)] 
Remove unused DEFAULT_MIB_PATH variable

15 years agoBug 2777: Don't know how to make target `-lrt' on OpenSolaris
Amos Jeffries [Thu, 24 Sep 2009 13:41:25 +0000 (01:41 +1200)] 
Bug 2777: Don't know how to make target `-lrt' on OpenSolaris

15 years agoUpdate release notes for ignore-cc option
Amos Jeffries [Thu, 24 Sep 2009 09:31:53 +0000 (21:31 +1200)] 
Update release notes for ignore-cc option

15 years agoUpdate .POT after ERR_DIR_LISTING change
Amos Jeffries [Wed, 23 Sep 2009 07:56:22 +0000 (19:56 +1200)] 
Update .POT after ERR_DIR_LISTING change

15 years agoMerg from trunk
Amos Jeffries [Wed, 23 Sep 2009 07:15:58 +0000 (19:15 +1200)] 
Merg from trunk

15 years agoCleanup: debug display current IP of a set cleanly
Amos Jeffries [Tue, 22 Sep 2009 09:32:58 +0000 (21:32 +1200)] 
Cleanup: debug display current IP of a set cleanly

15 years agoCorrect debugs on ACL IP parse
Amos Jeffries [Sun, 20 Sep 2009 21:18:31 +0000 (09:18 +1200)] 
Correct debugs on ACL IP parse

15 years agoBug 2601: pt 2: Mixed v4/v6 src acl leads to TCP_DENIED
Amos Jeffries [Sun, 20 Sep 2009 21:06:24 +0000 (09:06 +1200)] 
Bug 2601: pt 2: Mixed v4/v6 src acl leads to TCP_DENIED

 - Remove 'odd' netmask support from ACL.
 - Fully deprecate netmask support for ACL.

Earlier fix caused inconsistent handling between IPv4 and IPv6 builds of
Squid. Which has turned out to be a bad idea.
This fixes that by 'breaking' both build alternatives.

see also bug 2141 for long-term tracker.

15 years agoBug #2777: Various syntax warnings detected on OpenSolaris.
Henrik Nordstrom [Sun, 20 Sep 2009 20:20:42 +0000 (22:20 +0200)] 
Bug #2777: Various syntax warnings detected on OpenSolaris.

15 years agoInstall error page templates properly.
Amos Jeffries [Sun, 20 Sep 2009 03:07:29 +0000 (15:07 +1200)] 
Install error page templates properly.

The new install make code was failing to install the template/ directory
required for Squid to run.

It was also using the wrong variable to install translated content. Thus
installing the english template files in place of the translated ones.

15 years agoAuthor: Luigi Gangitano <luigi@debian.org>
Amos Jeffries [Sun, 20 Sep 2009 00:29:52 +0000 (12:29 +1200)] 
Author: Luigi Gangitano <luigi@debian.org>
Bug 2779: Support GNU/kFreeBSD

15 years agoAuthor: Peter Pramberger <peter@pramberger.at>
Amos Jeffries [Sat, 19 Sep 2009 12:03:56 +0000 (00:03 +1200)] 
Author: Peter Pramberger <peter@pramberger.at>
Bug 2761: Gopher and double HTTP response header

15 years agoMake Directory Listing template generic
Amos Jeffries [Sat, 19 Sep 2009 09:15:45 +0000 (21:15 +1200)] 
Make Directory Listing template generic

15 years agoCorrect docs on NAT
Amos Jeffries [Sat, 19 Sep 2009 08:20:12 +0000 (20:20 +1200)] 
Correct docs on NAT

15 years agoFixup uninstall squid.conf race by comparing with built files instead of .default
Henrik Nordstrom [Sat, 19 Sep 2009 01:08:09 +0000 (03:08 +0200)] 
Fixup uninstall squid.conf race by comparing with built files instead of .default

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 19 Sep 2009 00:12:39 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoMake ESI behave reasonable when built but not used
Henrik Nordstrom [Fri, 18 Sep 2009 23:46:33 +0000 (01:46 +0200)] 
Make ESI behave reasonable when built but not used

- Move (and extent/correct) hardcoded CC ignore to a new http_port
  option ignore-cc

- Limit Surrogate-Capability header addition to accelerated requests.

15 years agoAuthor: Philippe Lantin <plantin@cobaltgroup.com>
Henrik Nordstrom [Fri, 18 Sep 2009 20:40:02 +0000 (22:40 +0200)] 
Author:  Philippe Lantin <plantin@cobaltgroup.com>
Bug #2624: Invalid response for IMS request

Squid forgot to verify the client provided If-Modified-Since when
seeing a 304 from upstream.

15 years agoRemove 'NAT' lookup restrictions from TPROXY lookups.
Amos Jeffries [Fri, 18 Sep 2009 06:35:42 +0000 (18:35 +1200)] 
Remove 'NAT' lookup restrictions from TPROXY lookups.

Now that TPROXY can do v6 we only need to protect the real NAT lookups
behind protocol family tests.

15 years agoAuthor: Source Maintenance
Amos Jeffries [Wed, 16 Sep 2009 09:53:46 +0000 (03:53 -0600)] 
Author: Source Maintenance
SourceFormat enforcement

15 years agoBug 2483: bind() called before connect()
Amos Jeffries [Wed, 16 Sep 2009 07:34:24 +0000 (19:34 +1200)] 
Bug 2483: bind() called before connect()

Many of the occasions Squid was calling bind() are not required. This
reduces the bind() calls to only those which are actually needed.

Further optimization can be done in a future version to drop the paranoid
and slightly performance degrading safety checks for instances of Squid
binding ANYADDR without listener status, and attempting to bind NOADDR.

15 years agoUse close() instead of shutdown() on socket FD
Amos Jeffries [Wed, 16 Sep 2009 06:46:44 +0000 (18:46 +1200)] 
Use close() instead of shutdown() on socket FD

15 years agoWorkaround com_err.h C++ brokenness triggered by OpenSSL includes
Henrik Nordstrom [Wed, 16 Sep 2009 00:24:35 +0000 (02:24 +0200)] 
Workaround com_err.h C++ brokenness triggered by OpenSSL includes

15 years agoSplit some asserts with side-effects
Henrik Nordstrom [Wed, 16 Sep 2009 00:13:28 +0000 (02:13 +0200)] 
Split some asserts with side-effects

assert expressions should not have any noticeable sideffects or otherwise
be important for the program flow operation. If not unexpected results is
seen from compiling with -DNODEBUG

15 years agoRemove initializer of non-existing tproxy_version field
Henrik Nordstrom [Wed, 16 Sep 2009 00:11:42 +0000 (02:11 +0200)] 
Remove initializer of non-existing tproxy_version field