]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
11 years agoShuffle HttpRequestMethod.h to libsquid-http.la
Amos Jeffries [Mon, 23 Dec 2013 17:26:50 +0000 (09:26 -0800)] 
Shuffle HttpRequestMethod.h to libsquid-http.la

11 years agoAdd missing http/forward.h
Amos Jeffries [Mon, 23 Dec 2013 16:23:04 +0000 (08:23 -0800)] 
Add missing http/forward.h

11 years agoCleanup HttpRequestMethod.h useless lines
Amos Jeffries [Mon, 23 Dec 2013 12:37:21 +0000 (04:37 -0800)] 
Cleanup HttpRequestMethod.h useless lines

11 years agoFix http/Http1Parser.h wrapper macro
Amos Jeffries [Mon, 23 Dec 2013 12:21:56 +0000 (04:21 -0800)] 
Fix http/Http1Parser.h wrapper macro

11 years agoMerged from trunk rev.13197
Amos Jeffries [Mon, 23 Dec 2013 12:18:49 +0000 (04:18 -0800)] 
Merged from trunk rev.13197

11 years agoRename HttpParser as Http::Http1Parser
Amos Jeffries [Mon, 23 Dec 2013 12:16:33 +0000 (04:16 -0800)] 
Rename HttpParser as Http::Http1Parser

11 years agoMake HttpParser parse version directly into AnyP::ProtocolVersion object
Amos Jeffries [Mon, 23 Dec 2013 11:21:48 +0000 (03:21 -0800)] 
Make HttpParser parse version directly into AnyP::ProtocolVersion object

There appears to be no need for the protocol version object to be outside
the parser. We can simplify the processing code by parsing directly into
the object from the I/O buffer.

TODO: allow parsing of non-HTTP protocol labels.

11 years agoShuffle HttpParser to libsquid-http as Http1Parser
Amos Jeffries [Sun, 22 Dec 2013 22:40:03 +0000 (14:40 -0800)] 
Shuffle HttpParser to libsquid-http as Http1Parser

11 years agoDrop HttpParser::Pointer::getRaw() uses
Amos Jeffries [Sun, 22 Dec 2013 21:45:45 +0000 (13:45 -0800)] 
Drop HttpParser::Pointer::getRaw() uses

11 years agoDetatch useless build dependencies on HttpParser.h
Amos Jeffries [Sun, 22 Dec 2013 21:14:55 +0000 (13:14 -0800)] 
Detatch useless build dependencies on HttpParser.h

11 years agoConvert API of HttpParser::parseRequest() from tristate to boolean
Amos Jeffries [Sun, 22 Dec 2013 20:53:25 +0000 (12:53 -0800)] 
Convert API of HttpParser::parseRequest() from tristate to boolean

11 years agoMove HttpParserParseReqLine() legacy function to HttpParser method
Amos Jeffries [Sun, 22 Dec 2013 18:19:19 +0000 (10:19 -0800)] 
Move HttpParserParseReqLine() legacy function to HttpParser method

11 years agoInline and document the HTTP message size macros
Amos Jeffries [Sun, 22 Dec 2013 16:21:04 +0000 (08:21 -0800)] 
Inline and document the HTTP message size macros

11 years agoDrop HttpParser MSGDODEBUG
Amos Jeffries [Sun, 22 Dec 2013 13:20:01 +0000 (05:20 -0800)] 
Drop HttpParser MSGDODEBUG

11 years agoDocumentation tweak
Amos Jeffries [Sun, 22 Dec 2013 13:17:29 +0000 (05:17 -0800)] 
Documentation tweak

11 years agoBug 3985: 60s limit introduced by balance_on_multiple_ip breaks bad IP recovery
Jakob Bohm [Sat, 21 Dec 2013 17:31:59 +0000 (09:31 -0800)] 
Bug 3985: 60s limit introduced by balance_on_multiple_ip breaks bad IP recovery

Alternative fix if necessary would be to calculate a dynamic timeout
value based on number and timeouts for connections and forwarding.

However, as noted in the bug report the address markings are reset every
TTL when the stored RR are replaced. This meets the criteria for periodic
retries of marked-BAD IPs. Also if all IPs are marked BAD they all get
un-marked and retried. So for now just remove the TTL hack.

