]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
15 years agoMerge 3p2-rock.
Dmitry Kurochkin [Tue, 1 Feb 2011 05:07:49 +0000 (08:07 +0300)] 
Merge 3p2-rock.

15 years agoAdded forgotten StrandSearch sources.
Alex Rousskov [Tue, 1 Feb 2011 05:17:51 +0000 (22:17 -0700)] 
Added forgotten StrandSearch sources.

15 years agoMerge 3p2-rock.
Dmitry Kurochkin [Tue, 1 Feb 2011 05:07:38 +0000 (08:07 +0300)] 
Merge 3p2-rock.

15 years agoAdded IpcIo DiskIO module for communication with remote disk processes via UDS.
Alex Rousskov [Tue, 1 Feb 2011 05:01:43 +0000 (22:01 -0700)] 
Added IpcIo DiskIO module for communication with remote disk processes via UDS.
Used IpcIo for Rock Store filesystem module.

Added StrandSearch API: Workers use it to ask Coordinator for the right
address (i.e., kid identifier) of the disk process for a given cache_dir path.
If Coordinator does not know the answer, it waits for more disk processes to
register. Implemented using generic tagging of kids (StrandCoord) and
searching for the right tag.

Raised UDS message size maximum to 36K in order to accommodate non-trivial
rock store I/O while we are using UDS messages for I/O content.

Fixed shutdown handling broken by hiding cache_dirs from Coordinator while
switching IamPrimaryProcess() logic to use NumberOfKids() which needs
cache_dir count.

15 years agoShared Rock::DirMap version 7.
Dmitry Kurochkin [Tue, 1 Feb 2011 04:59:26 +0000 (07:59 +0300)] 
Shared Rock::DirMap version 7.

15 years agoShared Rock::DirMap version 6.
Dmitry Kurochkin [Tue, 1 Feb 2011 03:57:45 +0000 (06:57 +0300)] 
Shared Rock::DirMap version 6.

15 years agoBug 3140: memory leak in error page generation
Amos Jeffries [Tue, 1 Feb 2011 01:57:16 +0000 (18:57 -0700)] 
Bug 3140: memory leak in error page generation

Avoid freeing buffer m before using it. Specific to the 3.2+ logics.

15 years agoSome functions needlessly return const int. De-const-ified.
Francesco Chemolli [Mon, 31 Jan 2011 14:06:44 +0000 (15:06 +0100)] 
Some functions needlessly return const int. De-const-ified.

15 years ago-Rename snmplib/libsnmp.a to snmplib/libsnmplib.a
Christos Tsantilas [Mon, 31 Jan 2011 14:04:00 +0000 (16:04 +0200)] 
-Rename snmplib/libsnmp.a to snmplib/libsnmplib.a
-Move src/snmpx to src/snmp/
-Merge the ENABLE_SNMP blocks in Makafile.am

15 years agoMerge from trunk
Amos Jeffries [Mon, 31 Jan 2011 11:50:28 +0000 (00:50 +1300)] 
Merge from trunk

15 years agoShared Rock::DirMap version 5.
Dmitry Kurochkin [Mon, 31 Jan 2011 04:08:41 +0000 (07:08 +0300)] 
Shared Rock::DirMap version 5.

15 years agoAdded "disker" processes to be responsible for individual cache_dir I/O.
Alex Rousskov [Sun, 30 Jan 2011 23:16:22 +0000 (16:16 -0700)] 
Added "disker" processes to be responsible for individual cache_dir I/O.

Determine kid process role based on the process name rather than kid ID.
This allows the process to perform role-specific actions before (or while)
squid.conf is parsed.

15 years agoMerge 3p2-rock.
Dmitry Kurochkin [Sun, 30 Jan 2011 23:15:49 +0000 (02:15 +0300)] 
Merge 3p2-rock.

