]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
16 years agoRevert testbed bits from revno 9699.
Amos Jeffries [Sat, 30 May 2009 04:25:24 +0000 (16:25 +1200)] 
Revert testbed bits from revno 9699.

16 years agoAuthor: Joao Alves Neto <alves_joao@hotmail.com>
Amos Jeffries [Sat, 30 May 2009 04:10:35 +0000 (16:10 +1200)] 
Author: Joao Alves Neto <alves_joao@hotmail.com>
Make fakeauth handle NTLMv2 better

NTLMv2 requires challenge flags to be a mirror of those received.

16 years agoAdd Translate: and Unless-Modified-Since: headers to known list.
Amos Jeffries [Fri, 29 May 2009 07:37:45 +0000 (19:37 +1200)] 
Add Translate: and Unless-Modified-Since: headers to known list.

They are custom microsoft headers we may need to use header_access to
crop away. Translate: is needed for WEBDAV so we must leave this up
to individual admin.

16 years agoAuthor: Arkin <arkin.yang@gmail.com>
Amos Jeffries [Sun, 24 May 2009 09:28:55 +0000 (21:28 +1200)] 
Author: Arkin <arkin.yang@gmail.com>
Bug 2387: The calculation of the number of hash buckets need to account for the memory size, not only disk size

cache_mem only setups without a cache_dir miscalculates the hash table size,
resulting in poor performance if cache_mem is very large.

16 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Sat, 23 May 2009 13:40:07 +0000 (01:40 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
Bug 2481: Don't set expires: now in generated error responses

Sending Expires: "now" overrides any negative cache logics which may
be present in downstream caches and is a bad idea. Better to send
the responses without any explicit expiry information.

16 years ago2.6.STABLE22 has all changes fully ported.
Amos Jeffries [Sat, 23 May 2009 12:05:58 +0000 (06:05 -0600)] 
2.6.STABLE22 has all changes fully ported.

16 years agoPrep for 3.1.0.8
Amos Jeffries [Sat, 23 May 2009 11:37:48 +0000 (23:37 +1200)] 
Prep for 3.1.0.8

16 years agoLanguage Updates
Amos Jeffries [Sat, 23 May 2009 05:10:08 +0000 (17:10 +1200)] 
Language Updates

16 years agoMerged from trunk
Amos Jeffries [Sat, 23 May 2009 05:06:07 +0000 (17:06 +1200)] 
Merged from trunk

16 years agoAuthor: vollkommen <vollkommen@gmx.net>
Amos Jeffries [Wed, 20 May 2009 09:28:36 +0000 (21:28 +1200)] 
Author: vollkommen <vollkommen@gmx.net>
Remove ssl_error_t CBDataList template instance

clashes with template <int> instantiation for other ACLs.

16 years agoFix compile errors after res_init polish
Amos Jeffries [Wed, 20 May 2009 09:01:21 +0000 (21:01 +1200)] 
Fix compile errors after res_init polish

16 years agoAuthor: Adrian Chadd <adrian@squid-cache.org>
Amos Jeffries [Wed, 20 May 2009 08:59:19 +0000 (20:59 +1200)] 
Author: Adrian Chadd <adrian@squid-cache.org>
Add in some better documentation for override-expire.

Attempt to clearly document exactly what it does - in this instance, it
enforces min age and doesn't allow the admin to enforce max-age -
ie, truncate staleness.

16 years agoAuthor: Matthias Pitzl <silamael@coronamundi.de>
Amos Jeffries [Wed, 20 May 2009 06:59:04 +0000 (18:59 +1200)] 
Author: Matthias Pitzl <silamael@coronamundi.de>
Bug 2644: auth scheme initialization is broken

Allocates auth schemas dynamically when needed.

TODO: de-allocate somehow on shutdown to stop the leakage this adds

16 years agoShuffle dnsserver -s option into its own function call.
Amos Jeffries [Tue, 19 May 2009 00:40:06 +0000 (12:40 +1200)] 
Shuffle dnsserver -s option into its own function call.

This is prep for bug 2147 closure.

16 years agoWindows port: Fix improper access permissions to registry and DNS parsing from registry
Guido Serassio [Mon, 18 May 2009 19:52:40 +0000 (21:52 +0200)] 
Windows port: Fix improper access permissions to registry and DNS parsing from registry

- RegOpenKey() always try to open registry keys in full control mode, even if not needed.
  This could make Squid to fail when running as a non privileged user. RegOpenKeyEx() allow to
  specify only the needed priviledge and now is used instead.

- When parsing DNS setting into registry, a fixed size loop was used. Now the loop count is
  dynamic.

16 years agoMove ASN handling for ACL into ACL area.
Amos Jeffries [Mon, 18 May 2009 11:15:37 +0000 (23:15 +1200)] 
Move ASN handling for ACL into ACL area.

This removes one possble compile clash, and one empty file.

16 years agoReplace assert with NOP action in hash free.
Amos Jeffries [Mon, 18 May 2009 03:21:51 +0000 (15:21 +1200)] 
Replace assert with NOP action in hash free.

This resolves one small coverity itch.
When nothing to free we don't really need to care, we do need to act
safely and not try to actually action the free though.

16 years agoPrep for 3.0.STABLE16-RC1
Amos Jeffries [Fri, 15 May 2009 12:31:52 +0000 (00:31 +1200)] 
Prep for 3.0.STABLE16-RC1

16 years agoFix more Strategised template clashes in MacOS X
Amos Jeffries [Mon, 11 May 2009 01:44:50 +0000 (13:44 +1200)] 
Fix more Strategised template clashes in MacOS X

16 years agoAuthor: Alin Nastac <mrness@gentoo.org>
Amos Jeffries [Sun, 10 May 2009 08:00:24 +0000 (20:00 +1200)] 
Author: Alin Nastac <mrness@gentoo.org>
Compile error in xstrdup

16 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Sat, 9 May 2009 14:06:48 +0000 (02:06 +1200)] 
Author: Mark Nottingham <mnot@pobox.com>
Bug 2627: HTCP Logging