11 years agoFix \-unescaping in quoted strings from helpers
Amos Jeffries [Sat, 21 Dec 2013 04:54:54 +0000 (20:54 -0800)] 
Fix \-unescaping in quoted strings from helpers

strwordtok() was unescaping '\' values in unquoted tokens. This causes
problems with NTLM helper response user\DOMAIN values which are sent as
a un-quoted un-escaped value.

Restrict un-escaping of '\' to only occur when inside "quoted" words.

11 years agoWCCPv2: fix assertion 'Cannot convert non-IPv4 to IPv4' on FreeBSD
Amos Jeffries [Fri, 20 Dec 2013 11:34:44 +0000 (03:34 -0800)] 
WCCPv2: fix assertion 'Cannot convert non-IPv4 to IPv4' on FreeBSD

FreeBSD does not set the from-address on recv() if there was an error
reading the packet. This can result in Ip::Address assertion if the
error is not checked for before the IP address is mapped into Squid
internal format.

11 years agoFix missing cast in rev.13162
Amos Jeffries [Fri, 20 Dec 2013 05:55:43 +0000 (22:55 -0700)] 
Fix missing cast in rev.13162

11 years agoAdded missing header in client_side_reply.cc for clang
Francesco Chemolli [Thu, 19 Dec 2013 13:47:27 +0000 (14:47 +0100)] 
Added missing header in client_side_reply.cc for clang

11 years agoFix missing include in rev.13190
Amos Jeffries [Thu, 19 Dec 2013 00:55:46 +0000 (17:55 -0700)] 
Fix missing include in rev.13190

11 years agoRename SBuf::find_first_of and find_first_not_of to camelCase.
Francesco Chemolli [Wed, 18 Dec 2013 17:53:43 +0000 (18:53 +0100)] 
Rename SBuf::find_first_of and find_first_not_of to camelCase.

11 years agoAdded send_hit and store_miss squid.conf directives
Alex Rousskov [Wed, 18 Dec 2013 17:19:00 +0000 (10:19 -0700)] 
Added send_hit and store_miss squid.conf directives
to control caching of responses using response info.

The existing "cache" directive is checked before Squid has access to the
response and, hence, could not use response-based ACLs such as http_status.
Response-based ACLs may be essential when fine-tuning caching. Squid Bug 3937
(StoreID can lead to 302 infinite loop) is a good use case.

Updated old "cache" directive documentation to provide more information, to
help folks distinguish the three related directives, and to polish for
clarity.

TODO: Support lookup_hit and possibly deprecate/remove "cache".

11 years agoMerge CharacterSet
Francesco Chemolli [Wed, 18 Dec 2013 17:03:15 +0000 (18:03 +0100)] 
Merge CharacterSet

11 years agoReverted buggy change on CharacterSet::operator+=, documentation touches
Francesco Chemolli [Wed, 18 Dec 2013 15:22:06 +0000 (16:22 +0100)] 
Reverted buggy change on CharacterSet::operator+=, documentation touches

11 years agoMerged from trunk
Francesco Chemolli [Wed, 18 Dec 2013 14:07:05 +0000 (15:07 +0100)] 
Merged from trunk

11 years agoMerged from trunk
Amos Jeffries [Wed, 18 Dec 2013 06:19:15 +0000 (22:19 -0800)] 
Merged from trunk

11 years agoMerged from trunk
Francesco Chemolli [Wed, 18 Dec 2013 18:24:18 +0000 (19:24 +0100)] 
Merged from trunk

11 years agoMerged from trunk
Francesco Chemolli [Wed, 18 Dec 2013 18:06:43 +0000 (19:06 +0100)] 
Merged from trunk

11 years agoAdd unit tests for method parsing update
Amos Jeffries [Wed, 18 Dec 2013 03:00:01 +0000 (19:00 -0800)] 
Add unit tests for method parsing update

11 years agoFix missing include in rev.13186
Amos Jeffries [Wed, 18 Dec 2013 00:48:33 +0000 (16:48 -0800)] 
Fix missing include in rev.13186