15 years agoShared Rock::DirMap version 4.
Dmitry Kurochkin [Sun, 30 Jan 2011 23:15:05 +0000 (02:15 +0300)] 
Shared Rock::DirMap version 4.

15 years agoRock::SwapDir::get() implementation.
Dmitry Kurochkin [Sun, 30 Jan 2011 06:06:24 +0000 (09:06 +0300)] 
Rock::SwapDir::get() implementation.

15 years agoRevert RockSwapDir changes.
Dmitry Kurochkin [Sun, 30 Jan 2011 06:04:46 +0000 (09:04 +0300)] 
Revert RockSwapDir changes.

15 years agoShared Rock::DirMap version 3.
Dmitry Kurochkin [Sun, 30 Jan 2011 06:00:04 +0000 (09:00 +0300)] 
Shared Rock::DirMap version 3.

15 years agoMerge 3p2-rock.
Dmitry Kurochkin [Sun, 30 Jan 2011 04:41:33 +0000 (07:41 +0300)] 
Merge 3p2-rock.

15 years agoShared Rock::DirMap version 2.
Dmitry Kurochkin [Sun, 30 Jan 2011 04:35:36 +0000 (07:35 +0300)] 
Shared Rock::DirMap version 2.

15 years agoWhen searching for a hit, ask each cache_dir after checking in store_table.
Alex Rousskov [Sun, 30 Jan 2011 02:21:30 +0000 (19:21 -0700)] 
When searching for a hit, ask each cache_dir after checking in store_table.

This allows SMP cache_dirs to share their contents without constantly worrying
about keeping the worker-specific store_table in sync among workers.

15 years agoAdded stream operator << for StoreEntry to ease debugging.
Alex Rousskov [Sun, 30 Jan 2011 02:19:26 +0000 (19:19 -0700)] 
Added stream operator << for StoreEntry to ease debugging.

15 years agoShared Rock::DirMap version 1.
Dmitry Kurochkin [Sun, 30 Jan 2011 01:35:32 +0000 (04:35 +0300)] 
Shared Rock::DirMap version 1.

15 years agoChange RockDirMap to use bytes instead of bits.
Dmitry Kurochkin [Sat, 29 Jan 2011 18:44:25 +0000 (21:44 +0300)] 
Change RockDirMap to use bytes instead of bits.

This is required to make it shared between multiple worker processes, because
we can not work atomically with bits.

15 years agoSupport multiple services and vectoring-point crossing in ICAP X-Next-Services.
Alex Rousskov [Sat, 29 Jan 2011 18:18:12 +0000 (11:18 -0700)] 
Support multiple services and vectoring-point crossing in ICAP X-Next-Services.

Adding source files forgotten in r11167.

Merged from the 3p1-rock branch (r9630).

15 years agoProfiler: fix report sorting algorithm
Amos Jeffries [Sat, 29 Jan 2011 02:23:48 +0000 (15:23 +1300)] 
Profiler: fix report sorting algorithm

The sorting was performed in a way to exclude the UNACCOUNTED and leave it
first in the display list. However with the new auto-genenerated enum all
other entries are at indeterminate locations. Using hash_lookup resulted
in only half teh list being sorted.
Fix that by referencing from UNACCOUNTED which is guaranteed to be first.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 29 Jan 2011 01:13:18 +0000 (18:13 -0700)] 
SourceFormat Enforcement

15 years agoAdded a configuration check to prevent IoState::startWriting() assertions.
Alex Rousskov [Sat, 29 Jan 2011 00:08:52 +0000 (17:08 -0700)] 
Added a configuration check to prevent IoState::startWriting() assertions.

Rock::IoState::startWriting() asserts that [padded] write request size does
not exceed the slot size. Padded request size always exceeds the slot size for
slots smaller than the page.

This check may also help avoid using unallocated buffer for padding, but that
part may need more work.