16 years agoTypo.
Amos Jeffries [Sat, 9 May 2009 11:34:48 +0000 (23:34 +1200)] 
Typo.

16 years agoBug 2648: Authentificator processes deferring and don't shutdown.
Amos Jeffries [Sat, 9 May 2009 10:50:50 +0000 (22:50 +1200)] 
Bug 2648: Authentificator processes deferring and don't shutdown.

16 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Fri, 8 May 2009 11:22:30 +0000 (23:22 +1200)] 
Author: Mark Nottingham <mnot@pobox.com>
Make PEER_TCP_MAGIC_COUNT configurable

Squid will consider a peer dead when it has ten connect failures; this is
hardcoded in as PEER_TCP_MAGIC_COUNT.

The attached patch makes it a per-peer configuration option, defaulting to
PEER_TCP_MAGIC_COUNT.

16 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Fri, 8 May 2009 10:16:07 +0000 (22:16 +1200)] 
Author: Mark Nottingham <mnot@pobox.com>
Bug 2632: Make number of reforwarding tries configurable

16 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Fri, 8 May 2009 10:04:08 +0000 (22:04 +1200)] 
Author: Mark Nottingham <mnot@pobox.com>
Bug 2645: allow squid to ignore must-revalidate

16 years agoAdd missing ClientInfo.h and cstring.
Amos Jeffries [Thu, 7 May 2009 14:47:45 +0000 (02:47 +1200)] 
Add missing ClientInfo.h and cstring.

ClientInfo.h was missing from distributed snapshot files.
cstring was missing from configure checks for include wrapping.

16 years agoAuthor: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Amos Jeffries [Thu, 7 May 2009 14:45:22 +0000 (02:45 +1200)] 
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix libtool 2.2.6 warnings for rm

Hopefully future libtool will not need this. Meanhile 2.2.6 does.

16 years agoPrep for 3.0.STABLE15
Amos Jeffries [Wed, 6 May 2009 10:33:55 +0000 (22:33 +1200)] 
Prep for 3.0.STABLE15