11 years agoImproved CharacterSet documentation.
Francesco Chemolli [Tue, 17 Dec 2013 17:28:53 +0000 (18:28 +0100)] 
Improved CharacterSet documentation.

11 years agoMerged from trunk
Francesco Chemolli [Tue, 17 Dec 2013 17:05:17 +0000 (18:05 +0100)] 
Merged from trunk

11 years agoUsing std::copy_if for CharacterSet::operator +=
Francesco Chemolli [Tue, 17 Dec 2013 17:02:51 +0000 (18:02 +0100)] 
Using std::copy_if for CharacterSet::operator +=

11 years agoClarified documentatio for CharacterSet; moved CharacterSet::add and constructor...
Francesco Chemolli [Tue, 17 Dec 2013 15:58:52 +0000 (16:58 +0100)] 
Clarified documentatio for CharacterSet; moved CharacterSet::add and constructor to .cc file

11 years agoMove CharacterSet::operator += to .cc file; change SBuf::find_first_not_of to match STL
Francesco Chemolli [Tue, 17 Dec 2013 10:19:44 +0000 (11:19 +0100)] 
Move CharacterSet::operator += to .cc file; change SBuf::find_first_not_of to match STL

11 years agoHTTP/1.1: method names are case-sensitive
Amos Jeffries [Tue, 17 Dec 2013 09:16:51 +0000 (02:16 -0700)] 
HTTP/1.1: method names are case-sensitive

RFC 2616 states that method names are case sensitive, but the Squid
parser has been accepting them case-insensitive.

Enforce case-sensitive behaviour when performing strict HTTP parse.

NOTE: avoid HTTP_VIOLATIONS since there is no normative MUST/SHOULD
involved in the specification texts.

11 years agoBug 3980: FATAL ERROR due to max_user_ip -s option
Christos Tsantilas [Tue, 17 Dec 2013 07:12:55 +0000 (00:12 -0700)] 
Bug 3980: FATAL ERROR due to max_user_ip -s option

11 years agoMoved CharacterSet's backing storage to std::vector<uint8_t> to gain speed at the...
Francesco Chemolli [Mon, 16 Dec 2013 21:58:50 +0000 (22:58 +0100)] 
Moved CharacterSet's backing storage to std::vector<uint8_t> to gain speed at the expense of space.
Improved CharacterSet's constructor
Made CharacterSet's name parameter optional with default value.

11 years agoMoved CharacterSet as forward-declaration in SBuf.h
Francesco Chemolli [Sun, 15 Dec 2013 12:48:01 +0000 (13:48 +0100)] 
Moved CharacterSet as forward-declaration in SBuf.h

11 years agoImplemented CharacterSet-based SBuf::find_first_of and find_first_not_of
Francesco Chemolli [Sun, 15 Dec 2013 11:47:07 +0000 (12:47 +0100)] 
Implemented CharacterSet-based SBuf::find_first_of and find_first_not_of

11 years agoSilence SBufDetailedStats stubs
Francesco Chemolli [Sun, 15 Dec 2013 09:28:50 +0000 (10:28 +0100)] 
Silence SBufDetailedStats stubs

11 years agoMerge SBufList
Francesco Chemolli [Sun, 15 Dec 2013 09:28:18 +0000 (10:28 +0100)] 
Merge SBufList

11 years agoClarified comment in SBufAlgos.h, improved coding standards adherence
Francesco Chemolli [Sat, 14 Dec 2013 15:58:04 +0000 (16:58 +0100)] 
Clarified comment in SBufAlgos.h, improved coding standards adherence

11 years agoImplemented Tokenizer::token and its unit test
Francesco Chemolli [Fri, 13 Dec 2013 18:22:08 +0000 (19:22 +0100)] 
Implemented Tokenizer::token and its unit test

11 years agoImplemented more Tokenizer methods and unit tests
Francesco Chemolli [Fri, 13 Dec 2013 15:49:39 +0000 (16:49 +0100)] 
Implemented more Tokenizer methods and unit tests

