]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
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 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 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 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 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.

15 years agoRemove missed configure.in entry for no_check helper
Amos Jeffries [Mon, 14 Jun 2010 12:52:24 +0000 (06:52 -0600)] 
Remove missed configure.in entry for no_check helper

15 years agoReally delete ntlm_auth/no_check helper
Henrik Nordstrom [Mon, 14 Jun 2010 12:35:07 +0000 (14:35 +0200)] 
Really delete ntlm_auth/no_check helper

15 years agoDrop no_check.pl NTLM helper
Amos Jeffries [Mon, 14 Jun 2010 11:33:42 +0000 (23:33 +1200)] 
Drop no_check.pl NTLM helper

It was a near duplicate of ntlm_fake_auth. But with some additional
cons:
 * predictable challenge nonce (BAD)
 * less configurable
 * required run-time perl infrastructure.

The original perl code is kept as ntlm_fake_auth.pl.in for now but does
not get built and installed.

15 years agoMaintenance: add some debug trace to HEAD snapshots
Amos Jeffries [Mon, 14 Jun 2010 11:13:29 +0000 (23:13 +1200)] 
Maintenance: add some debug trace to HEAD snapshots

15 years agoRestrict limited select() I/O loop below FD_SETSIZE.
Amos Jeffries [Sat, 12 Jun 2010 10:53:08 +0000 (22:53 +1200)] 
Restrict limited select() I/O loop below FD_SETSIZE.

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

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

15 years agoRevert libntlmauth .h dependency changes.
Amos Jeffries [Sat, 12 Jun 2010 10:35:54 +0000 (04:35 -0600)] 
Revert libntlmauth .h dependency changes.

catch-22:
 * without these ntlm helpers dont pick up libntlmauth API changes in .h

 * with these libntlmauth fails make dist with file overwrite Permission errors.