16 years agoWrap C++ headers. Fixes define clash with libcompat
Amos Jeffries [Sun, 3 May 2009 13:02:50 +0000 (07:02 -0600)] 
Wrap C++ headers. Fixes define clash with libcompat

ostream and family were including sys/types.h which causes
FD_SET rediefinition with libcompat at times.
Current autoconf allows these headers to be wrapped and config.h
included before to prevent this and other things.

16 years agoAuto-Docs: Add \cpptest directive
Amos Jeffries [Sun, 3 May 2009 07:07:07 +0000 (19:07 +1200)] 
Auto-Docs: Add \cpptest directive

This is a custom directive just for squid.
It's used by adding to the declaration documentation of a function or
class method and listing the name of a unit-test function which
tests the documented function/method. It may be used multiple times
in a single function if there are multiple unit-tests for it.
Though in general multiple unit-tests sequences should be done in one
testing function.

16 years agoDont stop on missing epoll.h
Amos Jeffries [Thu, 30 Apr 2009 11:51:29 +0000 (23:51 +1200)] 
Dont stop on missing epoll.h

16 years agoAuthor: Peter Pramberger <peter@pramberger.at>
Amos Jeffries [Thu, 30 Apr 2009 02:59:24 +0000 (14:59 +1200)] 
Author: Peter Pramberger <peter@pramberger.at>
Bug 2656: Pinger dies with general protection fault

tzset() explicitly performs actions previously done implicitly
by localtime() in most case. It appears that some VM do not have
the implicit setting so we need this.

16 years agoBug 2650: configure requires epoll_ctl in libepoll when --enable-epoll used
Amos Jeffries [Wed, 29 Apr 2009 14:12:05 +0000 (02:12 +1200)] 
Bug 2650: configure requires epoll_ctl in libepoll when --enable-epoll used

16 years agoDebug() in cachemgr needs to be wrapped for if-else
Amos Jeffries [Wed, 29 Apr 2009 11:38:28 +0000 (23:38 +1200)] 
Debug() in cachemgr needs to be wrapped for if-else

16 years agoAuthor: Philip Allison
Alex Rousskov [Tue, 28 Apr 2009 18:06:32 +0000 (12:06 -0600)] 
Author: Philip Allison
Bug #2615 fix: Call libecap::adapter::Service::start() when finalizing config.

16 years agoregression fix, Bug #2583: pure virtual method called
Christos Tsantilas [Tue, 28 Apr 2009 17:02:23 +0000 (20:02 +0300)] 
regression fix, Bug #2583: pure virtual method called

Remove the assertion check for virginHeadSource in
ClientHttpRequest::~ClientHttpRequest().
Waiting for a better fix (if the bug is still present...)

16 years agoAdd the icap and ecap libraries to libadaptation dependencies
Christos Tsantilas [Mon, 27 Apr 2009 20:43:24 +0000 (23:43 +0300)] 
Add the icap and ecap libraries to libadaptation dependencies

16 years agoregression fix bug #2583: pure virtual method called
Christos Tsantilas [Mon, 27 Apr 2009 20:20:37 +0000 (23:20 +0300)] 
regression fix bug #2583: pure virtual method called

The applied patch hid the problem, did not fix it.
This patch removes the applied patch and instead add an assertion check in
ClientHttpRequest::~ClientHttpRequest destructor just before call the
Adaptation::Initiator::announceInitiatorAbort method.

16 years agobug #2652 and bud #2385: "tunnelReadServer: FD xx: read failure: (0) Success" error...
Christos Tsantilas [Mon, 27 Apr 2009 19:19:00 +0000 (22:19 +0300)] 
bug #2652 and bud #2385: "tunnelReadServer: FD xx: read failure: (0) Success" error message

-Method TunnelStateData::Connection::error:
   The xerrno is the errno values (EAGAIN, EINTR etc) not a COMM_XX error/flag.
- Methods TunnelStateData::writeServerDone,TunnelStateData::writeClientDone:
  if the related connection fd closing (flag==COMM_ERR_CLOSING) just return