11 years agoFixed initialization problem in testCharacterSet
Francesco Chemolli [Fri, 13 Dec 2013 07:16:18 +0000 (08:16 +0100)] 
Fixed initialization problem in testCharacterSet
Removed debug code in testTokenizer
Completed testTokenizerPrefix

11 years agoBroken: try and figure out CharacterSet::operator +=; more Tokenizer::prefix unit...
Francesco Chemolli [Fri, 13 Dec 2013 05:47:07 +0000 (06:47 +0100)] 
Broken: try and figure out CharacterSet::operator +=; more Tokenizer::prefix unit tests

11 years agoFix linker errors "relocation R_X86_64_32 against .rodata"
Amos Jeffries [Thu, 12 Dec 2013 09:41:39 +0000 (01:41 -0800)] 
Fix linker errors "relocation R_X86_64_32 against .rodata"

... "can not be used when making a shared object; recompile with -fPIC"

Caused by some libraries built without libtool in certain environments.
NP: there are other libraries in Squid built without libtool but they
    appear not to be having these linker issues at this time.

Also, fixes "undefined symbol eui64_aton" uncovered by these changes.

11 years agoRegression in URL helper API
Amos Jeffries [Wed, 11 Dec 2013 11:12:43 +0000 (03:12 -0800)] 
Regression in URL helper API

The backward compatibility logics in redirect.cc are not working as
intended on redirection URLs due to the presence of '=' in the URL and
how the key=value name parsing is performed.

A typical redirection URL looks like:
  http://example.com/?url=http://www.example.net/

and 3.4 has a parser that splits tokens at '=' unconditionally and then
passes the bits as a key and value to the redirector logics which
complains that it does not understand the answer of the URL redirector.
Or treats is an an unknown key=value with no redirection URL.

Either case is handled as a no-redirection result from the helper.

This limits the key names to alphanumeric, hyphen and underscore
characters. Valid URL responses contain characters outside this set and
should no longer be interpreted as keys regardless of the '=' character.

11 years agoFix missing test stub in rev.13178
Amos Jeffries [Wed, 11 Dec 2013 23:41:49 +0000 (12:41 +1300)] 
Fix missing test stub in rev.13178

11 years agoBug 3806: Caching responses with Vary header
Alex Rousskov [Wed, 11 Dec 2013 22:44:59 +0000 (11:44 +1300)] 
Bug 3806: Caching responses with Vary header

11 years agoSet sslcrtvalidator_children concurrency option default value to 1
Christos Tsantilas [Wed, 11 Dec 2013 21:50:06 +0000 (23:50 +0200)] 
Set sslcrtvalidator_children concurrency option default value to 1

11 years agoMerged from trunk
Amos Jeffries [Wed, 11 Dec 2013 01:32:21 +0000 (17:32 -0800)] 
Merged from trunk

11 years agoFix infinite-loop in CharacterSet::operator+=()
Amos Jeffries [Wed, 11 Dec 2013 01:30:34 +0000 (17:30 -0800)] 
Fix infinite-loop in CharacterSet::operator+=()

The uint8_t type value cannot represent the value 256, which is why we
use it as the loop terminator and an iterator of a size larger than
8-bit with a down-cast to prevent the vector accidentally being grown by
an overflow.

11 years agoReimplemented prefix, implemented prefix matching unit test
Francesco Chemolli [Thu, 12 Dec 2013 23:12:29 +0000 (00:12 +0100)] 
Reimplemented prefix, implemented prefix matching unit test

11 years agoFix tokenizer unit tests scaffolding
Francesco Chemolli [Thu, 12 Dec 2013 21:54:03 +0000 (22:54 +0100)] 
Fix tokenizer unit tests scaffolding

11 years agoimplemented untested Tokenizer::find_first_not_in and Tokenizer::prefix
Francesco Chemolli [Thu, 12 Dec 2013 20:27:44 +0000 (21:27 +0100)] 
implemented untested Tokenizer::find_first_not_in and Tokenizer::prefix

11 years agoFist stub of tokenizer unit tests
Francesco Chemolli [Thu, 12 Dec 2013 20:27:03 +0000 (21:27 +0100)] 
Fist stub of tokenizer unit tests

