]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
15 years agoMerged from trunk
Francesco Chemolli [Sun, 3 Jan 2010 21:18:34 +0000 (22:18 +0100)] 
Merged from trunk

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 3 Jan 2010 01:13:06 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoBasic Authentication Helper name upgrades
Amos Jeffries [Sat, 2 Jan 2010 12:06:08 +0000 (01:06 +1300)] 
Basic Authentication Helper name upgrades

This nearly completes renaming and C++ compiling of the basic auth helpers.
MSNT is still pending cleanup in it's smb library code.

TODO: other helper types updated.

15 years agoDistribute missing helper-mux file.
Amos Jeffries [Sat, 2 Jan 2010 11:58:24 +0000 (00:58 +1300)] 
Distribute missing helper-mux file.

Uncovered by testbed.

15 years agoRelease notes for helper-mux
Amos Jeffries [Sat, 2 Jan 2010 05:37:54 +0000 (18:37 +1300)] 
Release notes for helper-mux

15 years agoAuthor: Francesco Chemolli <kinkie@squid-cache.org>
Amos Jeffries [Sat, 2 Jan 2010 05:00:34 +0000 (18:00 +1300)] 
Author: Francesco Chemolli <kinkie@squid-cache.org>
Helper Multiplexer

The helper multiplexer's purpose is to relieve some of the burden
squid has when dealing with slow helpers. It does so by acting as a
middleman between squid and the actual helpers, talking to squid via
the multiplexed variant of the helper protocol and to the helpers
via the non-multiplexed variant.

Helpers are started on demand, and in theory the muxer can handle up to
1k helpers per instance. It's up to squid to decide how many helpers
to start.

The muxer knows nothing about the actual messages being passed around,
and as such can't really (yet?) compensate for broken helpers.
It is not yet able to manage dying helpers, but it will.

The helper can be controlled using various signals:
- SIGHUP: dump the state of all helpers to STDERR

15 years agoAdd client_ip_max_connections
Amos Jeffries [Sat, 2 Jan 2010 04:32:46 +0000 (17:32 +1300)] 
Add client_ip_max_connections

Given some incentive after deep consideration of the slowloris claims.
While I still do not believe Squid is vulnerable per-se and some people
have tested and found no such failures as claimed for the DoS attack.

We found we could provide better administrative controls.  This is one such
that has been asked about many times and still did not exist. It operates
essentially teh same as the maxconn ACL, but does not require HTTP headers
and other request data to fully exist like ACLs do.

It is tested immediately after accept() and is request type agnostic, right
down to DNS TCP requests. So care is warranted in hierarchy situations or where
clients may be behind NAT.

Utilizes the client DB to monitor accepted TCP links. Operates prior to
everything so as to eliminate resource usage on the blocking case and
close the windows of opportunity for dribble-attacks etc.

Default (-1) is to keep the status-quo of no limits.

15 years agoBug 2452: external_acl_type does not limit entries, leads to high memory usage
Amos Jeffries [Sat, 2 Jan 2010 01:00:17 +0000 (14:00 +1300)] 
Bug 2452: external_acl_type does not limit entries, leads to high memory usage

Set a nominal cap of 256*1024 entries per external_acl_type configured.
This can be adjusted as needed with the external_acl_type cache=N option.

15 years agoDetatch status code enum from enums.h
Amos Jeffries [Fri, 1 Jan 2010 21:16:57 +0000 (10:16 +1300)] 
Detatch status code enum from enums.h

15 years agoBug 2787: pt 1: unexpected http status code messages
Amos Jeffries [Fri, 1 Jan 2010 09:15:02 +0000 (22:15 +1300)] 
Bug 2787: pt 1: unexpected http status code messages

Bumping the message from level-0 (critical) to level-1 (important and
major informational)

15 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 1 Jan 2010 01:12:55 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoTypo in status passing
Amos Jeffries [Thu, 31 Dec 2009 11:46:41 +0000 (00:46 +1300)] 
Typo in status passing

15 years agoEnable specific status codes to be passed from the request parser.
Amos Jeffries [Thu, 31 Dec 2009 02:56:50 +0000 (15:56 +1300)] 
Enable specific status codes to be passed from the request parser.