16 years agoHandle several IO errors cleanly.
Amos Jeffries [Mon, 27 Apr 2009 12:05:38 +0000 (00:05 +1200)] 
Handle several IO errors cleanly.

16 years agoRemove infinite loop in MSNT auth helper
Amos Jeffries [Mon, 27 Apr 2009 07:17:04 +0000 (19:17 +1200)] 
Remove infinite loop in MSNT auth helper

On one starting error condition the helper enters a read loop
without exit conditions. Made this exit when read was done
and shutdown helper as per behavior comment by the loop.

Also removes one useless goto.

16 years agoFix dependencies in DiskIO
Amos Jeffries [Mon, 27 Apr 2009 06:40:06 +0000 (18:40 +1200)] 
Fix dependencies in DiskIO

It appears the slightly broken teastheaders was previously hiding
several header definition and protection bugs. Now found and fixed.

16 years agoAuthor: René Geile <rene.geile@t-online.de>
Amos Jeffries [Mon, 27 Apr 2009 00:21:04 +0000 (12:21 +1200)] 
Author: RenĂ© Geile <rene.geile@t-online.de>
Fix incorrect name of digest_pw_auth helper

via Debian project
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517528

16 years agoAutoDocs: Exclude test build directories
Amos Jeffries [Sun, 26 Apr 2009 04:39:46 +0000 (16:39 +1200)] 
AutoDocs: Exclude test build directories

16 years agoInclude dependencies for ClientInfo
Amos Jeffries [Sat, 25 Apr 2009 09:18:05 +0000 (03:18 -0600)] 
Include dependencies for ClientInfo

16 years agoVarious other issues in calling testHeaders
Amos Jeffries [Sat, 25 Apr 2009 09:01:06 +0000 (03:01 -0600)] 
Various other issues in calling testHeaders

16 years agoCorrect use of custom target testheaders:
Amos Jeffries [Sat, 25 Apr 2009 06:27:21 +0000 (00:27 -0600)] 
Correct use of custom target testheaders:

 - Adds use of .PHONY in all files the do the test
 - Fixes dist breakage after automake changes

16 years agoFix many syntax warnings in smb_lm
Amos Jeffries [Fri, 24 Apr 2009 07:06:46 +0000 (01:06 -0600)] 
Fix many syntax warnings in smb_lm

Now compiled with the same CFLAGS as the rest of Squid.
This is tested up to gcc 3.4 standards now. Some may still
be raised by later gcc versions.

 - fixes const correctness on several functions and globals
 - fixes .h wrapping on several files
 - adds prototype definitions for all functions
 - adds several missing includes
 - adds docs for some functions to auto-doc output

TODO:
 Not all code audited, only the bits shown broken right now.
 This helper contains a large amount of nasty duplicate code
 and re-implements several encryption algoritms that should
 probably be sourced from secure places.

16 years agoAuthor: Mikio Kishi <mkishi@104.net>
Amos Jeffries [Fri, 24 Apr 2009 03:50:58 +0000 (15:50 +1200)] 
Author: Mikio Kishi <mkishi@104.net>
Enable TPROXY v4 spoofing of CONNECT requests

with some code polish sourced from ViSolve

16 years agoFix several smb_lm Macro errors
Amos Jeffries [Thu, 23 Apr 2009 23:35:37 +0000 (11:35 +1200)] 
Fix several smb_lm Macro errors

This patch reduces local variable names from UPPER case to lower.
Preventing clashes with previous systm defines. In this case only
DOMAIN and SERVER were actually clashing. But reduced all for safety.

Also wraps system includes with HAVE_ macros inline with Squid policy.

16 years agoRevert rev9648. Bzr malfunction caused bad attribution
Amos Jeffries [Thu, 23 Apr 2009 23:31:36 +0000 (11:31 +1200)] 
Revert rev9648. Bzr malfunction caused bad attribution

16 years agoKill bashism in testheaders.sh
Amos Jeffries [Thu, 23 Apr 2009 11:14:41 +0000 (23:14 +1200)] 
Kill bashism in testheaders.sh

Detected by NetBSD Project pkgsrc app.