11 years agointerim: better adhere to CharacterSet API, first stubs of Tokenizer
Francesco Chemolli [Thu, 12 Dec 2013 16:52:02 +0000 (17:52 +0100)] 
interim: better adhere to CharacterSet API, first stubs of Tokenizer

11 years agoMerged from trunk
Francesco Chemolli [Wed, 11 Dec 2013 17:53:13 +0000 (18:53 +0100)] 
Merged from trunk

11 years agoUpdate CharacterSet.h
Amos Jeffries [Tue, 10 Dec 2013 16:03:03 +0000 (08:03 -0800)] 
Update CharacterSet.h

11 years agoAdd parser/libsquid-parser.la
Amos Jeffries [Tue, 10 Dec 2013 15:02:19 +0000 (07:02 -0800)] 
Add parser/libsquid-parser.la

Also, basic class CharacterSet definition

11 years ago%tS logformat code, part3
Christos Tsantilas [Mon, 9 Dec 2013 16:54:56 +0000 (18:54 +0200)] 
%tS logformat code, part3

Fix build when GCC 4,4.3 used

11 years agoPrep for 3.4.1
Amos Jeffries [Mon, 9 Dec 2013 01:17:53 +0000 (18:17 -0700)] 
Prep for 3.4.1

11 years agoRelease notes: spotlight key_extras feature
Amos Jeffries [Mon, 9 Dec 2013 01:11:47 +0000 (18:11 -0700)] 
Release notes: spotlight key_extras feature

11 years agoRelease Notes for Squid-3.5
Amos Jeffries [Sat, 7 Dec 2013 07:49:29 +0000 (00:49 -0700)] 
Release Notes for Squid-3.5

11 years agoFix 3.4 Release Notes typo
Amos Jeffries [Sat, 7 Dec 2013 07:49:05 +0000 (00:49 -0700)] 
Fix 3.4 Release Notes typo

11 years agoAdd key_extras to proxy authentication schemes.
Christos Tsantilas [Fri, 6 Dec 2013 14:59:47 +0000 (16:59 +0200)] 
Add key_extras to proxy authentication schemes.

The key_extras value is a "quoted string" with logformat %macro support. It is
appended to request line for the authentication helper.

Example usage:
   auth_param basic key_extras "thePort:%>lp"
   auth_param digest key_extras "LocalIP=%>la:%lp"

This is a Measurement Factory project.

11 years ago%tS logformat code, part2
Christos Tsantilas [Fri, 6 Dec 2013 11:09:50 +0000 (13:09 +0200)] 
%tS logformat code, part2

Fix build on 3.HEAD-amd64-CentOs-icc

11 years agoFixed formatting
Francesco Chemolli [Thu, 5 Dec 2013 15:26:22 +0000 (16:26 +0100)] 
Fixed formatting
Moved ToSBufList from SBufList.h/cc to wordlist.h/cc
Fixed some misnamed parameters in SBufAlgos.h

11 years ago%tS logformat code
Christos Tsantilas [Thu, 5 Dec 2013 11:04:45 +0000 (13:04 +0200)] 
%tS logformat code

This patch add the %tS logformat code to represent master transaction start time
in <seconds>.<milliseconds> format, similar to the existing access.log "current
time" field (%ts.%03tu).

Also allow formated values for adaptation_meta values.

This is a Measurement Factory project

11 years agoAdded missing header in SBufAlgos.h
Francesco Chemolli [Thu, 5 Dec 2013 09:31:09 +0000 (10:31 +0100)] 
Added missing header in SBufAlgos.h

11 years agoPrep for SBufList merge from stringng
Francesco Chemolli [Wed, 4 Dec 2013 18:37:08 +0000 (19:37 +0100)] 
Prep for SBufList merge from stringng

11 years agoBug 3589: intercepted and ICAP modified request using a cache_peer
Amos Jeffries [Wed, 4 Dec 2013 00:57:34 +0000 (13:57 +1300)] 
Bug 3589: intercepted and ICAP modified request using a cache_peer

11 years agoRemoved spurious source files from src/icmp/Makefile.am
Francesco Chemolli [Tue, 3 Dec 2013 07:49:13 +0000 (08:49 +0100)] 
Removed spurious source files from src/icmp/Makefile.am