Caused by the automated natiure of include/*.h dist bundling. This will be
properly resolved when libntlmauth can be broken out of lib/ and include/

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

15 years agoUpdated release notes
Amos Jeffries [Fri, 11 Jun 2010 06:28:50 +0000 (18:28 +1200)] 
Updated release notes

15 years agoUpgrade ntlm_fake_auth helper and internal libntlmauth
Amos Jeffries [Fri, 11 Jun 2010 06:20:24 +0000 (18:20 +1200)] 
Upgrade ntlm_fake_auth helper and internal libntlmauth

Fake auth helper changes:

 - renames fakeauth to ntlm_fake_auth
 - links ntlm_fake_auth to libntlmauth
 - removes duplicate code provided by libcompat and libntlmauth
 - moves the remaining bits of fakeauth/ntlm.h to ntlm_fake_auth.cc

Library API changes:

 - moves some of the basic NTLM operations into libntlmauth
    * fetch_string UNICODE support
    * make challenge packet
    * validate packet type
    * make challenge nonce
    * unpack user and domain from authenticate packet

 - tweaks libntlmauth to split the make challenge operation so that it
   only generates the challenge object (does not encode blob for sending,
   or hard-code field values any more).

Other related changes:

 - tweaks the smb_lm helper which already linked libntlmauth so that it
   uses the updated API correctly after the above changes.

 - documents libntlmauth and some of ntlm_fake_auth helper

15 years agoPort from 2.7: max_filedescriptor config option
Amos Jeffries [Fri, 11 Jun 2010 05:24:52 +0000 (23:24 -0600)] 
Port from 2.7: max_filedescriptor config option

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

 setMaxFD: figures out what to we can use for Squid_MaxFD

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

15 years agopersistent_connection_after_error is meant to be on by default
Henrik Nordstrom [Thu, 10 Jun 2010 23:25:05 +0000 (01:25 +0200)] 
persistent_connection_after_error is meant to be on by default

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

15 years agoNot all FTP servers provide a banner message. xstrdup do not like NULL pointers
Henrik Nordstrom [Thu, 10 Jun 2010 21:38:03 +0000 (23:38 +0200)] 
Not all FTP servers provide a banner message. xstrdup do not like NULL pointers

15 years agoConst correctness
Henrik Nordstrom [Thu, 10 Jun 2010 20:11:14 +0000 (22:11 +0200)] 
Const correctness

15 years agoAuthor: Various Translators
Amos Jeffries [Thu, 10 Jun 2010 12:00:58 +0000 (00:00 +1200)] 
Author: Various Translators
Translations Update auto-save

15 years agoAuthor: Various Translators
Amos Jeffries [Thu, 10 Jun 2010 00:01:39 +0000 (12:01 +1200)] 
Author: Various Translators
Translations Update auto-save

15 years agokFreeBSD does not have linux headers.
Amos Jeffries [Wed, 9 Jun 2010 12:37:38 +0000 (00:37 +1200)] 
kFreeBSD does not have linux headers.

15 years agoUse SC system MD5 instead of hard-coded python paths
Amos Jeffries [Wed, 9 Jun 2010 00:26:21 +0000 (18:26 -0600)] 
Use SC system MD5 instead of hard-coded python paths

15 years agoSC python updated
Amos Jeffries [Tue, 8 Jun 2010 08:41:39 +0000 (02:41 -0600)] 
SC python updated

15 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 8 Jun 2010 00:13:24 +0000 (18:13 -0600)] 
SourceFormat Enforcement

15 years agoAuthor: Various Translators
Amos Jeffries [Tue, 8 Jun 2010 00:00:53 +0000 (12:00 +1200)] 
Author: Various Translators
Translations Update auto-save

15 years agoAuthor: Sean Critica <sean.critica@gmail.com>
Amos Jeffries [Mon, 7 Jun 2010 06:01:30 +0000 (18:01 +1200)] 
Author: Sean Critica <sean.critica@gmail.com>
Bug 2943: ICAP tokens not logged when using multiple access

15 years agoAuthor: Various Translators
Amos Jeffries [Sun, 6 Jun 2010 12:00:36 +0000 (00:00 +1200)] 
Author: Various Translators
Translations Update auto-save

15 years agoUpdate release notes
Amos Jeffries [Thu, 3 Jun 2010 10:10:36 +0000 (22:10 +1200)] 
Update release notes

15 years agoAuthor: Tsantilas Christos <chtsanti@users.sourceforge.net>
Henrik Nordström [Thu, 3 Jun 2010 07:49:20 +0000 (09:49 +0200)] 
Author: Tsantilas Christos <chtsanti@users.sourceforge.net>
Add logging of the local TCP port used by transactions with http servers

The new log format code is "%<lp"

In the case there are several server-side connections logs the port of
the last connection.

This is a Measurement Factory project.

Regards,
    Christos

15 years agoClean generated AutHType file
Amos Jeffries [Thu, 3 Jun 2010 03:13:42 +0000 (15:13 +1200)] 
Clean generated AutHType file

15 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 3 Jun 2010 00:12:32 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoBug 2305: Multiple leaks and assertion crashes in authentication.
Amos Jeffries [Wed, 2 Jun 2010 13:44:26 +0000 (01:44 +1200)] 
Bug 2305: Multiple leaks and assertion crashes in authentication.

 * implements proper RefCounting using the RefCount.h classes for
   almost all auth objects in Squid.

 * Restructures auth objects with a simpler structure of duties and scopes.

 * Prunes away several circular and indirectly circular pointer loops

 * Adds an API to auth config for handling the mainRotate() event. To only
   shutdown helpers, fixing the loss of cached credentials on rotate.

 * Adds a username_cache page to cachemgr interface to display the current
   credentials and their TTLs to various revalidation or garbage events.

With this we end up with several global pointers for the auth schemes which
have been built into the current Squid. These are RefCount pointers, fixing
the leak of schemes on shutdown. Schemes are now also permanent structures
for the runtime of Squid, fixing leaks on reconfigure and rotate actions.

These AuthSchemes are responsible for creating auth Config objects for each
auth protocol configured in squid.conf. These config objects are now also
able to be altered with a reconfigure instead of requiring a restart.

Each HTTP request authentication attempt generates AuthUserRequest objects,
which may or may not pointer to an AuthUser set of credentials being checked.
AuthUserRequest is RefCounted instead of locked, fixing several assertion
crashes.

AuthUser is now RefCounted instead of locked. It's children inherit
these properties. This simplifies the object handling a lot and fixes
several assertions.
 * This also means AuthUser no longer needs a back-pointer to all
AuthUserRequest in order to see if its still needed alive, fixing one
circular lock loop and a few possible assertions.
 * The username cache pointers to only AuthUser objects, fixing a second
cirular lock loop and potentially leakage. Also simplifying the hash cache
handling a lot.

Non-Auth code needing a reference to authentication credentials should
hold a pointer to either an AuthUserRequest or AuthUser object. Not any
other auth object.

FUTURE WORK;
 There is still some conditions leading to auth re-challenge when they
 are not expected.
 A fair chunk of classes and enums have been shuffled into separate files
 to keep the scopes clearer. This could be increased in future when
 building the Auth namespace.
 Potential is now present for simpler TTL handling for all auth types.

This work was a collaboration between multiple interested parties over
the last year, with additional developer time and testing funded by
Netspace Online Systems.

15 years agoMerge from trunk
Amos Jeffries [Wed, 2 Jun 2010 13:36:08 +0000 (01:36 +1200)] 
Merge from trunk

15 years agoMerge from trunk
Amos Jeffries [Wed, 2 Jun 2010 13:35:20 +0000 (01:35 +1200)] 
Merge from trunk

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

15 years agoBug #2938: Removal of DNS CNAME code broke acl dst lookups
Henrik Nordstrom [Mon, 31 May 2010 20:30:51 +0000 (22:30 +0200)] 
Bug #2938: Removal of DNS CNAME code broke acl dst lookups

lookup code failed to handle the case where handler == NULL properly, was only partially implemented

15 years agoBug #2937: Fails to detect chunked encoding if not given in all lower case
Henrik Nordstrom [Mon, 31 May 2010 19:51:06 +0000 (21:51 +0200)] 
Bug #2937: Fails to detect chunked encoding if not given in all lower case

15 years agoDocument libntlm.la library API
Amos Jeffries [Mon, 31 May 2010 12:20:10 +0000 (00:20 +1200)] 
Document libntlm.la library API

15 years agoAdd omitted CLEANFILES to basic scripts Makefiles
Amos Jeffries [Mon, 31 May 2010 11:27:28 +0000 (23:27 +1200)] 
Add omitted CLEANFILES to basic scripts Makefiles

15 years agoSubstitute Perl shell path into Basic auth helper scripts
Amos Jeffries [Mon, 31 May 2010 09:32:19 +0000 (21:32 +1200)] 
Substitute Perl shell path into Basic auth helper scripts

This fixes these helpers by default on OS where the perl shell is not at
/usr/bin/perl. The problem of cross-compiling shell variation remains as
it was before.

TODO: roll out to other installed scripts

15 years agoSourceFormat Enforcement
Automatic source maintenance [Mon, 31 May 2010 00:12:32 +0000 (18:12 -0600)] 
SourceFormat Enforcement

15 years agoPrep for 3.1.4
Amos Jeffries [Sun, 30 May 2010 10:56:55 +0000 (22:56 +1200)] 
Prep for 3.1.4

15 years agoReally disable IPv6 NDP lookup.
Amos Jeffries [Sun, 30 May 2010 09:46:06 +0000 (21:46 +1200)] 
Really disable IPv6 NDP lookup.

15 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Henrik Nordstrom [Sun, 30 May 2010 09:13:54 +0000 (11:13 +0200)] 
Author:  Alex Rousskov <rousskov@measurement-factory.com>
Bug #2789: Optimize unlimited memory pools, and correctly handle limits > 2GB.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 30 May 2010 00:15:16 +0000 (18:15 -0600)] 
SourceFormat Enforcement

15 years agoRework memory pools
Henrik Nordstrom [Sat, 29 May 2010 22:02:54 +0000 (00:02 +0200)] 
Rework memory pools

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

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

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

15 years agoDocument --disable-mempools configure option as removed
Henrik Nordstrom [Sat, 29 May 2010 18:44:25 +0000 (20:44 +0200)] 
Document --disable-mempools configure option as removed

15 years ago--with-dns-cname was removed from 3.1 some time ago
Henrik Nordstrom [Sat, 29 May 2010 18:43:11 +0000 (20:43 +0200)] 
--with-dns-cname was removed from 3.1 some time ago

15 years agoRemove --enable-chunkedmempools configure option. The chunked alloctor is now experim...
Henrik Nordstrom [Sat, 29 May 2010 18:39:21 +0000 (20:39 +0200)] 
Remove --enable-chunkedmempools configure option. The chunked alloctor is now experimental and likely being phased out.

15 years agoRestore strict perl on DB helper
Amos Jeffries [Sat, 29 May 2010 10:18:33 +0000 (22:18 +1200)] 
Restore strict perl on DB helper

15 years agoRename --disable-mempools to --enable-chunkedmempools to reflect it's function
Henrik Nordstrom [Sat, 29 May 2010 01:31:01 +0000 (03:31 +0200)] 
Rename --disable-mempools to --enable-chunkedmempools to reflect it's function

15 years agoBlank out memory chunk statistics when not using chunked allocator
Henrik Nordstrom [Sat, 29 May 2010 01:19:53 +0000 (03:19 +0200)] 
Blank out memory chunk statistics when not using chunked allocator

15 years agoCorrect saved allocations statistics
Henrik Nordstrom [Sat, 29 May 2010 01:06:38 +0000 (03:06 +0200)] 
Correct saved allocations statistics

15 years agoSimple freelist in malloc based pool allocator
Henrik Nordstrom [Sat, 29 May 2010 00:59:35 +0000 (02:59 +0200)] 
Simple freelist in malloc based pool allocator

15 years agoFix statistics
Henrik Nordstrom [Fri, 28 May 2010 23:51:08 +0000 (01:51 +0200)] 
Fix statistics

15 years agoMerged from trunk
Henrik Nordstrom [Fri, 28 May 2010 21:56:44 +0000 (23:56 +0200)] 
Merged from trunk

15 years agoCorrect common log format line ending output
Henrik Nordstrom [Fri, 28 May 2010 21:56:27 +0000 (23:56 +0200)] 
Correct common log format line ending output

15 years agoSplit MemPool.cc into generic framework and specific implementation
Henrik Nordstrom [Fri, 28 May 2010 21:53:06 +0000 (23:53 +0200)] 
Split MemPool.cc into generic framework and specific implementation