15 years agoTry to return a template error page. Also return 404 error code
Christos Tsantilas [Fri, 28 Jan 2011 18:35:12 +0000 (20:35 +0200)] 
Try to return a template error page. Also return 404 error code

15 years agomenu did not displayed in browser
Christos Tsantilas [Fri, 28 Jan 2011 18:34:27 +0000 (20:34 +0200)] 
menu did not displayed in browser

15 years agoadd workers and processes arguments to cachemgr.cgi
Christos Tsantilas [Fri, 28 Jan 2011 18:33:27 +0000 (20:33 +0200)] 
add workers and processes arguments to cachemgr.cgi

15 years agoAmos requests
Christos Tsantilas [Fri, 28 Jan 2011 17:56:41 +0000 (19:56 +0200)] 
Amos requests

15 years agofix debug sections
Christos Tsantilas [Fri, 28 Jan 2011 13:52:16 +0000 (15:52 +0200)] 
fix debug sections

15 years agoUpdate docs for maxconn ACL with indirect clients
Amos Jeffries [Fri, 28 Jan 2011 13:17:28 +0000 (02:17 +1300)] 
Update docs for maxconn ACL with indirect clients

15 years agoWindows: fix several OS name based logics for MingW
Amos Jeffries [Fri, 28 Jan 2011 09:54:33 +0000 (22:54 +1300)] 
Windows: fix several OS name based logics for MingW

15 years agoTestBed: make header tests obey config.h-first policy
Amos Jeffries [Fri, 28 Jan 2011 09:05:34 +0000 (22:05 +1300)] 
TestBed: make header tests obey config.h-first policy

15 years agoWindows: define OS wrapper for MinGW environment support
Amos Jeffries [Fri, 28 Jan 2011 08:16:17 +0000 (21:16 +1300)] 
Windows: define OS wrapper for MinGW environment support

15 years agoWindows: fix code wrappers for Cygwin and generic Win32 code
Amos Jeffries [Fri, 28 Jan 2011 07:58:53 +0000 (20:58 +1300)] 
Windows: fix code wrappers for Cygwin and generic Win32 code

_SQUID_WIN32_ was being used to wrap all code built specific for Windows
but with any compiler on that platform.
 - rename to _SQUID_WINDOWS_ to match OS wrpper naming convention.
 - compact several macros using verbose test: (cygwin or Ming or any)

Cleans up all affected tests to match current precompiler code style.

Also cleans up all tests involving _SQUID_CYGWN_ to match code styles.

15 years agoTestBed: Typo remaining from old flags mistake
Amos Jeffries [Fri, 28 Jan 2011 04:45:40 +0000 (17:45 +1300)] 
TestBed: Typo remaining from old flags mistake

15 years agoAdded STORE_META_OBJSIZE size to keep storeSwapMetaSize in sync with
Alex Rousskov [Fri, 28 Jan 2011 01:25:12 +0000 (18:25 -0700)] 
Added STORE_META_OBJSIZE size to keep storeSwapMetaSize in sync with
storeSwapMetaBuild.

15 years agoSupport multiple services and vectoring-point crossing in ICAP X-Next-Services.
Alex Rousskov [Thu, 27 Jan 2011 21:19:45 +0000 (14:19 -0700)] 
Support multiple services and vectoring-point crossing in ICAP X-Next-Services.

Merged from the 3p1-rock branch (r9630).

15 years agoMiscellaneous useful changes from 3p1-rock (r9630) unrelated to Rock Store.
Alex Rousskov [Thu, 27 Jan 2011 21:16:49 +0000 (14:16 -0700)] 
Miscellaneous useful changes from 3p1-rock (r9630) unrelated to Rock Store.

15 years agoRock Store implementation merged from the 3p1-rock branch (r9630).
Alex Rousskov [Thu, 27 Jan 2011 21:14:56 +0000 (14:14 -0700)] 
Rock Store implementation merged from the 3p1-rock branch (r9630).