11 years agoBug 3935: Invalid pointer dereference when peeking at origin server certificate
Christos Tsantilas [Mon, 2 Dec 2013 18:33:26 +0000 (20:33 +0200)] 
Bug 3935: Invalid pointer dereference when peeking at origin server certificate

We must check request->clientConnectionManager pointer for validity before
dereferencing it.

This is a Measurement Factory project

11 years agoDocumented that ACLs should be refcounted.
Alex Rousskov [Mon, 2 Dec 2013 00:36:24 +0000 (17:36 -0700)] 
Documented that ACLs should be refcounted.

Refcounting would avoid ACL destruction problems (when some ACLs use other
ACLs or when an ACL goes async during reconfigure) and may even reduce
problems with AclMatchedName.

11 years agoDestroy ACLs in the reverse order of creation to avoid destruction segfaults
Alex Rousskov [Mon, 2 Dec 2013 00:35:50 +0000 (17:35 -0700)] 
Destroy ACLs in the reverse order of creation to avoid destruction segfaults
during reconfiguration.

Group ACLs created later may use other ACLs created earlier. A group ACL must
be deleted first so that its AclDeleter can safely access registration status
(and avoid double deletion) of the ACLs it uses. Since ACLs are remembered (in
Config.aclList) using a singly-linked list, it is difficult to change their
deletion order.  Instead, we change their listing order from FIFO to LIFO.

11 years agoPortability: sleep() is sometimes a macro
Amos Jeffries [Sun, 1 Dec 2013 08:02:49 +0000 (01:02 -0700)] 
Portability: sleep() is sometimes a macro

sleep() is sometimes defined as a macro. Such as in Squid compat library.
Use another name for the sleep starting method in class Ipc::UdsOp

  This is an iCelero Project

11 years agoWindows: fix compile errors in WinSvc.cc
Amos Jeffries [Sun, 1 Dec 2013 07:37:53 +0000 (00:37 -0700)] 
Windows: fix compile errors in WinSvc.cc

Fix defined by unused symbol errors in WinSvc.cc

Also, set the service error mode to prevent Windows Error Reporting
dialog boxes appearing.

  This is an iCelero Project

11 years agoPortability: std::string:npos is not always appropriate for String::npos
Amos Jeffries [Sun, 1 Dec 2013 07:24:58 +0000 (00:24 -0700)] 
Portability: std::string:npos is not always appropriate for String::npos

On some systems such as Windows MinGW the signed/unsigned property of
std::string::npos does not match up with the Squdi String class size_type
signed/unsigned property. Resulting in compiler signed vs unsigned
mismatch errors when compiling.

  This is an iCelero project.

11 years agoPortability: refresh_pattern requires regex
Amos Jeffries [Sun, 1 Dec 2013 07:12:31 +0000 (00:12 -0700)] 
Portability: refresh_pattern requires regex

The GnuRegex portability wrapper is required explicitly by
RefreshPattern.h on some systems which do not include regex.h implicitly
via other paths.

  This is an iCelero project

11 years agolibrfcnb: portability fixes
Amos Jeffries [Sun, 1 Dec 2013 07:00:43 +0000 (00:00 -0700)] 
librfcnb: portability fixes

Add #include wrapper protection for headers missing on Windows MinGW.

  This is an iCelero Project

11 years agoOpenBSD portability fix in DiskThreads
Francesco Chemolli [Sat, 30 Nov 2013 22:18:16 +0000 (23:18 +0100)] 
OpenBSD portability fix in DiskThreads

11 years agoPrep for 3.3.11 and 3.4.0.3
Amos Jeffries [Sat, 30 Nov 2013 13:11:42 +0000 (06:11 -0700)] 
Prep for 3.3.11 and 3.4.0.3

11 years agoProtect aclIsProxyAuth() debugging from NULL names (via NULL AclMatchedName).
Nathan Hoad [Fri, 29 Nov 2013 23:44:28 +0000 (16:44 -0700)] 
Protect aclIsProxyAuth() debugging from NULL names (via NULL AclMatchedName).