This allows us to start providing better HTTP/1.1 compliant errors for
the various request parsing problems.

15 years agoRefactored LogDaemon helpers selection code.
Francesco Chemolli [Mon, 28 Dec 2009 21:40:31 +0000 (22:40 +0100)] 
Refactored LogDaemon helpers selection code.

15 years agoRefactored Digest helpers selection code.
Francesco Chemolli [Mon, 28 Dec 2009 21:15:27 +0000 (22:15 +0100)] 
Refactored Digest helpers selection code.

15 years agoRefactored Negotiate helpers selection code.
Francesco Chemolli [Mon, 28 Dec 2009 17:22:02 +0000 (18:22 +0100)] 
Refactored Negotiate helpers selection code.

15 years agoRefactored NTLM auth helpers detection.
Francesco Chemolli [Mon, 28 Dec 2009 17:13:26 +0000 (18:13 +0100)] 
Refactored NTLM auth helpers detection.

15 years agoStreamlined basic auth helpers handling
Francesco Chemolli [Sat, 26 Dec 2009 23:22:43 +0000 (00:22 +0100)] 
Streamlined basic auth helpers handling

15 years agoFixed output for disk-io modules.
Francesco Chemolli [Sat, 26 Dec 2009 21:55:50 +0000 (22:55 +0100)] 
Fixed output for disk-io modules.
Refactored some --enable options to SQUID_YESNO.
Made option-parsing for --with-coss-membuf-size stricter and refactored it.
Refactored auth-modules detection and handling.

15 years agoImplemented SQUID_YESNO
Francesco Chemolli [Sat, 26 Dec 2009 13:57:28 +0000 (14:57 +0100)] 
Implemented SQUID_YESNO
Streamlined some --enable and --disable options' handling

15 years agoFixed broken shell syntax
Francesco Chemolli [Sat, 26 Dec 2009 09:23:56 +0000 (10:23 +0100)] 
Fixed broken shell syntax

15 years agoConverted many #ifdefs to #ifs
Francesco Chemolli [Sat, 26 Dec 2009 00:25:57 +0000 (01:25 +0100)] 
Converted many #ifdefs to #ifs

15 years agoMerged from trunk
Francesco Chemolli [Fri, 25 Dec 2009 22:15:16 +0000 (23:15 +0100)] 
Merged from trunk

15 years agoImproved handling of --enable-default-hostsfile
Francesco Chemolli [Fri, 25 Dec 2009 22:14:26 +0000 (23:14 +0100)] 
Improved handling of --enable-default-hostsfile
Changed several cases of improper AC_DEFINE handling by SNMP code.

15 years agoFixed bug which manifests when snmp is enabled together with external dns helpers.
Francesco Chemolli [Fri, 25 Dec 2009 22:12:48 +0000 (23:12 +0100)] 
Fixed bug which manifests when snmp is enabled together with external dns helpers.

15 years agoSimplified iDNS and SNMP somewhat.
Francesco Chemolli [Fri, 25 Dec 2009 20:52:47 +0000 (21:52 +0100)] 
Simplified iDNS and SNMP somewhat.

15 years agoImlemented SQUID_DEFINE_UNQUOTED
Francesco Chemolli [Fri, 25 Dec 2009 18:32:29 +0000 (19:32 +0100)] 
Imlemented SQUID_DEFINE_UNQUOTED
Some reformatting
Restructured eCAP, ICAP, WCCP, WCCPv2, KILL_PARENT_HACK to use SQUID_DEFINE_UNQUOTED
Renamed SELECT_TYPE

15 years agoRemoved merge conflict artifacts.
Francesco Chemolli [Fri, 25 Dec 2009 13:19:41 +0000 (14:19 +0100)] 
Removed merge conflict artifacts.

15 years agoUnraveled the netfilter-tproxy mess
Francesco Chemolli [Fri, 25 Dec 2009 10:52:31 +0000 (11:52 +0100)] 
Unraveled the netfilter-tproxy mess
Fixed bug with using detected PERL in helpers/basic_auth/DB

15 years agoReindented some sections
Francesco Chemolli [Thu, 24 Dec 2009 13:22:27 +0000 (14:22 +0100)] 
Reindented some sections