16 years agoMany small fixes uncovered by the testbed layer #02
Amos Jeffries [Thu, 23 Apr 2009 11:09:22 +0000 (05:09 -0600)] 
Many small fixes uncovered by the testbed layer #02

 - failover recovery for valgrind support
 - better error reporting and detection for epoll support
 - better dependency detection and handling for ESI support
 - ARP build error on FreeBSD
 - hack: silence build error on ZPH QoS support (TODO fix)

TODO:
 - fix ZPH support for BSD (Bug 2537)
 - comm symbol duplication failures under gcc 4.3.2

16 years agoDetach automke system from using -I.
Amos Jeffries [Thu, 23 Apr 2009 09:52:10 +0000 (03:52 -0600)] 
Detach automke system from using -I.

That path include allows unsafe header collisions on case-insensitive
file systems.

Uses src/Common.am in all makefiles now to provide build paths and flags
correctly to all parts of Squid.

TODO:
  fix several code warnings now present due to CFLAGS being used
  on some helper code which had omitted to use them previously.

  check that libTrie and squid_kerb_auth are not affected as well.

16 years agoAuthor: Hasso Tepper <hasso@estpak.ee>
Amos Jeffries [Thu, 23 Apr 2009 09:33:44 +0000 (21:33 +1200)] 
Author: Hasso Tepper <hasso@estpak.ee>
DragonFly Support for PF

Received via NetBSD project.

NetBSD Maintainer says:
 "pfvar.h part came from DragonFly people."

Their CVS log attributes says, the fix is from hasso@estpak.ee:

| Fix two problems reported by Hasso Tepper via PR pkg/39554.
|
| * DragonFly support.

(other not relevant to this patch)

16 years agoAuthor: Unknown - NetBSD Project
Amos Jeffries [Thu, 23 Apr 2009 09:12:06 +0000 (21:12 +1200)] 
Author: Unknown - NetBSD Project
NetBSD uses machine/byte_swap.h for endian defines

16 years agoAuthor: Hasso Tepper <hasso@estpak.ee>
Amos Jeffries [Thu, 23 Apr 2009 08:15:53 +0000 (20:15 +1200)] 
Author: Hasso Tepper <hasso@estpak.ee>
Fix OpenSSL portability problem

Received via NetBSD project.

Their CVS log attributes says, the fix is from hasso@estpak.ee:

| Fix two problems reported by Hasso Tepper via PR pkg/39554.
|
| * OpenSSL portability problem.

(other not relevant to this patch)

16 years agoAuthor: Unknown - NetBSD Project
Amos Jeffries [Thu, 23 Apr 2009 08:08:14 +0000 (20:08 +1200)] 
Author: Unknown - NetBSD Project
Fix bashism in squid_kerb_auth helper configuration file

Found by NetBSD project pkgsrc tool.
Author of that tool is Roland Illig (rillig@netbsd.org).

16 years agoAuthor: Unkown - NetBSD Project
Amos Jeffries [Thu, 23 Apr 2009 07:56:29 +0000 (19:56 +1200)] 
Author: Unkown - NetBSD Project
Fix pinger install location

16 years agoCleanups: Shuffle ClientInfo into a class
Amos Jeffries [Tue, 21 Apr 2009 15:07:51 +0000 (03:07 +1200)] 
Cleanups: Shuffle ClientInfo into a class

 - upgrade struct+typedef to public class
 - gets its own header as pre-requisite to Logs SourceLayout

16 years agoAuthor: Bertrand Jacquin <beber@meleeweb.net>
Amos Jeffries [Tue, 21 Apr 2009 12:16:13 +0000 (00:16 +1200)] 
Author: Bertrand Jacquin <beber@meleeweb.net>
Make gcc-4.3 happy with strdup/strndup

Several casting void* to char* fixed.

16 years agoRegression Fix: ident open failure: Address already in use
Amos Jeffries [Sat, 18 Apr 2009 01:39:58 +0000 (13:39 +1200)] 
Regression Fix: ident open failure: Address already in use

Alterations in 3.1 caused the ident port opening to attept binding 3128
which was already opened by Squid.

