]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
15 years agoAdded debugging scripts that work with detailed cache.log
Alex Rousskov [Fri, 16 Jul 2010 22:37:42 +0000 (16:37 -0600)] 
Added debugging scripts that work with detailed cache.log

  scripts/find-alive.pl: pinpoint objects that are still alive, to find leaks
  scripts/trace-job.pl: find cache.log lines that correspond to a given job
  scripts/trace-master.pl: trace jobs related to a single master transaction

The scripts require maintenance as the logging format changes, but
they often simplify debugging by extracting relevant information from
tons of poorly structured cache.log data.

15 years agoPolished AsyncJob documentation. Removed obsolete job call wrapping notes.
Alex Rousskov [Fri, 16 Jul 2010 17:07:07 +0000 (11:07 -0600)] 
Polished AsyncJob documentation. Removed obsolete job call wrapping notes.

Only the comments have been changed.

15 years agoAdded initial extended documentation for AsyncJob API.
Alex Rousskov [Fri, 16 Jul 2010 16:20:13 +0000 (10:20 -0600)] 
Added initial extended documentation for AsyncJob API.

Needs dox syntax check and polishing.

15 years agoUpdate libtool autoconf macros to libtool2 style
Henrik Nordstrom [Thu, 15 Jul 2010 15:13:23 +0000 (17:13 +0200)] 
Update libtool autoconf macros to libtool2 style

15 years agoRemove .so from SASL build checks
Amos Jeffries [Thu, 15 Jul 2010 01:36:28 +0000 (19:36 -0600)] 
Remove .so from SASL build checks

We definitely require the .a and .la files to build against SASL libraries.
The run-time .so is only relevant later.

15 years agoAuthor: Karl Benoit <karl.isatwork@gmail.com>
Amos Jeffries [Thu, 15 Jul 2010 01:35:14 +0000 (19:35 -0600)] 
Author: Karl Benoit <karl.isatwork@gmail.com>
Bug 2885: AIX support: c only c++ style comments test case

15 years agoBug 2885: AIX support: check libm for log()
Amos Jeffries [Thu, 15 Jul 2010 00:52:47 +0000 (18:52 -0600)] 
Bug 2885: AIX support: check libm for log()

15 years agoDocument BodyPipe.h
Amos Jeffries [Wed, 14 Jul 2010 13:40:40 +0000 (01:40 +1200)] 
Document BodyPipe.h

15 years agoMaintenance: reset working directory after snapshot sub-make.sh
Amos Jeffries [Wed, 14 Jul 2010 12:08:16 +0000 (00:08 +1200)] 
Maintenance: reset working directory after snapshot sub-make.sh

15 years agoBug 2651 fix: squid crashing with ident auth
Alex Rousskov [Wed, 14 Jul 2010 01:00:21 +0000 (19:00 -0600)] 
Bug 2651 fix: squid crashing with ident auth

Check whether the old-style (function-based) callback has the
function address to call. A writer may leave no "callback number".

15 years agoTypo in Joomla fix
Amos Jeffries [Tue, 13 Jul 2010 22:40:01 +0000 (10:40 +1200)] 
Typo in Joomla fix

15 years agoCorrect Joomla DB auth handling
Henrik Nordstrom [Tue, 13 Jul 2010 20:42:09 +0000 (22:42 +0200)] 
Correct Joomla DB auth handling

Found while reading the code. Original clearly could not have worked as
it split the password field using an uninitialized delimiter.

15 years agoAuthor: Milen Pankov <mail@milen.pankov.eu>
Henrik Nordstrom [Tue, 13 Jul 2010 20:23:02 +0000 (22:23 +0200)] 
Author: Milen Pankov <mail@milen.pankov.eu>
squid_db_auth support md5 encrypted passwords

--md5 option supporting unsalted MD5 password

15 years agoFixed memory leak related to retried requests.
Alex Rousskov [Tue, 13 Jul 2010 16:49:48 +0000 (10:49 -0600)] 
Fixed memory leak related to retried requests.