15 years agoAdded copyright disclaimer on top of configure.in
Francesco Chemolli [Thu, 24 Dec 2009 13:12:49 +0000 (14:12 +0100)] 
Added copyright disclaimer on top of configure.in
Changed most comments so that they also show up in the generated configure script.

15 years agoMerged from trunk
Francesco Chemolli [Thu, 24 Dec 2009 08:44:33 +0000 (09:44 +0100)] 
Merged from trunk

15 years agoFixed brokenness in IPF_TRANSPARENT
Francesco Chemolli [Wed, 23 Dec 2009 11:23:25 +0000 (12:23 +0100)] 
Fixed brokenness in IPF_TRANSPARENT
Added some documentation about configure.in itself
Prettified buildmodel
Obsoleted some irix stuff

15 years agoIncorrect function names in aclParseAclList debugging output.
Matthew Morgan [Tue, 22 Dec 2009 23:24:28 +0000 (10:24 +1100)] 
Incorrect function names in aclParseAclList debugging output.

15 years agoFactored epoll() checks out.
Francesco Chemolli [Tue, 22 Dec 2009 16:58:56 +0000 (17:58 +0100)] 
Factored epoll() checks out.
Renamed some more vars to standard compliance

15 years agoMerged from trunk
Francesco Chemolli [Tue, 22 Dec 2009 15:02:14 +0000 (16:02 +0100)] 
Merged from trunk

15 years agoRemoved unnecessary pauses when configureing
Francesco Chemolli [Tue, 22 Dec 2009 14:52:10 +0000 (15:52 +0100)] 
Removed unnecessary pauses when configureing
Renamed some internal variables to be standard-compliant.
Reworked handling of some transparent interception options.

15 years agoRefactored some checks out of configure.in and into specific calls.
Francesco Chemolli [Tue, 22 Dec 2009 12:49:57 +0000 (13:49 +0100)] 
Refactored some checks out of configure.in and into specific calls.

15 years agoSanitized net I/O configuration
Francesco Chemolli [Tue, 22 Dec 2009 11:23:05 +0000 (12:23 +0100)] 
Sanitized net I/O configuration

15 years agoPrep for 3.0.STABLE21
Amos Jeffries [Tue, 22 Dec 2009 05:09:35 +0000 (18:09 +1300)] 
Prep for 3.0.STABLE21

15 years agoSourceFormat: do forced removal of stuck *.astylebak files
Amos Jeffries [Tue, 22 Dec 2009 03:19:53 +0000 (16:19 +1300)] 
SourceFormat: do forced removal of stuck *.astylebak files

15 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 22 Dec 2009 01:12:53 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoUpdated release notes
Amos Jeffries [Tue, 22 Dec 2009 00:36:22 +0000 (13:36 +1300)] 
Updated release notes

15 years agoLeaned-up some modules-detection code
Francesco Chemolli [Mon, 21 Dec 2009 16:32:48 +0000 (17:32 +0100)] 
Leaned-up some modules-detection code
Renamed some vars to standard-compliant
Performed some aesthetic fixups
Made some tests more consistent
Prettified EUI and SSL

15 years agoFix SetTproxy2OutgoingAddr definition error
Amos Jeffries [Mon, 21 Dec 2009 12:21:10 +0000 (01:21 +1300)] 
Fix SetTproxy2OutgoingAddr definition error

15 years agoAuthor: Tsantilas Christos <chtsanti@users.sourceforge.net>
Amos Jeffries [Mon, 21 Dec 2009 12:13:11 +0000 (01:13 +1300)] 
Author: Tsantilas Christos <chtsanti@users.sourceforge.net>
Append the _ABORTED or _TIMEDOUT suffixes to the action access.log field.

 * When an HTTP connection with a client times out, append _TIMEDOUT suffix
to the Squid result code field in access.log.

 * When an HTTP connection with the client is terminated prematurely by
Squid, append _ABORTED suffix to the result code field in access.log.
Premature connection termination may happen when, for example, I/O
errors or server side-problems force Squid to terminate the master
transaction and close all associated connections.