Related to Bug 3972 fix in r13156.

11 years agoBug 3972: Segfault when getting the deny info page ID after a reconfigure
Nathan Hoad [Fri, 29 Nov 2013 23:26:03 +0000 (16:26 -0700)] 
Bug 3972: Segfault when getting the deny info page ID after a reconfigure

Older ACL code was using a stale AclMatchedName value. More recent code resets
the AclMatchedName global to NULL to avoid leaking the stale value, but that
may crash strcmp() in aclGetDenyInfoPage(). Long-term, the global should be
removed, of course.

11 years agoSupport libecap v1.0, allowing asynchronous adapters and eCAP version checks.
Alex Rousskov [Fri, 29 Nov 2013 19:47:54 +0000 (12:47 -0700)] 
Support libecap v1.0, allowing asynchronous adapters and eCAP version checks.

After these changes, Squid can support eCAP adapters built with libecap v1.0,
but stops supporting adapters built with earlier libecap versions (due to API
changes). The new libecap version allows Squid to better check the version of
the eCAP adapter being loaded as well as the version of the eCAP library being
used. This should help with migration to libecap v1.0.

Expose [running] main event loop as a global so that modules can add engines.

11 years agoAdded missing stub_lipbicmp.cc to testUfs
Francesco Chemolli [Fri, 29 Nov 2013 08:19:40 +0000 (09:19 +0100)] 
Added missing stub_lipbicmp.cc to testUfs

11 years agoReceive annotations from external ACL helpers
Amos Jeffries [Fri, 29 Nov 2013 04:41:07 +0000 (21:41 -0700)] 
Receive annotations from external ACL helpers

This completes the annotation support for common helper interfaces by
making custom key=value pairs sent by external ACL helpers in to
NotePair objects and attaching to the active request.

The other side of this - sending values to the helper is deferred until
the helper format can be converted to logformat codes.

11 years agoAdd missing ipcache.cc stub in testUfs
Francesco Chemolli [Thu, 28 Nov 2013 16:50:49 +0000 (17:50 +0100)] 
Add missing ipcache.cc stub in testUfs

11 years agoImplement SBuf and MemBlob size distribution stats
Francesco Chemolli [Wed, 27 Nov 2013 15:52:03 +0000 (16:52 +0100)] 
Implement SBuf and MemBlob size distribution stats

11 years agoCleanup: convert helper allocation from cbdataAlloc to new
Amos Jeffries [Wed, 27 Nov 2013 00:37:24 +0000 (13:37 +1300)] 
Cleanup: convert helper allocation from cbdataAlloc to new

The helper_server and helper_stateful_server classes are already
CBDATA_CLASS2 defined classes with new/delete operators and the free
operation already handled by delete(). However teh allocation was not
using new() and thus not calling the class constructors properly.

11 years agoDrop obsolete class StringArea
Amos Jeffries [Tue, 26 Nov 2013 09:43:29 +0000 (02:43 -0700)] 
Drop obsolete class StringArea

class StringArea was always intended to only be a temporary measure
before SBuf was completed and merged. That has now happened.

11 years agoBug 3782: Digest authentication not obeying nonce_max_count
Frederic Bourgeois [Thu, 21 Nov 2013 23:58:59 +0000 (15:58 -0800)] 
Bug 3782: Digest authentication not obeying nonce_max_count

11 years agoFix other issues in rev.13143
Amos Jeffries [Sat, 23 Nov 2013 05:21:34 +0000 (22:21 -0700)] 
Fix other issues in rev.13143

11 years agoFix const-correctness in rev.13143
Amos Jeffries [Thu, 21 Nov 2013 13:05:47 +0000 (05:05 -0800)] 
Fix const-correctness in rev.13143

11 years agoMissing include from rev.13143
Amos Jeffries [Sat, 23 Nov 2013 01:40:38 +0000 (18:40 -0700)] 
Missing include from rev.13143

11 years agoBug 3970: max_filedescriptors disabled due to missing setrlimit
Amos Jeffries [Sat, 23 Nov 2013 01:28:52 +0000 (18:28 -0700)] 
Bug 3970: max_filedescriptors disabled due to missing setrlimit