ErrorState object was not destroyed if the failed request to the origin
server or peer was retried.

15 years agoPrevent memory leaks when cloning Range requests.
Alex Rousskov [Tue, 13 Jul 2010 16:43:00 +0000 (10:43 -0600)] 
Prevent memory leaks when cloning Range requests.

HttpRequest::range field was set to a new HttpHdrRange object twice:
once in HttpRequest::clone() and once in HttpRequest::hdrCacheInit()
called from clone().

Polished HttpReply::clone() to make sure HttpReply::hdrCacheInit()
does not use uninitialized HttpReply::sline field and to prevent
benign double-initialization of HttpReply::keep_alive.

15 years agoFixed memory leaks related to Range requests.
Alex Rousskov [Tue, 13 Jul 2010 16:26:20 +0000 (10:26 -0600)] 
Fixed memory leaks related to Range requests.

HttpRequest::range field could be cleared without destroying HttpHdrRange
object in clientInterpretRequestHeaders().

The range field is essentially a cached value of the parsed Range header.
Managing the cache outside its owner object is a bad idea.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 13 Jul 2010 00:12:55 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoAuthor: Various Translators
Amos Jeffries [Mon, 12 Jul 2010 18:01:39 +0000 (06:01 +1200)] 
Author: Various Translators
Translations Update auto-save

15 years agoHelpers: cleanup wbinfo_group manual on distclean
Amos Jeffries [Mon, 12 Jul 2010 17:26:32 +0000 (05:26 +1200)] 
Helpers: cleanup wbinfo_group manual on distclean

15 years agoHelpers: Naming and C++ update for external ACL helpers
Amos Jeffries [Mon, 12 Jul 2010 14:45:17 +0000 (02:45 +1200)] 
Helpers: Naming and C++ update for external ACL helpers

 * Also adds the Fake auth helper for testing Basic authentication.
 * Also adds manual pages for most external ACL helpers

TODO: test for and fix any build issues on Windows.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 9 Jul 2010 00:12:48 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoAuthor: Henrik Nordstrom <henrik@henriknordstrom.net>
Amos Jeffries [Thu, 8 Jul 2010 12:45:31 +0000 (00:45 +1200)] 
Author: Henrik Nordstrom <henrik@henriknordstrom.net>
purge tool: making it work proper with current Squid versions

15 years agoAuthor: Jens-S. V�ckler <voeckler@rvs.uni-hannover.de>
Amos Jeffries [Thu, 8 Jul 2010 12:28:08 +0000 (00:28 +1200)] 
Author: Jens-S. V�ckler <voeckler@rvs.uni-hannover.de>
Import squid cache 'purge' tool

Just the original code import for crediting the original author.

TODO:
 - patch to fix build problems in modern systems
 - upgrade to cope with current cache_dir formats
 - bundle and distribute updated tool

15 years agoHelpers: unify auth helpers use of debug and HELPER_INPUT_BUFFER
Amos Jeffries [Thu, 8 Jul 2010 11:58:30 +0000 (23:58 +1200)] 
Helpers: unify auth helpers use of debug and HELPER_INPUT_BUFFER

15 years agoHelpers: upgrade digest helpers to C++
Amos Jeffries [Thu, 8 Jul 2010 11:01:47 +0000 (23:01 +1200)] 
Helpers: upgrade digest helpers to C++

15 years agoMaintenance: run webpage make from web directory
Amos Jeffries [Thu, 8 Jul 2010 06:49:20 +0000 (00:49 -0600)] 
Maintenance: run webpage make from web directory

15 years agoSMP: Use sys/uio.h for struct iovec
Amos Jeffries [Thu, 8 Jul 2010 06:28:49 +0000 (00:28 -0600)] 
SMP: Use sys/uio.h for struct iovec

15 years agoBootstrapped
Automatic source maintenance [Thu, 8 Jul 2010 00:11:20 +0000 (18:11 -0600)] 
Bootstrapped