The above changes make it possible to identify failed transactions even
when they have 200/200 received/send response status codes and a
"successful" Squid result code (e.g., TCP_MISS). This is important when
one does not want 1-hour "stuck" transactions for 15-byte GIFs to
significantly skew the mean response time statistics. Such transactions
eventually terminate due to, say, TCP errors, and the old code would
record huge response times for successfully-looking transactions.

The development sponsored by the Measurement Factory

15 years agoAuthor: Tsantilas Christos <chtsanti@users.sourceforge.net>
Amos Jeffries [Mon, 21 Dec 2009 12:05:22 +0000 (01:05 +1300)] 
Author: Tsantilas Christos <chtsanti@users.sourceforge.net>
Add support for write timeouts.

The development sponsored by the Measurement Factory

Description:
The write I/O timeout should trigger if Squid has data to write but
the connection is not ready to accept more data for the specified time.
If the write times out, the Comm caller's write handler is called with
an ETIMEDOUT COMM_ERROR error.

Comm may process a single write request in several chunks, without
caller's knowledge. The waiting time is reset internally by Comm after
each chunk is written.

Default timeout value is 15 minutes.

The implementation requires no changes in Comm callers but it adds write
timeouts to all connections, including the connections that have
context-specific write timeouts. I think that is fine.

15 years agoRegression Fix: Make Squid abort on parse failures.
Amos Jeffries [Mon, 21 Dec 2009 12:00:15 +0000 (01:00 +1300)] 
Regression Fix: Make Squid abort on parse failures.

The addition of multi-file parsing and catching of thrown errors between
them caused any errors in sub-files to be non-fatal and allow Squid to
run as if everything was normal, even if parts of the config were not
being loaded.

Squid will now propigate the error exception out and exit with a count of
the errors found.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Mon, 21 Dec 2009 01:13:12 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoBug 2811: pt 1: Correct Peer table OID numbering
Amos Jeffries [Sun, 20 Dec 2009 10:18:22 +0000 (23:18 +1300)] 
Bug 2811: pt 1: Correct Peer table OID numbering

The IPv6 alterations to the cache_peer table display should not have
altered existing OID numbers. This fixes that by bumping the new table
format to a new OID number .1.3.6.1.4.1.3495.1.5.1.3 for version 3 of the
table.

NP: version 1 of the table was in 2.0->2.5, and 3.0
    version 2 of the table was in 2.6+

15 years agoAuthor: Adrian Chadd <adri@squid-cache.org>
Amos Jeffries [Sun, 20 Dec 2009 08:54:51 +0000 (21:54 +1300)] 
Author: Adrian Chadd <adri@squid-cache.org>
Polish SNMP tree generator.

Alters the OID tree creation such that OID are easier for code developers
to manage.

Ported from Squid-2 patch (only applied to Lusca) by Amos Jeffries.

15 years agotypo in external_acl.cc
Amos Jeffries [Sun, 20 Dec 2009 01:19:11 +0000 (14:19 +1300)] 
typo in external_acl.cc

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 20 Dec 2009 01:13:05 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoCleanup: use libtool/libtdl default location
Amos Jeffries [Sat, 19 Dec 2009 11:56:02 +0000 (00:56 +1300)] 
Cleanup: use libtool/libtdl default location

It is simpler to use the default libltdl location than hiding libtool
away in our custom directory and requiring a bootstrap to set it up.

15 years agoPolish on-demand helpers a little more
Amos Jeffries [Sat, 19 Dec 2009 05:47:00 +0000 (18:47 +1300)] 
Polish on-demand helpers a little more

* logic for implicit external_acl_type idle= parameter was bad
  could result in idle=9999999 if max<startup.
  Fix that and remove the possible max<startup

* add concurrency back into the config dump displays

* fully drop the auth_param concurrency parameter for consistency.

15 years agoTried to unravel some mess with diskthreads and aio.
Francesco Chemolli [Fri, 18 Dec 2009 22:06:08 +0000 (23:06 +0100)] 
Tried to unravel some mess with diskthreads and aio.