This returns to the previous random port selection.

16 years agoBug 2491: assertion failed: refresh.cc: "age >= 0"
Amos Jeffries [Sat, 18 Apr 2009 01:20:20 +0000 (13:20 +1200)] 
Bug 2491: assertion failed: refresh.cc: "age >= 0"

Assertion was in the wrong place. If seen in Squid after this patch
please re-open the bug report and provide more details to track it down.

16 years agoCleanup magic buffer sizes in helper.cc
Amos Jeffries [Fri, 17 Apr 2009 22:09:22 +0000 (10:09 +1200)] 
Cleanup magic buffer sizes in helper.cc

Was an pair of 8KB magic numbers. Not made a single define with comments
to indicate what it is.

16 years agoBug 2536: %H in error page ERR_DNS_FAIL is not filled on HTTPS
Amos Jeffries [Fri, 17 Apr 2009 09:55:48 +0000 (21:55 +1200)] 
Bug 2536: %H in error page ERR_DNS_FAIL is not filled on HTTPS

16 years agoBug 2635: Incorrect Max-Forwards header type
Amos Jeffries [Tue, 14 Apr 2009 15:14:27 +0000 (03:14 +1200)] 
Bug 2635: Incorrect Max-Forwards header type

16 years agoBug 2610: Detection and verification of ipfilter header files is incorrect
Amos Jeffries [Sun, 12 Apr 2009 14:01:26 +0000 (02:01 +1200)] 
Bug 2610: Detection and verification of ipfilter header files is incorrect

After much contention reg Solaris and FreeBSD the union between them
seems to be this:
 - adding netinet/in.h
 - adding netinet/ip_fil_compat.h (alternative to netinet/ip_compat.h)
 - testing for netinet/ipl.h before netinet/ip_nat.h

16 years agoBug 2571: Squid with IPv6 fails to start on kernel without IPv6
Amos Jeffries [Sun, 12 Apr 2009 13:44:59 +0000 (01:44 +1200)] 
Bug 2571: Squid with IPv6 fails to start on kernel without IPv6

Adds comm_open_listener() wrapper to perform IPv6/IPv4 failover on sockets
intended for listening only. Uses the wrapper in all places I can be sure of.

Open a port specially bound for listening or sending through a specific port.
This is a wrapper providing IPv4/IPv6 failover around comm_openex().
Please use for all listening sockets and bind() outbound sockets.

It will open a socket bound for:
  - IPv4 if IPv6 is disabled or address is IPv4-native.
  - IPv6 if address is IPv6-native
  - IPv6 dual-stack mode if able to open [::]

When an open performs failover it update the given address to feedback
the new IPv4-only status of the socket. Further displays of the IP
(in debugs or cachemgr) will occur in Native IPv4 format.
A reconfigure is needed to reset the stored IP in most cases and attempt
a port re-open.

16 years agobug #2578: squid fails to resume dowload from FTP
Christos Tsantilas [Sun, 12 Apr 2009 12:23:35 +0000 (15:23 +0300)] 
bug #2578: squid fails to resume dowload from FTP

The ftp code uses the FtpStateData::restart_offset and
FtpStateData::restarted_offset to compute the offset in the case of
partial responses, but it must also set the
ServerStateData::currentOffset member variable.
This patch:
  - completely removes the FtpStateData::restarted_offset member and uses
    the ServerStateData::currentOffset member variable instead.
  - adds the FtpStateData::setCurrentOffset(int64_t) and
    FtpStateData::getCurrentOffset() public methods to allow set/get the
    ServerStateData::currentOffset value

16 years agoBug 2276: Too many queued ntlm authenticators running
Amos Jeffries [Sun, 12 Apr 2009 12:17:00 +0000 (00:17 +1200)] 
Bug 2276: Too many queued ntlm authenticators running

This enforces the admin configured number of helpers as a maximum number
running by calculating how many helpers have died and need restarting.

16 years agoDetatch debugs() from many of its dependencies
Amos Jeffries [Sun, 12 Apr 2009 08:17:19 +0000 (20:17 +1200)] 
Detatch debugs() from many of its dependencies

 - makes cache.log independent of the other logging systems
 - adds debug_options rotate=N setting
 - moves debug-specific globals and types into Debug::