15 years agoDefine MSG_NOSIGNAL if it is missing.
Alex Rousskov [Wed, 7 Jul 2010 17:39:21 +0000 (11:39 -0600)] 
Define MSG_NOSIGNAL if it is missing.

Solaris and possibly others do not provide this optional optimization.

15 years agoPolished KidName example to use a real Squid process name.
Alex Rousskov [Wed, 7 Jul 2010 16:45:24 +0000 (10:45 -0600)] 
Polished KidName example to use a real Squid process name.

15 years agoDo not use NAME_MAX because it is not portable.
Alex Rousskov [Wed, 7 Jul 2010 16:41:03 +0000 (10:41 -0600)] 
Do not use NAME_MAX because it is not portable.

15 years agoRe-defined preprocessor macro for better consistency.
Francesco Chemolli [Wed, 7 Jul 2010 15:48:48 +0000 (17:48 +0200)] 
Re-defined preprocessor macro for better consistency.

15 years agoIncreased consistency in configure.in quoting
Francesco Chemolli [Wed, 7 Jul 2010 13:05:17 +0000 (15:05 +0200)] 
Increased consistency in configure.in quoting
Fixed some compilation conditionals

15 years agoSMP: Kid depends on sys/wait.h
Amos Jeffries [Wed, 7 Jul 2010 12:44:44 +0000 (06:44 -0600)] 
SMP: Kid depends on sys/wait.h

15 years agoBootstrapped
Automatic source maintenance [Wed, 7 Jul 2010 04:15:41 +0000 (22:15 -0600)] 
Bootstrapped

15 years agoBootstrapped
Automatic source maintenance [Wed, 7 Jul 2010 03:47:14 +0000 (21:47 -0600)] 
Bootstrapped

15 years agoMoved KidIdentifier to globals to make pinger happy.
Alex Rousskov [Wed, 7 Jul 2010 03:17:47 +0000 (21:17 -0600)] 
Moved KidIdentifier to globals to make pinger happy.

Pinger and possibly other optional externals require KidIdentifier via
debugs(). Instead of making KidIdentifier global, we could add a "plugin" API
to add program-dependent stuff to debugs() and friends, but we should not add
that kind of complexity unless really necessary. We could also link pinger
with libipc.la but that will probably cause more problems with IPC
dependencies.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 7 Jul 2010 03:03:26 +0000 (21:03 -0600)] 
SourceFormat Enforcement

15 years agoMaintenance: wrap all snapshot script variables
Amos Jeffries [Wed, 7 Jul 2010 03:00:05 +0000 (21:00 -0600)] 
Maintenance: wrap all snapshot script variables

15 years agoSMP: updated release notes
Amos Jeffries [Wed, 7 Jul 2010 02:34:15 +0000 (20:34 -0600)] 
SMP: updated release notes

15 years agoSMP support, part 1: Essential non-caching functionality.
Alex Rousskov [Wed, 7 Jul 2010 00:45:34 +0000 (18:45 -0600)] 
SMP support, part 1: Essential non-caching functionality.

Added workers squid.conf option to specify how many main Squid
processes to fork and maintain. Zero means old no-daemon mode.
One means the old non-SMP mode.

Added support for process_name and process_number macros and
if-statement conditionals in squid.conf. Search for .pre changes for
documented details. These features allow the admin to configure each
worker process differently if needed.

Support multiple workers listening on the same HTTP[S] port (port
sharing). This allows multiple workers to split the load without any
special rules.

Support or prohibit port sharing for WCCP, DNS, ICP, HTCP, SNMP, and
Ident protocols, depending on protocol-specific restrictions. Sharing is
implemented by registering listening socket descriptors with the
Coordinator process and obtaining them from the Coordinator as needed.
Here are protocol-specific notes:

   WCCP: Restricted to the Coordinator process due to how WCCP works.
   Workers do not need access to the WCCP code.

   DNS: Done by each worker with no sharing. Fixed source ports not
   supported unless each worker is given its own outgoing address
   because we do not want to match outgoing queries and incoming
   responses across processes.

   SNMP: Workers share incoming and outgoing sockets.

   ICP and HTCP _clients_: Cannot be supported in SMP environment
   unless each process has its own address (i.e., unique IP address
   and/or unique [ICP] port) because we do not want to match outgoing
   queries and incoming responses across processes.

   ICP and HTCP _servers_: share listening sockets.

   Ident clients do not need to share sockets because they use
   unique ports.