15 years agoImplemented $squid_host_os variable.
Francesco Chemolli [Fri, 18 Dec 2009 15:45:51 +0000 (16:45 +0100)] 
Implemented $squid_host_os variable.
Removed some nextstep3 workarounds (obsolete)
Streamlined some win32-related conditionals.
Streamlined threading lib detection.
Fixed misnamed SQUID_TOLOWER_VAR_CONTENTS

15 years agoRemove obsolete RunCache/RunAccel scripts.
Amos Jeffries [Thu, 17 Dec 2009 23:33:46 +0000 (12:33 +1300)] 
Remove obsolete RunCache/RunAccel scripts.

RunCache and RunAccel have been obsolete since squid-2.6 parent/child
auto-restart feature was included in the main code.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 17 Dec 2009 01:13:16 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoFix signed/unsigned warning on CentOS
Amos Jeffries [Wed, 16 Dec 2009 06:27:48 +0000 (19:27 +1300)] 
Fix signed/unsigned warning on CentOS

15 years agoRun helpers on-demand
Amos Jeffries [Wed, 16 Dec 2009 03:46:59 +0000 (16:46 +1300)] 
Run helpers on-demand

For some config backwards compatibility the maximum is kept as a single
integer first parameter to the *children directives.

Default setting changes:

 Instead of starting N helpers on startup and each reconfigure this
 makes the default zero and the configured value a maximum cap.
 The default maximum is raised from 5 to 20 for all helpers except
 for dnsservers where the maximum is raised to the old documented
 maximum of 32.

Obsoleted settings:
 url_rewrite_concurrency
  - replaced by the concurrency=N option now available on all *_children
    directives (including auth_param X children).
    To avoid compile problems this directive had to be fully dropped.

 auth_param X concurrency N
  - as above. However the option was able to be retained, as deprecated
    for future removal as well.

Behavior changes:

Whenever a request needs to use a helper and there are none available
immediately Squid tests to see if its okay to start a new one. Then does so.

The "helpers dying too fast" warnings and Squid closing has been modified
Squid will now not care about dying helpers if there are more that
startup=N active. If the death causes less than startup=N to be running
and is hit twice in less than 30 seconds will cause the warning message
to be doisplayed and Squid to abort same as before.

NP: that with startup=0 (the new default) helpers dying before or after
their first use will not crash Squid. But may result in a loop of
hung/failed requests and WILL result in a great many helper-failed
warnings in cache.log.

If needed we can bump the startup default back to 1 to avoid all that.
Or add a special check to kill squid if helpers die during startup and
provide a clearer log message "Foo helper is dying before we can finish
starting it" etc.

TODO: the current patch has no way to dynamically decrease the number of
      helpers. Only a reconfigure or helper dying can do that.

15 years agoRemove the following ./configure warnings:
Alex Rousskov [Tue, 15 Dec 2009 06:06:36 +0000 (23:06 -0700)] 
Remove the following ./configure warnings:

  conftest.cpp:34:1: warning: "USE_DISKIO_AIO" redefined
  conftest.cpp:35:1: warning: "USE_DISKIO_DISKTHREADS" redefined

The patch allows Squid v3.1 to build on RHEL 5.4 which has autoconf v2.59.
Without the patch, USE_DISKIO_AIO is zero but the corresponding AIO files
are compiled, leading to errors. I do not know if other platforms are
affected.

15 years agoRenamed some variables to conform to naming conventions.
Francesco Chemolli [Sat, 12 Dec 2009 15:11:20 +0000 (16:11 +0100)] 
Renamed some variables to conform to naming conventions.

15 years agoMerged from trunk
Francesco Chemolli [Sat, 12 Dec 2009 12:45:46 +0000 (13:45 +0100)] 
Merged from trunk

15 years agoFix type-punned pointer in forwarding
Amos Jeffries [Sat, 12 Dec 2009 00:58:17 +0000 (13:58 +1300)] 
Fix type-punned pointer in forwarding