TODO:
  remove remaining dependancy on shutdown flag
  polish up namespace etc for libdebug

16 years agoUpdates auto-save
Amos Jeffries [Sat, 11 Apr 2009 18:00:53 +0000 (06:00 +1200)] 
Updates auto-save

16 years agoPrep for 3.0.STABLE14
Amos Jeffries [Sat, 11 Apr 2009 09:25:27 +0000 (21:25 +1200)] 
Prep for 3.0.STABLE14

16 years agoUpdate man page.
Amos Jeffries [Sat, 11 Apr 2009 05:15:50 +0000 (17:15 +1200)] 
Update man page.

 - reference the wiki FAQ URI
 - reference the generic configuration manual URI
 - add documentation about other config files now visible
 - add -S option documentation
 - remove -D option documentation
 - alter the main text to reference ICP, HTCP, CARP and ICAP protocols
   which are now readily available in Squid.
 - removed references to obsolete dnsserver and its operations.
 - generalized text about helpers
 - removed reference to I/O driven (Async events is not true I/O driven)

16 years agoBug 2628: Need way to override DEFAULT_PID_FILE
Amos Jeffries [Fri, 10 Apr 2009 12:55:06 +0000 (00:55 +1200)] 
Bug 2628: Need way to override DEFAULT_PID_FILE

Adds ./configure option --with-pidfile=PATH
to set the default name and location of squid.pid

16 years agoTestBed: cause slave builders to cleanup after themselves
Amos Jeffries [Fri, 10 Apr 2009 03:50:06 +0000 (21:50 -0600)] 
TestBed: cause slave builders to cleanup after themselves

16 years agoLanguage Updates
Amos Jeffries [Fri, 10 Apr 2009 03:16:56 +0000 (15:16 +1200)] 
Language Updates

16 years agoSourceLayout: src/base, take 1 -- moved remaining Async* files to src/base/
Alex Rousskov [Thu, 9 Apr 2009 22:46:45 +0000 (16:46 -0600)] 
SourceLayout: src/base, take 1 -- moved remaining Async* files to src/base/

16 years agoSourceLayout: src/base, take 1 -- moved remaining Async* files to src/base/
Alex Rousskov [Thu, 9 Apr 2009 22:31:13 +0000 (16:31 -0600)] 
SourceLayout: src/base, take 1 -- moved remaining Async* files to src/base/

16 years agoMerged from trunk.
Alex Rousskov [Thu, 9 Apr 2009 18:17:24 +0000 (12:17 -0600)] 
Merged from trunk.

16 years agoAuthor: Various Translators
Amos Jeffries [Thu, 9 Apr 2009 13:47:38 +0000 (01:47 +1200)] 
Author: Various Translators
Language Updates

16 years agoAuthor: Olivier W.
Amos Jeffries [Thu, 9 Apr 2009 13:45:49 +0000 (01:45 +1200)] 
Author: Olivier W.
French Translation Updates

16 years agoMerge from trunk
Amos Jeffries [Thu, 9 Apr 2009 13:34:17 +0000 (01:34 +1200)] 
Merge from trunk

16 years agoPrep for 3.1.0.7
Amos Jeffries [Wed, 8 Apr 2009 10:34:45 +0000 (22:34 +1200)] 
Prep for 3.1.0.7

16 years agoHTTP 1.1: Forward OPTIONS requests properly
Amos Jeffries [Wed, 8 Apr 2009 10:01:57 +0000 (22:01 +1200)] 
HTTP 1.1: Forward OPTIONS requests properly

Bump the max_forwards type to 64-bit to cope with wider range of values.

NP: still no internal handling of OPTIONS requests, but this will
    forward them according to RFC 2616 requirements.

16 years agoMinor cleanup
Amos Jeffries [Tue, 7 Apr 2009 14:44:34 +0000 (02:44 +1200)] 
Minor cleanup