15 years agoAuthor: Steven Lawrance <squid@moonlightdesign.org>
Amos Jeffries [Thu, 27 Jan 2011 12:23:25 +0000 (01:23 +1300)] 
Author: Steven Lawrance <squid@moonlightdesign.org>
Bug: 2968: Show the Vary: headers information in cachemgr objects report

15 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Christos Tsantilas [Thu, 27 Jan 2011 09:29:04 +0000 (11:29 +0200)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Fix IP/FQDN cache accounting to avoid idle caches on busy servers.

When maintaining the IP/FQDN cache size, use the number of entries in the cache
rather than the number of allocated and not freed MEM_IPCACHE_ENTRY and
MEM_FQDNCACHE_ENTRY objects. These objects are used outside the cache
for DNS queries. If queries leak (or perhaps when there are just a lot of them),
the memory-pool-based count overestimates the cache size, sometimes to
such a degree that the cache remains nearly empty despite lots of misses.

Use memory-pool-based counter to estimate cache size also violates IP/FQDN cache
encapsulation boundaries because it effectively prevents others from using
the same memory pool.

15 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 27 Jan 2011 01:12:25 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoPortability fix: size_t is unsigned
Francesco Chemolli [Wed, 26 Jan 2011 13:27:33 +0000 (14:27 +0100)] 
Portability fix: size_t is unsigned

15 years agoBug 2581, Bug 3081, Bug 2948: various TCP socket connection problems
Amos Jeffries [Wed, 26 Jan 2011 03:47:13 +0000 (16:47 +1300)] 
Bug 2581, Bug 3081, Bug 2948: various TCP socket connection problems

Bug 3081:
  During conversion of listening socket handlers to AsyncCalls a violation
of the AsyncCall API was introduced. Resulting in occasional crashes from
invalid re-use of call objects.

This implements a TcpAcceptor async job which receives a listening socket
and a CallSubscription. For every connection attempt on the listener socket
a new AsyncCall is spawned from the subscription template.

Initial users are the HTTP and HTTPS listening sockets and FTP data channel.

In order to implement this job in FTP the logics surrounding data channel
handling had to be extended and reworked. Fixing bug 2948 and 2581 in the
process.

15 years agoPortability fix: icc doesn't like string literal in assert checks
Francesco Chemolli [Tue, 25 Jan 2011 22:46:53 +0000 (23:46 +0100)] 
Portability fix: icc doesn't like string literal in assert checks

15 years agoRemoved unneeded symbol from smblib
Francesco Chemolli [Tue, 25 Jan 2011 21:31:25 +0000 (22:31 +0100)] 
Removed unneeded symbol from smblib

15 years agoFixed bug in NTLM auth helper which would show up on non-gcc compilers
Francesco Chemolli [Tue, 25 Jan 2011 21:30:11 +0000 (22:30 +0100)] 
Fixed bug in NTLM auth helper which would show up on non-gcc compilers

15 years agoAdded specific flags for Intel(R)'s icc compiler
Francesco Chemolli [Tue, 25 Jan 2011 21:29:23 +0000 (22:29 +0100)] 
Added specific flags for Intel(R)'s icc compiler

15 years agoAuthor: Fabian Hugelshofer <fh@open.ch>
Amos Jeffries [Tue, 25 Jan 2011 08:55:40 +0000 (21:55 +1300)] 
Author: Fabian Hugelshofer <fh@open.ch>
Allow persistent connections for Mozilla/3.0 User-Agents

This fixes NTLM and Negotiate authentication for these agents.

History:

In 1998 a hack was added to HttpMsg::persistent() that disables
persistent connections for HTTP/1.0 User-Agents starting with
"Mozilla/3." and "Netscape/3.".

According to the thread on squid-dev
(http://www.eu.squid-cache.org/mail-archive/squid-dev/199805/0087.html),
this was necessary to make some versions of Netscape browsers work that
had a broken implementation of persistent connections. It was said that
"NS 3.01 is ok. NS 3.02 is bad. NS 3.04 is good." Netscape 4 was ok, too.

15 years agoAdd missing wrappers in errorpage.cc
Amos Jeffries [Tue, 25 Jan 2011 07:41:43 +0000 (20:41 +1300)] 
Add missing wrappers in errorpage.cc

15 years agoFix external_acl_type grace= option
Amos Jeffries [Tue, 25 Jan 2011 05:31:59 +0000 (18:31 +1300)] 
Fix external_acl_type grace= option

Due to race conditions between concurrent requests this is still not a
complete fix. But reduces the unwanted re-use of helper responses from
all connections arriving in a whole second which match the ACL key down
to just those that arrive within the reply lag time of the helper.

The grace option has a resolution of 1 second.

15 years agoUpdate IPv6 magic tcp_outgoing_address documentation
Amos Jeffries [Tue, 25 Jan 2011 02:55:02 +0000 (19:55 -0700)] 
Update IPv6 magic tcp_outgoing_address documentation

15 years agoAuthor: Martin Huter <mhuter@barracuda.com>
Amos Jeffries [Tue, 25 Jan 2011 02:18:38 +0000 (19:18 -0700)] 
Author: Martin Huter <mhuter@barracuda.com>
Bug 3140: memory leak in error page generation

15 years agoSimplify request parsing to not check request method when determining if a
Henrik Nordstrom [Mon, 24 Jan 2011 20:23:27 +0000 (21:23 +0100)] 
Simplify request parsing to not check request method when determining if a
request contains a request-entity or not. For requests this is signalled
entirely by Content-Length/Transfer-Encoding regardless of method.

also drops the requirement that PUT/POST requests must have a request-entity.
The RFC do not explicitly state this requirement even if the wording for those
methods do assume there is a enclosed request-entity.

The administrative "request_entities" config flag is kept for security
reasons, even if not really RFC compliant. (RFC meaning of request-entity
in GET/HEAD is just undefined or "ignored", not forbidden)

15 years agoapply the initial Phase3 of the SMP Cache Manager patch
Christos Tsantilas [Mon, 24 Jan 2011 17:24:59 +0000 (19:24 +0200)] 
apply the initial Phase3 of the SMP Cache Manager patch

15 years agoCorrect Polish language code for legacy alias
Amos Jeffries [Mon, 24 Jan 2011 00:13:51 +0000 (13:13 +1300)] 
Correct Polish language code for legacy alias

15 years agoSupport namespace in enum strings generator
Amos Jeffries [Sun, 23 Jan 2011 06:41:41 +0000 (23:41 -0700)] 
Support namespace in enum strings generator

For now only one level of namespace is supported.

Header files using namespaces are also required to exist in a sub-folder
of the same name in accordance with the SourceLayout design.

15 years agoAdd debug info on IPC failure retries
Amos Jeffries [Sat, 22 Jan 2011 09:15:20 +0000 (22:15 +1300)] 
Add debug info on IPC failure retries

15 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 22 Jan 2011 01:12:30 +0000 (18:12 -0700)] 
SourceFormat Enforcement

15 years agoAuthor: Various Translators
Amos Jeffries [Fri, 21 Jan 2011 17:02:01 +0000 (06:02 +1300)] 
Author: Various Translators
Translations Update auto-save

15 years agoDon't generate OpenListenerParams unless needed.
Amos Jeffries [Fri, 21 Jan 2011 15:48:07 +0000 (04:48 +1300)] 
Don't generate OpenListenerParams unless needed.

Removes a few minor data copies.

15 years agoremove aggrCount initialization from init() method
Christos Tsantilas [Fri, 21 Jan 2011 15:08:34 +0000 (17:08 +0200)] 
remove aggrCount initialization from init() method

15 years agoatAverage snmp values return sum not average
Christos Tsantilas [Fri, 21 Jan 2011 14:48:10 +0000 (16:48 +0200)] 
atAverage snmp values return sum not average

15 years agoBug fix: Wrong value displayed for Storage Swap size in mgr::info page
Christos Tsantilas [Fri, 21 Jan 2011 14:36:18 +0000 (16:36 +0200)] 
Bug fix: Wrong value displayed for Storage Swap size in mgr::info page

The store_swap_size/stats.store_swap_size holds kilobytes, it is wrong to
divide by 1024 these values.

15 years agorevert r11162 changes
Christos Tsantilas [Fri, 21 Jan 2011 14:29:16 +0000 (16:29 +0200)] 
revert r11162 changes

15 years agouse unsigned int instead of time_t for snmp variables
Christos Tsantilas [Thu, 20 Jan 2011 15:31:20 +0000 (17:31 +0200)] 
use unsigned int instead of time_t for snmp variables

15 years agoThe snmp included in its response only the statistics from the first kid
Christos Tsantilas [Thu, 20 Jan 2011 15:30:22 +0000 (17:30 +0200)] 
The snmp included in its response only the statistics from the first kid

15 years agoCleanup: remove dead code from typedefs.h take00
Amos Jeffries [Thu, 20 Jan 2011 10:13:05 +0000 (03:13 -0700)] 
Cleanup: remove dead code from typedefs.h

Initially the idea was to use these as hints when porting from Squid-2
but has proven not to be very useful.

15 years agostore_swap_size/Mgr::InfoActionData::store_swap_size are in Kb
Christos Tsantilas [Wed, 19 Jan 2011 10:23:18 +0000 (12:23 +0200)] 
store_swap_size/Mgr::InfoActionData::store_swap_size are in Kb

15 years agoimporting smp-snmp patch
Christos Tsantilas [Wed, 19 Jan 2011 10:12:54 +0000 (12:12 +0200)] 
importing smp-snmp patch

15 years agoTypo in ModKqueue
Amos Jeffries [Tue, 18 Jan 2011 12:16:17 +0000 (05:16 -0700)] 
Typo in ModKqueue

15 years agoCorrect language code for Czech
Amos Jeffries [Mon, 17 Jan 2011 21:11:29 +0000 (10:11 +1300)] 
Correct language code for Czech

15 years agoFix broken cfgman links on obsolete directives
Amos Jeffries [Mon, 17 Jan 2011 14:07:52 +0000 (03:07 +1300)] 
Fix broken cfgman links on obsolete directives

15 years agoFix Solaris getrusage wrapping
Amos Jeffries [Sat, 15 Jan 2011 03:24:47 +0000 (16:24 +1300)] 
Fix Solaris getrusage wrapping

15 years agoBug 2586: multiple memory leaks during reconfigure
Christos Tsantilas [Fri, 14 Jan 2011 17:45:23 +0000 (19:45 +0200)] 
Bug 2586: multiple memory leaks during reconfigure

This patch fixes:
   - a SSL_CTX object memory leak
   - a very small memory leak in MimeIcon class
   - a small memory leak while parsing adaptation_service

15 years agoMake FTP and CacheMgr obey --disable-auth-basic
Amos Jeffries [Fri, 14 Jan 2011 14:10:21 +0000 (07:10 -0700)] 
Make FTP and CacheMgr obey --disable-auth-basic

When teh proxy has been built with this auth module explicitly disabled
do not add headers indicating that it is available.

The side effect of not having Basic authentication support in the proxy
is that FTP is reduced to depending on URL logins and CacheMgr protected
actions cannot be used.

15 years agoSupport configurable status codes for deny_info
Amos Jeffries [Fri, 14 Jan 2011 06:15:23 +0000 (23:15 -0700)] 
Support configurable status codes for deny_info

This changes the default behaviour of deny_info redirects. Making Squid
automaticaly select 307 or 303 status code where appropriate for HTTP/1.1
clients and 302 for HTTP/1.0 clients or other appropriate cases.
For example;
    deny_info 303:http://example.com/ POST

On top of the behaviour change this patch adds capability for admin to
configure deny_info with explicit status codes ranging from 200 to 599.

There are limits placed on the use of each range of status codes:
 * 2xx, 4xx and 5xx may only be set when there is a local file or template
   being used as body content on the response.
 * 3xx status may only be set when there is a URI being used as a redirect
   destination.

These limitations are enforced with a configuration hard abort due to:

3xx with a named template and 4xx/5xx with a redirect break with a range
of horrible results to our file loading and output Location: URLs. My
tests ended up with Squid scanning the FS for local files called
http://blah, redirecting the browser to 404:ERR_ACCESS_DENIED, or getting
past those with zero-sized replies and crashes when err is required to
have length.

They are going to take something much more major logic re-plumbing and
maybe deeper cleanup to get the crossover down to safe enough for just a
warning. Given the RFC defined use of each status range I did not think
it worth doing to enable something on the fine edge of non-standard.

15 years agoBug 3089: FTP command output overrides directory listing
Amos Jeffries [Fri, 14 Jan 2011 05:50:43 +0000 (22:50 -0700)] 
Bug 3089: FTP command output overrides directory listing

15 years agoFix "unrecognized value for USE_LIBNETFILTERCONNTRACK: 'auto'"
Amos Jeffries [Wed, 12 Jan 2011 12:54:10 +0000 (01:54 +1300)] 
Fix "unrecognized value for USE_LIBNETFILTERCONNTRACK: 'auto'"

Thanks to Andrew Beverly.

15 years agoftp_eprt directive to disable EPRT extensions in FTP
Amos Jeffries [Wed, 12 Jan 2011 05:23:00 +0000 (22:23 -0700)] 
ftp_eprt directive to disable EPRT extensions in FTP

This allows admin to resolve compatibility problems with old devices which
encounter a range of problems when FTP extensions are used by selectively
disabling any of the extensions individually.

The other EPSV extensions already have enable/disable directives.

15 years agoPortability fix: remo^Cd unused code from smblib
Francesco Chemolli [Tue, 11 Jan 2011 22:25:34 +0000 (23:25 +0100)] 
Portability fix: remo^Cd unused code from smblib

15 years agoPortability fix: removed unused code from smblib
Francesco Chemolli [Tue, 11 Jan 2011 22:01:53 +0000 (23:01 +0100)] 
Portability fix: removed unused code from smblib

15 years agoBug 2959: remove SAMBAPREFIX dependency
Amos Jeffries [Tue, 11 Jan 2011 07:33:27 +0000 (00:33 -0700)] 
Bug 2959: remove SAMBAPREFIX dependency

This removes the tricky SAMBAPREFIX variable which passes full-path
information from the squid build machine down to the run-time host
helper.

Such information is not always correct when crossing machines, and the
binaries being run can easily be added to PATH in the run-time host
environment instead.

The net result of doing this is removal of Samba from the build
dependencies and increased availability of the basic_smb_auth and
ext_wbinfo_group_acl helpers.

15 years agoPrevent extra lines being pulled into xprof_type.h
Amos Jeffries [Tue, 11 Jan 2011 07:31:04 +0000 (00:31 -0700)] 
Prevent extra lines being pulled into xprof_type.h

15 years agoPortability fix: remove unneeded functions in lib/rfcnb
Francesco Chemolli [Mon, 10 Jan 2011 17:11:07 +0000 (18:11 +0100)] 
Portability fix: remove unneeded functions in lib/rfcnb

15 years agoportability fix: lib/rfcnb symbol shuffling
Francesco Chemolli [Mon, 10 Jan 2011 16:55:29 +0000 (17:55 +0100)] 
portability fix: lib/rfcnb symbol shuffling

15 years agoStandard compliance fix: size_t is guaranteed unsigned.
Francesco Chemolli [Mon, 10 Jan 2011 14:46:21 +0000 (15:46 +0100)] 
Standard compliance fix: size_t is guaranteed unsigned.

15 years agoMaintenance: auto-sync XPROF counter types with sources
Amos Jeffries [Mon, 10 Jan 2011 11:01:26 +0000 (04:01 -0700)] 
Maintenance: auto-sync XPROF counter types with sources

15 years agoSourceLayout: shuffle comm IO loops into libcomm and Comm namespace
Amos Jeffries [Mon, 10 Jan 2011 09:43:43 +0000 (02:43 -0700)] 
SourceLayout: shuffle comm IO loops into libcomm and Comm namespace

15 years agoCorrect EUI logging documentation
Amos Jeffries [Sat, 8 Jan 2011 06:32:58 +0000 (19:32 +1300)] 
Correct EUI logging documentation

15 years agoAuthor: Henrik Nordstrom <hno@squid-cache.org>
Amos Jeffries [Sat, 8 Jan 2011 06:23:27 +0000 (19:23 +1300)] 
Author: Henrik Nordstrom <hno@squid-cache.org>
Port from 2.7: maximum staleness limits

The default behaviour of Squid is to provide a stale copy (with Warnigng:
header) until an actove response from the origin server causes the object
to be updated or garbage collection causes its removal.

The max_stale direcive and refresh_pattern max-stale=N option allow admin
to set an upper limit on the objects age when serving stale responses.

15 years agoFixed typo in unused(?) HttpHeader::putSc() method. Range header was deleted.
Alex Rousskov [Mon, 3 Jan 2011 22:51:39 +0000 (15:51 -0700)] 
Fixed typo in unused(?) HttpHeader::putSc() method. Range header was deleted.

15 years agoAuthor: Florent <fcarli@gmail.com>
Christos Tsantilas [Thu, 30 Dec 2010 11:16:21 +0000 (13:16 +0200)] 
Author: Florent <fcarli@gmail.com>
Bug 3129: ssl-crtd / Dynamically generated certicates' "subject" and "issuer" include "-----BEGIN CERTIFICATE-----"

15 years agoAuthor: Henrik Nordstrom <hno@squid-cache.org>
Amos Jeffries [Mon, 27 Dec 2010 20:25:30 +0000 (13:25 -0700)] 
Author: Henrik Nordstrom <hno@squid-cache.org>
Support RFC 5861 Cache-Control: stale-if-error option

The default behaviour for Squid is to present the stale object when
revalidation fails with a 5xx error.

stale-if-error places a maximum limit on how long this stale object may
be sent. After the limit has passed Squid is required to present the 5xx
message to the client.

Original code for Squid-2 was sponsored by Yahoo!.

Portage done by Alex Rousskov and Amos Jeffries.

15 years agoAdd omitted Makefile generation
Amos Jeffries [Sun, 26 Dec 2010 02:07:17 +0000 (15:07 +1300)] 
Add omitted Makefile generation

15 years agoAuthor: Marcello Romani <marcello.romani@libero.it>
Amos Jeffries [Sun, 26 Dec 2010 01:38:26 +0000 (14:38 +1300)] 
Author: Marcello Romani <marcello.romani@libero.it>
Author: Amos Jeffries <squid3@treenet.co.nz>
Database Logging Daemon

Original code by Marcello Romani, this version has some additions to
initialize any missing database tables depended on during its startup
phase and some additional polish to fit within the current Squid release.

COPYRIGHT AND LICENSE

Copyright (C) 2008 by Marcello Romani

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.8 or,
at your option, any later version of Perl 5 you may have available.

15 years agoCPU profiler is a dev testing feature. Disable by default.
Amos Jeffries [Fri, 24 Dec 2010 14:00:09 +0000 (07:00 -0700)] 
CPU profiler is a dev testing feature. Disable by default.