Support management signals (squid -k ...) in SMP mode, acting as a
single Squid instance.

Refork dying workers, similar to how we reforked dying process in
non-SMP daemon mode.

Merged from lp smp branch r10306.

15 years agoDo not stop testheaders.sh on the first error, to be compatible with
Alex Rousskov [Wed, 7 Jul 2010 00:22:37 +0000 (18:22 -0600)] 
Do not stop testheaders.sh on the first error, to be compatible with
"make -k check".

If testheaders.sh stops on the first error, it becomes very difficult to
test your changes with "make check" when somebody else broke some other
code or when the checks reach src/cf_parser.h and fail.

TODO: stop on the first error unless running under "make -k check".

15 years agoDo not stop accepting just because we got COMM_NOMESSAGE.
Alex Rousskov [Wed, 7 Jul 2010 00:08:23 +0000 (18:08 -0600)] 
Do not stop accepting just because we got COMM_NOMESSAGE.

Do not dereference a possibly NULL callback pointer.

15 years agoMerged from parent (trunk r10600).
Alex Rousskov [Tue, 6 Jul 2010 23:09:44 +0000 (17:09 -0600)] 
Merged from parent (trunk r10600).

15 years agoApplied source formatting rules in preparation for trunk merge.
Alex Rousskov [Tue, 6 Jul 2010 18:58:38 +0000 (12:58 -0600)] 
Applied source formatting rules in preparation for trunk merge.

15 years agoFixed comment formatting.
Alex Rousskov [Mon, 5 Jul 2010 23:22:18 +0000 (17:22 -0600)] 
Fixed comment formatting.

15 years agoRenamed "main_processes" to "workers" per Squid Project review.
Alex Rousskov [Mon, 5 Jul 2010 22:12:51 +0000 (16:12 -0600)] 
Renamed "main_processes" to "workers" per Squid Project review.

15 years agoRemoved Descriptor-related code used for testing fd passing via UDS messages.
Alex Rousskov [Mon, 5 Jul 2010 21:28:23 +0000 (15:28 -0600)] 
Removed Descriptor-related code used for testing fd passing via UDS messages.

15 years agoBetter bug 2972 fix.
Amos Jeffries [Mon, 5 Jul 2010 11:34:15 +0000 (05:34 -0600)] 
Better bug 2972 fix.

sed the includes explicitly. Previous run worked unless code was actually
bootstrapped to an older libtool version.

15 years agoBug 2972: LTDL 2.2.6b compile errors
Amos Jeffries [Mon, 5 Jul 2010 10:49:55 +0000 (04:49 -0600)] 
Bug 2972: LTDL 2.2.6b compile errors

Bundle a slightly hacked version of libltdl/ltdl.h which does not use <>
for inclusion of its dependency files. This makes it portable to OS with
older libtool versions.

15 years agoUpdate negotiate SSPI helper
Amos Jeffries [Mon, 5 Jul 2010 09:59:15 +0000 (21:59 +1200)] 
Update negotiate SSPI helper

15 years agoBootstrapped
Automatic source maintenance [Sat, 3 Jul 2010 00:10:58 +0000 (18:10 -0600)] 
Bootstrapped

15 years agoFix validaton of release version
Amos Jeffries [Fri, 2 Jul 2010 02:19:17 +0000 (20:19 -0600)] 
Fix validaton of release version

15 years agoMore ChangeLog typos and corrections
Amos Jeffries [Fri, 2 Jul 2010 01:49:19 +0000 (13:49 +1200)] 
More ChangeLog typos and corrections