15 years agoThere is no reliable way to detect -pipe :( Moved to compiler-specific selection.
Francesco Chemolli [Sat, 12 Dec 2009 00:38:52 +0000 (01:38 +0100)] 
There is no reliable way to detect -pipe :( Moved to compiler-specific selection.
Some cosmetic fixes.
Removed some irix6-specific workarounds

15 years agoSet timestamps for newly created store entry during ICAP request satisfaction.
Alex Rousskov [Fri, 11 Dec 2009 23:37:30 +0000 (16:37 -0700)] 
Set timestamps for newly created store entry during ICAP request satisfaction.

If the ICAP-generated response lacks the HTTP Date header, and we do not call
timestampsSet(), Squid says:

WARNING: An error inside Squid has caused an HTTP reply without Date:.

15 years agoComplemented some AC_DEFINEs with AH_TEMPLATEs
Francesco Chemolli [Fri, 11 Dec 2009 23:33:37 +0000 (00:33 +0100)] 
Complemented some AC_DEFINEs with AH_TEMPLATEs

15 years agoBug 2395: FTP errors not displayed
Amos Jeffries [Fri, 11 Dec 2009 14:15:28 +0000 (03:15 +1300)] 
Bug 2395: FTP errors not displayed

* Fix PUT and other errors hanging
* Fix assertion "entry->store_status == STORE_PENDING" caused by FTP
* Several variable-shadowing cases resolved for the fix.

15 years agoAuthor: Jochen Voss <voss@seehuhn.de>
Amos Jeffries [Thu, 10 Dec 2009 04:14:28 +0000 (17:14 +1300)] 
Author: Jochen Voss <voss@seehuhn.de>
Fix failure to reset MD5 context buffer

15 years agoFixed yet another bug in state-saving helper functions.
Francesco Chemolli [Tue, 8 Dec 2009 14:13:21 +0000 (15:13 +0100)] 
Fixed yet another bug in state-saving helper functions.

15 years agoFixed bug in SQUID_STATE_COMMIT
Francesco Chemolli [Tue, 8 Dec 2009 14:04:10 +0000 (15:04 +0100)] 
Fixed bug in SQUID_STATE_COMMIT

15 years agoImplemented alternate approach to -pipe flag detection
Francesco Chemolli [Tue, 8 Dec 2009 14:01:39 +0000 (15:01 +0100)] 
Implemented alternate approach to -pipe flag detection

15 years agoStarted unraveling ESI detection logic
Francesco Chemolli [Mon, 7 Dec 2009 19:09:53 +0000 (20:09 +0100)] 
Started unraveling ESI detection logic

15 years agorefactored module check for replacement policies.
Francesco Chemolli [Mon, 7 Dec 2009 09:52:25 +0000 (10:52 +0100)] 
refactored module check for replacement policies.

15 years agoExtracted and started using functions to uppercase and lowercase a variable.
Francesco Chemolli [Fri, 4 Dec 2009 13:50:05 +0000 (14:50 +0100)] 
Extracted and started using functions to uppercase and lowercase a variable.

15 years agoDisabled coss in auto-discovered modules to be built.
Francesco Chemolli [Fri, 4 Dec 2009 08:38:26 +0000 (09:38 +0100)] 
Disabled coss in auto-discovered modules to be built.

15 years agoMerged from trunk
Francesco Chemolli [Fri, 4 Dec 2009 08:37:28 +0000 (09:37 +0100)] 
Merged from trunk

15 years agoConst correctness in math definitions
Amos Jeffries [Thu, 3 Dec 2009 22:34:46 +0000 (11:34 +1300)] 
Const correctness in math definitions

15 years agoMerged from trunk
Francesco Chemolli [Thu, 3 Dec 2009 11:17:29 +0000 (12:17 +0100)] 
Merged from trunk

15 years agoFixed linking issue in tests/testCoss
Francesco Chemolli [Thu, 3 Dec 2009 10:58:30 +0000 (11:58 +0100)] 
Fixed linking issue in tests/testCoss
Fixed libtoolization in lib/libTrie

15 years agoMerged from trunk
Francesco Chemolli [Thu, 3 Dec 2009 09:04:15 +0000 (10:04 +0100)] 
Merged from trunk

15 years agoSimplified ufs dependency tracking.
Francesco Chemolli [Thu, 3 Dec 2009 09:03:59 +0000 (10:03 +0100)] 
Simplified ufs dependency tracking.

15 years agoAccount for mem_node overheaders inside cache_mem
Amos Jeffries [Thu, 3 Dec 2009 02:38:11 +0000 (15:38 +1300)] 
Account for mem_node overheaders inside cache_mem

This makes squid include the overhead memory space when determining the
number of data pages available in cache_mem memory space. Forming a much
better limit on memory cache usage.

This does NOT solve any issues created by sizeof(mem_node) being unaligned
with the system malloc implementation page size. That still needs to be
resolved.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 3 Dec 2009 01:12:57 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoFix typos and missing cast
Amos Jeffries [Thu, 3 Dec 2009 00:41:41 +0000 (13:41 +1300)] 
Fix typos and missing cast

15 years agoAuthor: Feshchuk Yuriy <swopster@meta.ua>
Amos Jeffries [Wed, 2 Dec 2009 23:20:10 +0000 (12:20 +1300)] 
Author: Feshchuk Yuriy <swopster@meta.ua>
Language Updates: Ukrainian

15 years agoShuffle simple math functions into SquidMath
Amos Jeffries [Wed, 2 Dec 2009 22:39:11 +0000 (11:39 +1300)] 
Shuffle simple math functions into SquidMath

This unlinks many depencies pulled in by tools.cc through the more
complicated permissions, and death reporting code.

15 years agoBug 2830: clarify where NULL byte is in headers.
Amos Jeffries [Wed, 2 Dec 2009 22:27:33 +0000 (11:27 +1300)] 
Bug 2830: clarify where NULL byte is in headers.

Debug printing used to naturally stop string output at the null byte.

This should show the first segment of headers up to the NULL and the
segment of headers after it. So that its clear to admin that there are
more headers _after_ the portion that used to be logged.

15 years agoPartial checkpoint: enrich SQUID_CHECK_EXISTING_MODULES functionality and use it.
Francesco Chemolli [Wed, 2 Dec 2009 17:59:31 +0000 (18:59 +0100)] 
Partial checkpoint: enrich SQUID_CHECK_EXISTING_MODULES functionality and use it.

15 years agoMore diskio modules cleanup and modularization.
Francesco Chemolli [Wed, 2 Dec 2009 15:32:47 +0000 (16:32 +0100)] 
More diskio modules cleanup and modularization.

15 years agoFactored out m4 method to look for modules.
Francesco Chemolli [Wed, 2 Dec 2009 13:50:58 +0000 (14:50 +0100)] 
Factored out m4 method to look for modules.
Added CC and CXX to state save/commit/rollback helper.
Removed redundant --enable-async-io configure argument

15 years agoMerged from trunk
Francesco Chemolli [Tue, 1 Dec 2009 08:28:14 +0000 (09:28 +0100)] 
Merged from trunk

15 years agoAuthor: Ivan Masár <helix84@centrum.sk>
Amos Jeffries [Tue, 1 Dec 2009 06:00:51 +0000 (19:00 +1300)] 
Author: Ivan Masár <helix84@centrum.sk>
Language Updates: Slovak

15 years agotime_t is not always struct
Amos Jeffries [Tue, 1 Dec 2009 05:53:30 +0000 (18:53 +1300)] 
time_t is not always struct

15 years agoPerform the test for -pipe in C instead of C++
Francesco Chemolli [Mon, 30 Nov 2009 15:55:24 +0000 (16:55 +0100)] 
Perform the test for -pipe in C instead of C++

15 years agoAdded auxiliary methods for saving and restoring configuration state.
Francesco Chemolli [Mon, 30 Nov 2009 13:21:09 +0000 (14:21 +0100)] 
Added auxiliary methods for saving and restoring configuration state.

15 years agoFix Kerberos build errors on FreeBSD
Amos Jeffries [Mon, 30 Nov 2009 11:47:42 +0000 (00:47 +1300)] 
Fix Kerberos build errors on FreeBSD

15 years agoDoc update on http_port tproxy
Amos Jeffries [Sun, 29 Nov 2009 05:33:51 +0000 (18:33 +1300)] 
Doc update on http_port tproxy

15 years agoFixed fhuge-objects detection in libTrie
Francesco Chemolli [Fri, 27 Nov 2009 11:57:34 +0000 (12:57 +0100)] 
Fixed fhuge-objects detection in libTrie