16 years agoAuthor: Source maintenance
Amos Jeffries [Tue, 7 Apr 2009 13:51:57 +0000 (01:51 +1200)] 
Author: Source maintenance
Source Format enforcement

16 years agoReal quiet cache.log when TPROXY and NAT both active
Amos Jeffries [Mon, 6 Apr 2009 13:33:04 +0000 (01:33 +1200)] 
Real quiet cache.log when TPROXY and NAT both active

16 years agoFubar. remove r9617
Amos Jeffries [Mon, 6 Apr 2009 13:22:42 +0000 (01:22 +1200)] 
Fubar. remove r9617

16 years agoQuiet cache.log when TPROXY and NAT both active
Amos Jeffries [Mon, 6 Apr 2009 12:59:32 +0000 (00:59 +1200)] 
Quiet cache.log when TPROXY and NAT both active

16 years agoWindows port: Added a note about installation on Windows Vista and later
Guido Serassio [Sat, 4 Apr 2009 15:34:12 +0000 (17:34 +0200)] 
Windows port: Added a note about installation on Windows Vista and later

16 years agoThe debug mode option '-d' was not documented in LDAP helpers usage message
Guido Serassio [Sat, 4 Apr 2009 09:58:40 +0000 (11:58 +0200)] 
The debug mode option '-d' was not documented in LDAP helpers usage message

16 years agoPurge last remnants of inet_ntoa
Amos Jeffries [Wed, 1 Apr 2009 11:49:17 +0000 (00:49 +1300)] 
Purge last remnants of inet_ntoa

 - Now fully replaced by IPAddress::NtoA and inet_ntop()
 - No need for the third-party emulator and license either

16 years agoCurrently the fs related subsystem is broken in trunk, because of
Christos Tsantilas [Tue, 31 Mar 2009 20:33:48 +0000 (23:33 +0300)] 
Currently the fs related subsystem is broken in trunk, because of
linking problems. This patch:
 - Add the files fs/Module.cc,h which are similar to esi/Module.* files
 - Build a new library libfs.a
 - The  fs/aufs/StoreFSaufs.cc, fs/diskd/StoreFSdiskd.cc and
   fs/ufs/StoreFSufs.cc now contain just fake pointers
 - The FS::Init() method used to build  ufs, aufs and diskd filesystems.
 - The FS::Init method called in main.cc before the code which reads the
   config files. The FS::clean() currently does not used.
 - The coss file system initiated using the old way.

16 years agoAutoDocs: Upgrade to 1.5.8 and fix many doc errors.
Amos Jeffries [Tue, 31 Mar 2009 12:39:30 +0000 (00:39 +1200)] 
AutoDocs: Upgrade to 1.5.8 and fix many doc errors.

Biggest change to note is a cleaner way to do lists of items in function
docs as follows:

/** blah blah:
 *  - foo
 *  - fu
 *  - fish
 */

16 years agoDisable HERE prefix calculation heuristic if it does not work instead of
Alex Rousskov [Mon, 30 Mar 2009 03:11:26 +0000 (21:11 -0600)] 
Disable HERE prefix calculation heuristic if it does not work instead of
asserting that the heuristic always works (it does not).

Polished comments.

More work needed to come up with a better heuristic.

16 years agoPolich Intercept code.
Amos Jeffries [Mon, 30 Mar 2009 02:13:10 +0000 (20:13 -0600)] 
Polich Intercept code.

 - cleans up some obscurity over data source and sink for me/client IPs.
 - cleans up existing debugs
 - adds new debugs to show NAT inputs and results at level-5
   (non-result is common and left at level-9)
 - adds new dbugs to show TPROXY result at level-5 like NAT results

16 years agoWindows port: Modified the base registry key tree
Guido Serassio [Sun, 29 Mar 2009 10:43:40 +0000 (12:43 +0200)] 
Windows port: Modified the base registry key tree

16 years agoWindows port: Added support for Windows 7, Windows Server 2008 R2 and later
Guido Serassio [Sun, 29 Mar 2009 10:36:30 +0000 (12:36 +0200)] 
Windows port: Added support for Windows 7, Windows Server 2008 R2 and later