15 years agoAdded SMP scalability section.
Alex Rousskov [Fri, 2 Jul 2010 01:37:21 +0000 (19:37 -0600)] 
Added SMP scalability section.

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

15 years agoDo not dupe argv[0] string because it is not destroyed by changing the
Alex Rousskov [Fri, 2 Jul 2010 00:31:42 +0000 (18:31 -0600)] 
Do not dupe argv[0] string because it is not destroyed by changing the
argv[0] pointer.

15 years agoMoved CBDATA_CLASS2() down because it makes all members declared below public.
Alex Rousskov [Thu, 1 Jul 2010 22:58:45 +0000 (16:58 -0600)] 
Moved CBDATA_CLASS2() down because it makes all members declared below public.

15 years agoOptimization: Format "kidN" label for debugging once because it never changes
Alex Rousskov [Thu, 1 Jul 2010 22:01:14 +0000 (16:01 -0600)] 
Optimization: Format "kidN" label for debugging once because it never changes
after KidIdentifier is set.

15 years agoRemoved comment-question. There are no default http_port entries.
Alex Rousskov [Thu, 1 Jul 2010 21:20:38 +0000 (15:20 -0600)] 
Removed comment-question. There are no default http_port entries.

15 years agoMake ENABLE_AUTH_* automake conditionals available
Amos Jeffries [Wed, 30 Jun 2010 12:56:11 +0000 (00:56 +1200)] 
Make ENABLE_AUTH_* automake conditionals available

Pre-requisite for making the general code build obey --disable-auth-*

15 years agoNTLM helpers cleanup pt 3: migrate libsmbval into libntlmauth
Amos Jeffries [Wed, 30 Jun 2010 12:32:50 +0000 (00:32 +1200)] 
NTLM helpers cleanup pt 3: migrate libsmbval into libntlmauth

Library changes:
* ntlmauth.* files moved to libntlmauth/

* helpers/ntlm_auth/smb_lm/smbval moved to libntlmauth/

* No behaviour changes. Since I can't test the deeper logics.
  Just enough to make the code built with portable types available in Squid

* API shuffled slightly to use less .h and to remove all external uses of
  private *-priv.h definitions.

Library now provides three NTLM backend API:
  libntlmauth/ntlmauth.h  - NTLM packet handling
  libntlmauth/smb.h       - SMB LM credential validation
  libntlmauth/rfcnb.h     - RFCNB (NetBIOS) domain server communications

Helper Changes:

* NTLM helpers tweaked slightly to build with the adjusted libntlmauth API
  and ntlm_smb_lm_auth helper to build as C++

* automake logics updated to obey --disable-auth and --disable-auth-ntlm

NOTE: There will be extra code safety and testing benefits gained by
      converting libntlmauth to C++ as well. But that requries someone who
      can test the code behaviour during the upgrade. For now this wil do.

15 years agoSync error templates list with actual content
Amos Jeffries [Wed, 30 Jun 2010 03:10:42 +0000 (21:10 -0600)] 
Sync error templates list with actual content

15 years agoReal SSPI helper directory changed
Amos Jeffries [Wed, 30 Jun 2010 02:50:02 +0000 (20:50 -0600)] 
Real SSPI helper directory changed

15 years agoSSPI helper directory changed
Amos Jeffries [Wed, 30 Jun 2010 02:43:27 +0000 (20:43 -0600)] 
SSPI helper directory changed

15 years agoAuthor: Various Translators
Amos Jeffries [Tue, 29 Jun 2010 06:00:59 +0000 (18:00 +1200)] 
Author: Various Translators
Translations Update auto-save

15 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 29 Jun 2010 00:12:44 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoPull out the basic helper API definitions for sharing
Amos Jeffries [Mon, 28 Jun 2010 10:56:49 +0000 (22:56 +1200)] 
Pull out the basic helper API definitions for sharing

15 years agoUpgrade mswin_sspi_auth to ntlm_sspi_auth
Amos Jeffries [Mon, 28 Jun 2010 10:51:55 +0000 (22:51 +1200)] 
Upgrade mswin_sspi_auth to ntlm_sspi_auth

* Make use of new libntlmauth API for several actions.

TODO: C++ upgrade will need to be done in conjunction with someone who
      can assist testing the build.

15 years agoFix context leak in HttpStateData::processReplyHeader
Amos Jeffries [Mon, 28 Jun 2010 05:13:07 +0000 (17:13 +1200)] 
Fix context leak in HttpStateData::processReplyHeader

15 years agoBootstrapped
Automatic source maintenance [Mon, 28 Jun 2010 00:11:05 +0000 (18:11 -0600)] 
Bootstrapped

15 years agoCorrect deny_info tokens again.
Amos Jeffries [Sun, 27 Jun 2010 08:41:35 +0000 (02:41 -0600)] 
Correct deny_info tokens again.

url_presentable was not just enabling URL-encoding.
It restricts the set of tokens to those which produce data usable in
deny_info URLs.

Renamed to building_deny_info_url for clarity of use and added back in the
restrictions on adding protocol dumps and non-existent page names into the
URL.

15 years agoFixed snapshots
Automatic source maintenance [Sat, 26 Jun 2010 13:24:43 +0000 (07:24 -0600)] 
Fixed snapshots

15 years agoBootstrapped
Automatic source maintenance [Sat, 26 Jun 2010 12:54:10 +0000 (06:54 -0600)] 
Bootstrapped

15 years agoBootstrapped
Automatic source maintenance [Sat, 26 Jun 2010 12:31:27 +0000 (06:31 -0600)] 
Bootstrapped

15 years agoBootstrapped
Automatic source maintenance [Sat, 26 Jun 2010 12:05:52 +0000 (06:05 -0600)] 
Bootstrapped

15 years agoBootstrapped
Automatic source maintenance [Sat, 26 Jun 2010 04:45:39 +0000 (22:45 -0600)] 
Bootstrapped

15 years agoBootstrapped
Automatic source maintenance [Sat, 26 Jun 2010 02:00:44 +0000 (20:00 -0600)] 
Bootstrapped

15 years agoDocument logfile_daemon data format
Henrik Nordstrom [Sat, 26 Jun 2010 01:18:17 +0000 (03:18 +0200)] 
Document logfile_daemon data format

copied from helpers/log_daemon/file/log_file_daemon.cc

15 years agoBootstrapped
Automatic source maintenance [Fri, 25 Jun 2010 00:11:09 +0000 (18:11 -0600)] 
Bootstrapped

15 years agoAuthor: Matthias Pitzl <silamael@coronamundi.de>
Amos Jeffries [Thu, 24 Jun 2010 13:23:42 +0000 (07:23 -0600)] 
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 [Thu, 24 Jun 2010 02:58:54 +0000 (20:58 -0600)] 
Author: Sean Critica <sean.critica@gmail.com>
Bug 2903: does not send X-Client-Ip in ICAP respmod

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 19 Jun 2010 00:21:59 +0000 (18:21 -0600)] 
SourceFormat Enforcement

15 years agoBug #2692: deny_info URL redirect data not properly URL encoded
Henrik Nordstrom [Fri, 18 Jun 2010 21:07:06 +0000 (23:07 +0200)] 
Bug #2692: deny_info URL redirect data not properly URL encoded

The logics for determining if data inserted into deny_info redirection
URLs was a bit upside down, never actualy encoding anything.

15 years agoCleanup basic auth MSNT helper files
Amos Jeffries [Fri, 18 Jun 2010 12:35:09 +0000 (00:35 +1200)] 
Cleanup basic auth MSNT helper files

15 years agoManuals updates
Amos Jeffries [Fri, 18 Jun 2010 12:23:19 +0000 (00:23 +1200)] 
Manuals updates

15 years agoUpdate the public address reference for myself
Amos Jeffries [Fri, 18 Jun 2010 11:26:40 +0000 (23:26 +1200)] 
Update the public address reference for myself

15 years agoMaintenance: bit more debug on snapshots
Amos Jeffries [Wed, 16 Jun 2010 13:20:23 +0000 (01:20 +1200)] 
Maintenance: bit more debug on snapshots

15 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 16 Jun 2010 00:18:44 +0000 (18:18 -0600)] 
SourceFormat Enforcement

15 years agooff-by-one error when comparing SNMP OIDs when building the mib tree
Henrik Nordstrom [Tue, 15 Jun 2010 22:54:06 +0000 (00:54 +0200)] 
off-by-one error when comparing SNMP OIDs when building the mib tree

15 years agofree memory corruption introduced by the polishing of the SNMP tree generator.
Henrik Nordstrom [Tue, 15 Jun 2010 22:52:16 +0000 (00:52 +0200)] 
free memory corruption introduced by the polishing of the SNMP tree generator.

15 years agoKill unused variables
Henrik Nordstrom [Tue, 15 Jun 2010 22:16:32 +0000 (00:16 +0200)] 
Kill unused variables

15 years agoRestart DNS retransmission count when restarting the query as an A lookup
Henrik Nordstrom [Tue, 15 Jun 2010 21:46:43 +0000 (23:46 +0200)] 
Restart DNS retransmission count when restarting the query as an A lookup

15 years agoBug 2950: HTTP responses with no Date, Last-modified or expired can
Robert Collins [Tue, 15 Jun 2010 08:26:43 +0000 (20:26 +1200)] 
Bug 2950: HTTP responses with no Date, Last-modified or expired 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 [Tue, 15 Jun 2010 07:51:34 +0000 (01:51 -0600)] 
Maintenance: Formater skip libltdl dirs

15 years agoBootstrapped
Automatic source maintenance [Tue, 15 Jun 2010 07:21:57 +0000 (01:21 -0600)] 
Bootstrapped

15 years agoMaintenance: snapshot detect package name and version better.
Amos Jeffries [Tue, 15 Jun 2010 07:18:24 +0000 (01:18 -0600)] 
Maintenance: snapshot detect package name and version better.

The old patterns are no longer unique. Were setting the snapshot package
and version variables wrong.
Detect and use the formal PACKAGE_FOO=FOO settings instead now.

15 years agoSupport ICP and HTCP _servers_ sharing listening sockets.
Alex Rousskov [Mon, 14 Jun 2010 21:22:01 +0000 (15:22 -0600)] 
Support ICP and HTCP _servers_ sharing listening sockets.

Without a shared cache, the servers will report many false misses.

ICP and HTCP _clients_ cannot be supported in SMP environment unless each
process has its own address (i.e., unique IP address and/or unique [ICP] port)
because we cannot match outgoing queries and incoming responses across
processes. If ICP/HTCP support in SMP is needed, the easiest change would
be to use random source ports for sending ICP/HTCP queries. This may also
improve security by avoiding well-known source ports for UDP queries.

15 years agoUse newly added UsingSmp() instead of a spelling out the same condition.
Alex Rousskov [Mon, 14 Jun 2010 20:45:53 +0000 (14:45 -0600)] 
Use newly added UsingSmp() instead of a spelling out the same condition.

15 years agoAuthor: Tsantilas Christos <chtsanti@users.sourceforge.net> , Alex Rousskov <rousskov...
Christos Tsantilas [Mon, 14 Jun 2010 20:01:59 +0000 (23:01 +0300)] 
Author: Tsantilas Christos <chtsanti@users.sourceforge.net> , Alex Rousskov <rousskov@measurement-factory.com>
Support ICAP 206 Partial Content extension

The ICAP 206 Partial Content extension allows the ICAP agents to optionally
combine adapted and original HTTP message content.
For more information about ICAP Partial Content extension look at the
draft from the ICAP forum:

http://www.icap-forum.org/documents/specification/draft-icap-ext-partial-content-07.txt

The new configuration option "icap_206_enable" added to enable/disable
the 206 feature.

This is a Measurement Factory project.