]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
14 years agoSolaris compatiblity enhancements.
Francesco Chemolli [Tue, 24 Aug 2010 10:35:03 +0000 (12:35 +0200)] 
Solaris compatiblity enhancements.

14 years agoTest for SASL libraries before building ext_kerberos_ldap_group_acl
Amos Jeffries [Tue, 24 Aug 2010 09:20:49 +0000 (03:20 -0600)] 
Test for SASL libraries before building ext_kerberos_ldap_group_acl

14 years agoCompliance: remove Content-Length header if Transfer-Encoding is present.
Alex Rousskov [Tue, 24 Aug 2010 04:18:51 +0000 (22:18 -0600)] 
Compliance: remove Content-Length header if Transfer-Encoding is present.

If after HTTP header parsing we have both "Transfer-Encoding: chunked"
and Content-Length headers, remove the Content-Length entry. The
adjusted behavior follows httpbis recommendations (ticket #95, part 2).

The old client-side code forwarded the original Content-Length header
which did not match the [dechunked] response, resulting in a malformed
response.

HttpHeader::chunked() method added to check if HTTP headers contain
chunked Transfer-Encoding header. Use this method in code that checks
for chunked encoding.

Co-Advisor test cases: test_case/rfc2616/chunked-1p0-badClen-toClt
                       test_case/rfc2616/chunked-1p1-badClen-toClt

14 years agoCompliance: respond to OPTIONS requests with a zero Max-Forwards value.
Alex Rousskov [Tue, 24 Aug 2010 04:07:00 +0000 (22:07 -0600)] 
Compliance: respond to OPTIONS requests with a zero Max-Forwards value.

RFC 2616 section 9.2 says that a proxy MUST NOT forward requests with a
zero Max-Forwards value. RFC 2616 does not define any proper OPTIONS
responses, so we consider successful responses optional and reply with
501 Not Implemented.

No change in handling OPTIONS requests with positive Max-Forwards values.

While TRACE and OPTIONS are similar with regard to Max-Forwards, we
handle them in different places because OPTIONS responses do not need to
echo the request via Store.

Co-Advisor test case: test_case/rfc2616/maxForwardsZero-OPTIONS-absolute

14 years agoCompliance: rename Trailers header to Trailer everywhere.
Alex Rousskov [Tue, 24 Aug 2010 04:03:19 +0000 (22:03 -0600)] 
Compliance: rename Trailers header to Trailer everywhere.

RFC 2616 section 13.5.1 has a typo in the Trailers header name. The correct
name is Trailer. See http://trac.tools.ietf.org/wg/httpbis/trac/ticket/9

Co-Advisor test cases: test_case/rfc2616/hopHdr-Trailer-toClt
                       test_case/rfc2616/hopHdr-Trailer-toSrv

14 years agoAdded parentheses for clarity.
Alex Rousskov [Tue, 24 Aug 2010 03:56:20 +0000 (21:56 -0600)] 
Added parentheses for clarity.

14 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 24 Aug 2010 00:12:54 +0000 (18:12 -0600)] 
SourceFormat Enforcement

14 years agoSend chunked responses if body size is unknown.
Alex Rousskov [Tue, 24 Aug 2010 00:02:15 +0000 (18:02 -0600)] 
Send chunked responses if body size is unknown.

Apply HTTP chunked transfer encoding to the response body sent to client
if all of the following conditions are met:

* client claims HTTP version 1.1 or later support
* response does not have a Content-Length header already
* response does not use multipart/byteranges encoding
* connection is persistent

If we decide to send chunked reply, chunked_reply flag is set. Chunked
encoding is done in ClientSocketContext::packChunk(). The last-chunk
is sent only when clientReplyContext complete flag is set.

This change helps keep client-side connections persistent.

14 years agoAdded more comparison operators to HttpVersion.
Alex Rousskov [Mon, 23 Aug 2010 23:25:09 +0000 (17:25 -0600)] 
Added more comparison operators to HttpVersion.

14 years agoBug #2583 fix: pure virtual method called
Alex Rousskov [Mon, 23 Aug 2010 23:15:26 +0000 (17:15 -0600)] 
Bug #2583 fix: pure virtual method called

When a cbdata-protected class holds its own cbdata and has virtual
toCbdata(), there is a catch22 problem: we need cbdata to know whether
the pointer to the class object is valid, and we need to dereference
that pointer to get cbdata.

Added CbcPointer class to hold both a pointer to a potentially freed
class object and the cbdata pointer protecting that object. Keeping the
cbdata pointer allows us to test whether the object is still there
without dereferencing the object pointer.

Use the CbcPointer class to hold safe pointers to AsyncJobs. This
prevents "pure virtual method called" failures because we no longer
dereference freed job pointers.

Removed Initiator parameter from many initiatee constructors. The
Adaptation::Initiator::initiateAdaptation method now sets the initiator
of the job. This makes the constructor profile simpler and removes the
need to propagate Initiator changes through all the [nested]
constructors.

Renamed AsyncJob::AsyncStart() to AsyncJob::Start(). I had to change the
callers code anyway and it was a good opportunity to remove the
redundant "Async".

Special thanks to Stefan Fritsch for updating and testing an earlier
version of this patch.

14 years agoCompatibility fixes for Solaris/gcc
Francesco Chemolli [Mon, 23 Aug 2010 13:15:48 +0000 (15:15 +0200)] 
Compatibility fixes for Solaris/gcc

14 years agoSync dist languages with .po
Amos Jeffries [Mon, 23 Aug 2010 02:21:19 +0000 (20:21 -0600)] 
Sync dist languages with .po

14 years agomore prep for 3.1.7
Amos Jeffries [Mon, 23 Aug 2010 01:15:39 +0000 (19:15 -0600)] 
more prep for 3.1.7

14 years agoAuthor: Stephen Thorne <stephen@thorne.id.au>
Amos Jeffries [Mon, 23 Aug 2010 01:11:56 +0000 (19:11 -0600)] 
Author: Stephen Thorne <stephen@thorne.id.au>
Bug 3021: Large DNS reply causes crash when no ipv6 resolver present

14 years agoSourceFormat Enforcement
Automatic source maintenance [Mon, 23 Aug 2010 00:12:46 +0000 (18:12 -0600)] 
SourceFormat Enforcement

14 years agoPortability fix. Sometimes /bin/true is not, apparently, in /bin
Francesco Chemolli [Sun, 22 Aug 2010 10:44:01 +0000 (12:44 +0200)] 
Portability fix. Sometimes /bin/true is not, apparently, in /bin

14 years agoFix build issue on FreeBSD: printf arguments have to be cast.
Francesco Chemolli [Sun, 22 Aug 2010 10:29:23 +0000 (12:29 +0200)] 
Fix build issue on FreeBSD: printf arguments have to be cast.

14 years agoAuthor: Various Translators
Amos Jeffries [Sat, 21 Aug 2010 18:00:48 +0000 (06:00 +1200)] 
Author: Various Translators
Translations Update auto-save

14 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 21 Aug 2010 00:12:42 +0000 (18:12 -0600)] 
SourceFormat Enforcement

14 years agoCompilation speedup: optimize test-suite/testheaders.sh
Francesco Chemolli [Fri, 20 Aug 2010 16:15:46 +0000 (18:15 +0200)] 
Compilation speedup: optimize test-suite/testheaders.sh

14 years agoFixed build issue in purge tool.
Francesco Chemolli [Fri, 20 Aug 2010 12:55:51 +0000 (14:55 +0200)] 
Fixed build issue in purge tool.

14 years agoFixed some build errors in purge tool.
Francesco Chemolli [Fri, 20 Aug 2010 11:29:35 +0000 (13:29 +0200)] 
Fixed some build errors in purge tool.

14 years agoKill redundant hexd program from purge.
Henrik Nordstrom [Fri, 20 Aug 2010 02:38:28 +0000 (04:38 +0200)] 
Kill redundant hexd program from purge.

There is too many other tools for producing a readable hexdump of a file.

14 years agoAlso fix up hexd to Squid coding standards
Henrik Nordstrom [Fri, 20 Aug 2010 02:27:43 +0000 (04:27 +0200)] 
Also fix up hexd to Squid coding standards

14 years agoAdjust purge sources to Squid coding standard (xmalloc, xfree etc)
Henrik Nordstrom [Fri, 20 Aug 2010 02:22:16 +0000 (04:22 +0200)] 
Adjust purge sources to Squid coding standard (xmalloc, xfree etc)

14 years agoClean up DEFAULT_PID_FILE in similar manner
Henrik Nordstrom [Fri, 20 Aug 2010 02:06:26 +0000 (04:06 +0200)] 
Clean up DEFAULT_PID_FILE in similar manner

14 years agoKill recursive DEFAULT_HOSTS. Automake automatically adds expansions to Makefile...
Henrik Nordstrom [Fri, 20 Aug 2010 02:05:46 +0000 (04:05 +0200)] 
Kill recursive DEFAULT_HOSTS. Automake automatically adds expansions to Makefile.in, no need for us to wrongly try to reference them..

14 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 20 Aug 2010 00:12:50 +0000 (18:12 -0600)] 
SourceFormat Enforcement

14 years agoconfigure.in fix: properly pass default hosts_file option around during build.
Francesco Chemolli [Thu, 19 Aug 2010 12:50:13 +0000 (14:50 +0200)] 
configure.in fix: properly pass default hosts_file option around during build.

14 years agoBundle the purge and hexd tools with Squid sources.
Amos Jeffries [Thu, 19 Aug 2010 03:33:12 +0000 (21:33 -0600)] 
Bundle the purge and hexd tools with Squid sources.

Fixes the remaining known errors with purge tool building within
Squid source tree.

This adds the auto-tools changes necessary to bundle the tool.

14 years agorevert unwanted changes slipped into rev10756.
Amos Jeffries [Thu, 19 Aug 2010 03:14:16 +0000 (21:14 -0600)] 
revert unwanted changes slipped into rev10756.

14 years agoPrep for 3.1.7
Amos Jeffries [Thu, 19 Aug 2010 03:07:55 +0000 (15:07 +1200)] 
Prep for 3.1.7

14 years agoRemove diff-reducer hack in rev10754
Amos Jeffries [Thu, 19 Aug 2010 02:24:47 +0000 (20:24 -0600)] 
Remove diff-reducer hack in rev10754

14 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 19 Aug 2010 00:12:43 +0000 (18:12 -0600)] 
SourceFormat Enforcement

14 years agoAuthor: Alex Rousskov <rousskov@measurement-factory.com>
Amos Jeffries [Wed, 18 Aug 2010 23:43:22 +0000 (17:43 -0600)] 
Author: Alex Rousskov <rousskov@measurement-factory.com>
Bug 3016: HTTP/1.1 compliance: default keep-alive for 1.0/1.1 clients.

aka. NTLM Authentication with Java UA + SSL Problem
Moved httpMsgIsPersistent(version, headers) to HttpMsg::persistent(void).

This move makes it clear that the logic applies only to the message being
examined and not some irrelevant information such as HTTP version supported
by Squid.

Side-effects:

 - In v3.2, Squid stops using persistent connections with HTTP/1.0 clients
   that do not send "Connection: keep-alive".

 - In v3.1, Squid starts using persistent connections with HTTP/1.1 clients
   that do not send "Connection: close".

 - HttpReply now sets HttpMsg::http_ver member. It is not clear whether
   that member was ever used for HttpReplies though.

14 years agoAuthor: Various Translators
Amos Jeffries [Wed, 18 Aug 2010 00:00:54 +0000 (12:00 +1200)] 
Author: Various Translators
Translations Update auto-save

14 years agoAuthor: Various Translators
Amos Jeffries [Tue, 17 Aug 2010 18:01:41 +0000 (06:01 +1200)] 
Author: Various Translators
Translations Update auto-save

14 years agoPotential bug #3015 fix: assertion failed: comm.cc:143: "ccb->active()"
Alex Rousskov [Tue, 17 Aug 2010 16:24:18 +0000 (10:24 -0600)] 
Potential bug #3015 fix: assertion failed: comm.cc:143: "ccb->active()"

Fixed "ccb->active()" assertion related to the automatic write timeout.

We need to manually cancel writer's interest in select(2) before calling back
so that select() does not try to call the write handler when there is no
active callback anymore. Normally, select() cancels writer's interest when
calling the write handler, but in this case the call back is triggered not
from select() but from checkTimeouts().

From: 3p1-rock r9597

14 years agoAuthor: Various Translators
Amos Jeffries [Tue, 17 Aug 2010 12:00:58 +0000 (00:00 +1200)] 
Author: Various Translators
Translations Update auto-save

14 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 17 Aug 2010 00:12:40 +0000 (18:12 -0600)] 
SourceFormat Enforcement

14 years agoFixed autoconf-refactor bug: improper handling of default /etc/hosts
Francesco Chemolli [Mon, 16 Aug 2010 21:20:53 +0000 (23:20 +0200)] 
Fixed autoconf-refactor bug: improper handling of default /etc/hosts

14 years agoMoved stubs for calls in main.cc to a specific stub-file.
Francesco Chemolli [Mon, 16 Aug 2010 14:47:39 +0000 (16:47 +0200)] 
Moved stubs for calls in main.cc to a specific stub-file.

14 years agoAuthor: Various Translators
Amos Jeffries [Mon, 16 Aug 2010 12:01:34 +0000 (00:01 +1200)] 
Author: Various Translators
Translations Update auto-save

14 years agoFix missing include for rotate_logs
Amos Jeffries [Mon, 16 Aug 2010 11:35:40 +0000 (05:35 -0600)] 
Fix missing include for rotate_logs

14 years agoTypo on 64-bit builds
Amos Jeffries [Mon, 16 Aug 2010 11:01:32 +0000 (23:01 +1200)] 
Typo on 64-bit builds

14 years agoFix libTrie related build failure if inlining is disabled
Henrik Nordstrom [Mon, 16 Aug 2010 10:42:54 +0000 (12:42 +0200)] 
Fix libTrie related build failure if inlining is disabled

14 years agodist missing files in kerberos helper
Amos Jeffries [Mon, 16 Aug 2010 09:06:58 +0000 (21:06 +1200)] 
dist missing files in kerberos helper

14 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 15 Aug 2010 00:12:43 +0000 (18:12 -0600)] 
SourceFormat Enforcement

14 years agoBug 3012 fix: deprecate sslBump and support ssl-bump spelling in http_port
Alex Rousskov [Sat, 14 Aug 2010 16:38:27 +0000 (10:38 -0600)] 
Bug 3012 fix: deprecate sslBump and support ssl-bump spelling in http_port

Also adds depricated support for sslbump spelling that was previously
documented in squid.conf but not supported.

14 years agoRevert revno10728 (bug 2396)
Amos Jeffries [Sat, 14 Aug 2010 02:58:39 +0000 (20:58 -0600)] 
Revert revno10728 (bug 2396)

Vetoed by Alex Rousskov.

14 years agoRemove COPYING file from kerberos_ldap_group dist.
Amos Jeffries [Sat, 14 Aug 2010 02:10:28 +0000 (14:10 +1200)] 
Remove COPYING file from kerberos_ldap_group dist.

14 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 14 Aug 2010 00:12:49 +0000 (18:12 -0600)] 
SourceFormat Enforcement

14 years agoFixes for autoconf-refactor bugs.
Francesco Chemolli [Fri, 13 Aug 2010 22:13:34 +0000 (00:13 +0200)] 
Fixes for autoconf-refactor bugs.
Thanks to Andrew Beverley for spotting some of them.

14 years agodist ext_kerberos_ldap_group_acl helper
Amos Jeffries [Fri, 13 Aug 2010 12:11:07 +0000 (00:11 +1200)] 
dist ext_kerberos_ldap_group_acl helper

14 years agoManual page for negotiate_kerberos_auth
Amos Jeffries [Fri, 13 Aug 2010 12:05:25 +0000 (00:05 +1200)] 
Manual page for negotiate_kerberos_auth

14 years agoPermit rotate logs from cachemgr
Amos Jeffries [Fri, 13 Aug 2010 11:54:31 +0000 (23:54 +1200)] 
Permit rotate logs from cachemgr

Given that reconfigure, shutdown and offline already have password-protected
remote actions available it makes sense to permit the less critical rotate
as well.

14 years agoAuthor: Markus Moeller <huaraz@moeller.plus.com>
Amos Jeffries [Fri, 13 Aug 2010 10:17:20 +0000 (22:17 +1200)] 
Author: Markus Moeller <huaraz@moeller.plus.com>
Helper: ext_kerberos_ldap_group_acl: Lookup Kerberos/NTLM group via LDAP

14 years agoFix 32-bit wrap in refresh_pattern min/max values.
Amos Jeffries [Fri, 13 Aug 2010 09:37:46 +0000 (03:37 -0600)] 
Fix 32-bit wrap in refresh_pattern min/max values.

Attached patch limits the values to 1 year (arbitrary based on rumours
about good caching times). Checking for 32-bit wrap and setting the max
1 year limit instead of cutting them to zero.

The expected outcome of this is correct cache storage time extension
according to refresh_pattern documentation when people desperately set
min/max to > a million minutes. Instead of a silent always-stale verdict.

14 years agoHTTP/1.1 compliance: Stop using Proxy-Connection header
Amos Jeffries [Fri, 13 Aug 2010 07:53:08 +0000 (01:53 -0600)] 
HTTP/1.1 compliance: Stop using Proxy-Connection header

The Proxy-Connection header is not part of any HTTP standard. It was added
by Netscape to differentiate persistent connections to intermediary proxies
but that duty has been formally superceded by the Connection: header.

This compliance update makes Squid stop sending Proxy-Connection on outbound
requests. Starts consistently using Connection: header instead.

The Proxy-Connection header is also ignored on HTTP-strict builds.
For compatibility we must do a small violation and drop it as a hop-by-hop
header despite strct-mode technically being required to pass it through.

For origin server connections the non-strict builds will retain the
status-quo: interpret it, but treat it as an HTTP/0.9 thing to be
upgraded to HTTP/1.1 Connection:.

squidclient is also fixed not to send it.

14 years agohelepr: ext_edirectory_userip_acl: add autotools code to bundle.
Amos Jeffries [Fri, 13 Aug 2010 05:53:22 +0000 (23:53 -0600)] 
helepr: ext_edirectory_userip_acl: add autotools code to bundle.

14 years agoAuthor: Stephen Thorne <stephen@thorne.id.au>
Amos Jeffries [Thu, 12 Aug 2010 09:37:14 +0000 (21:37 +1200)] 
Author: Stephen Thorne <stephen@thorne.id.au>
Bug 2936: NTLM-Authenticate 407 and Proxy-Connection: Close in same response.

Squid default from the days of HTTP/1.0 was to close connections unless
keep-alive was explicitly known. This changes the default to send
keep-alive unless we have a good reason to close.

14 years agoIgnore eclipse project files
Francesco Chemolli [Wed, 11 Aug 2010 20:16:24 +0000 (22:16 +0200)] 
Ignore eclipse project files

14 years agoBug 3011: extra tunnel and ICAP IPv4-only port fixes.
Amos Jeffries [Wed, 11 Aug 2010 10:58:42 +0000 (22:58 +1200)] 
Bug 3011: extra tunnel and ICAP IPv4-only port fixes.

This is just the polish bits. The rest was added in pieces earlier. :(

14 years agoAdd missing includes.
Francesco Chemolli [Wed, 11 Aug 2010 08:43:05 +0000 (10:43 +0200)] 
Add missing includes.

14 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 11 Aug 2010 00:12:56 +0000 (18:12 -0600)] 
SourceFormat Enforcement

14 years agoPortability fix for OpenSolaris.
Francesco Chemolli [Tue, 10 Aug 2010 15:37:53 +0000 (17:37 +0200)] 
Portability fix for OpenSolaris.

14 years agoAdd IPv6 wrappers around more outbound ports.
Amos Jeffries [Tue, 10 Aug 2010 10:33:04 +0000 (04:33 -0600)] 
Add IPv6 wrappers around more outbound ports.

This protects TCP DNS links, peer probes and CONNECT tunnels against
IPv4/IPv6 crossover in split-stack or IPv4-only systems.

Also corrects the error message output on generated forwarding errors.

14 years agoMerged autoconf-refactor branch.
Francesco Chemolli [Tue, 10 Aug 2010 07:19:17 +0000 (09:19 +0200)] 
Merged autoconf-refactor branch.

Main changes and goals:
- definition of a common naming convention for shell variables
- definition of auxiliary macros to deal with common constructs (--enable-* and --with-*)
- definition of auxiliary macros to deal with autoconf defines
- improvements in configure.in readability and portability

14 years agoTypo in revno10714
Amos Jeffries [Tue, 10 Aug 2010 03:11:19 +0000 (21:11 -0600)] 
Typo in revno10714

14 years agoRevert rev10715 (3.1 specific bug)
Amos Jeffries [Tue, 10 Aug 2010 01:12:17 +0000 (19:12 -0600)] 
Revert rev10715 (3.1 specific bug)

14 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 10 Aug 2010 00:12:43 +0000 (18:12 -0600)] 
SourceFormat Enforcement

14 years agoAuthor: Chad Naugle <chad.naugle@travimp.com>
Amos Jeffries [Mon, 9 Aug 2010 12:00:18 +0000 (06:00 -0600)] 
Author: Chad Naugle <chad.naugle@travimp.com>
Bug 2999: v1.5 of ext_edirectory_userip_acl

* Modified command-line arguments to closer resemble LDAP auth helper's.
* Added much-needed 'Persistent Connections' option, with timeout.
* Cleaned up some of the debugging statements, and to make debug messages
  more meaningful.

14 years agoBug 2997: visible_hostname directive no longer matches docs
Amos Jeffries [Mon, 9 Aug 2010 11:06:36 +0000 (05:06 -0600)] 
Bug 2997: visible_hostname directive no longer matches docs

14 years agoBug 3001: dnsserver link issues
Amos Jeffries [Mon, 9 Aug 2010 10:54:55 +0000 (04:54 -0600)] 
Bug 3001: dnsserver link issues

14 years agoSolaris: fix errcode hiding and inconsistent usage.
Amos Jeffries [Mon, 9 Aug 2010 10:48:17 +0000 (22:48 +1200)] 
Solaris: fix errcode hiding and inconsistent usage.

14 years agoFix include paths for LTDL building adaptation library
Amos Jeffries [Mon, 9 Aug 2010 10:42:59 +0000 (22:42 +1200)] 
Fix include paths for LTDL building adaptation library

14 years agoFix ICAP service sockets for splt-stack systems.
Amos Jeffries [Mon, 9 Aug 2010 08:23:45 +0000 (20:23 +1200)] 
Fix ICAP service sockets for splt-stack systems.

Makes split-stack systems default to IPv4-only connections.
Adds "ipv6=on|off" option to icap_service config to make Squid do
IPv6-only connections for particular service.

There is currently no middle ground with connection failover possible.

14 years agoSourceFormat Enforcement
Automatic source maintenance [Sun, 8 Aug 2010 00:12:41 +0000 (18:12 -0600)] 
SourceFormat Enforcement

14 years agoBug fix: In the case of an error while accessing a gopher server, squid will crash
Christos Tsantilas [Sat, 7 Aug 2010 15:38:22 +0000 (18:38 +0300)] 
Bug fix: In the case of an error while accessing a gopher server, squid will crash

The GopherStateData::req  used to retrieve the releated HttpRequest object in
gopherSendComplete function when a server while accessing the server occurs.

The GopherStateData::req is never assigned and it is always NULL (should be
removed?). The gopherState->fwd->request must be used instead.

14 years agoAuthor: Tsantilas Christos <chtsanti@users.sourceforge.net> , Alex Rousskov <roussko...
Christos Tsantilas [Sat, 7 Aug 2010 14:51:30 +0000 (17:51 +0300)] 
Author:  Tsantilas Christos <chtsanti@users.sourceforge.net> , Alex Rousskov <rousskov@measurement-factory.com>
Added %http::<bs and %icap::<bs logformat codes to HTTP and ICAP body sizes received from the next HTTP hop or the ICAP server.

Logging "received message body" is useful because Squid may receive a lot
more or a lot less than it serves to the client or than the original resource
size, which may happen when handling Range requests and partial responses,
when adapting bodies, and for other reasons.

For HTTP, we define "received message body" as message body bytes that
Squid stores, merges, adapts, and/or forwards. In most cases, they are the
same as body bytes sent by the server to Squid. However, the two bodies may
differ for reasons such as errors (where the start of the body was not found),
HTTP transfer encodings (where Squid strips chunked encoding to find the
message body), and generated FTP directory listings (that were received in
a completely different format on a control connection).

For ICAP, the "received message body" is the Encapsulated sections, after
the encapsulated HTTP body, if any, is dechunked.

This is a Measurement Factory project.

14 years agoMerged from trunk
Francesco Chemolli [Sat, 7 Aug 2010 14:22:54 +0000 (16:22 +0200)] 
Merged from trunk

14 years agoImproved handling of --enable-strict-error-checking
Francesco Chemolli [Sat, 7 Aug 2010 14:15:50 +0000 (16:15 +0200)] 
Improved handling of --enable-strict-error-checking
Moved unhandled default definition of HTTP and ICP ports to config.h
Improved documentation of --with-logdir
Fixed documentation of --disable-optimizations
Bundled types detection closer to each other
Made resolver library checks depend on --disable-internal-dns

14 years agoBug 3003: inconsistent concepts in documentation of cache_dir
Amos Jeffries [Sat, 7 Aug 2010 05:07:01 +0000 (17:07 +1200)] 
Bug 3003: inconsistent concepts in documentation of cache_dir

Thanks to Mattias Hellstrom.

14 years agoAuthor: declanw <declanw@is.bbc.co.uk>
Amos Jeffries [Sat, 7 Aug 2010 04:55:09 +0000 (16:55 +1200)] 
Author: declanw <declanw@is.bbc.co.uk>
Bug 3004: Solaris 9 SubStudio 12 build failure.

14 years agoBug 3006: IPV6_V6ONLY definition missing - Solaris 9 - SunStudio 12.0
Amos Jeffries [Sat, 7 Aug 2010 03:45:03 +0000 (15:45 +1200)] 
Bug 3006: IPV6_V6ONLY definition missing - Solaris 9 - SunStudio 12.0

Solaris 9 is not fully RFC 3493 compliant. It does not provide the
IPV6_V6ONLY even as a null-op option.

There are potentially other systems in the same situation. Fix is to
detect the absence of the option and fall back to split-stack on
IPv6-enabled systems without it.

15 years agoPush-merge
Francesco Chemolli [Wed, 4 Aug 2010 17:26:24 +0000 (19:26 +0200)] 
Push-merge

15 years agoAuthor: Matthias Pitzl <silamael@coronamundi.de>
Amos Jeffries [Wed, 4 Aug 2010 13:50:45 +0000 (07:50 -0600)] 
Author: Matthias Pitzl <silamael@coronamundi.de>
Fix build error on OpenBSD

15 years agoUm
Amos Jeffries [Wed, 4 Aug 2010 13:27:00 +0000 (07:27 -0600)] 
Um

15 years agoand one more
Amos Jeffries [Wed, 4 Aug 2010 13:13:12 +0000 (07:13 -0600)] 
and one more

15 years agoFix more libtool system header includes
Amos Jeffries [Wed, 4 Aug 2010 13:12:03 +0000 (07:12 -0600)] 
Fix more libtool system header includes

15 years agoShuffled system library checks into acinclude/lib-checks.m4
Francesco Chemolli [Tue, 3 Aug 2010 08:17:29 +0000 (10:17 +0200)] 
Shuffled system library checks into acinclude/lib-checks.m4
Fixed some indentation.
Fixed issue with loadable modules variable initialization
Refactored loadable modules configuration.
Refactored inlining configuration.
Moved inline keyword definition out of configure and into config.h
Fixed libTrie inlining configuration.

15 years agoClarify sslpassword_program arguments
Henrik Nordstrom [Mon, 2 Aug 2010 19:46:51 +0000 (21:46 +0200)] 
Clarify sslpassword_program arguments

15 years agoFactored setresuid, libdb and regex checks out of main configure.in file
Francesco Chemolli [Mon, 2 Aug 2010 19:33:59 +0000 (21:33 +0200)] 
Factored setresuid, libdb and regex checks out of main configure.in file

15 years agoShuffled acinclude.m4 into acinclude/init.m4
Francesco Chemolli [Mon, 2 Aug 2010 18:55:10 +0000 (20:55 +0200)] 
Shuffled acinclude.m4 into acinclude/init.m4

15 years agoCompliance: Improved HTTP Range header field validation.
Alex Rousskov [Mon, 2 Aug 2010 16:43:03 +0000 (10:43 -0600)] 
Compliance: Improved HTTP Range header field validation.

1) Improved HttpHdrRangeSpec::parseInit() to parse syntactically valid
range specs:

  * Suffix ranges with 0 length (i.e. -0) are syntactically valid.

  * Check that last-byte-pos is greater than or equal to first-byte-pos.

After the change, HttpHdrRangeSpec::parseInit() successfully parses suffix
ranges with 0 length. They were rejected before. RFC 2616 section 14.35.1 says
such range specs are syntactically valid but unsatisfiable. Thus, we should
ignore the range spec itself, but not the whole range header. These range
specs will be rejected later, during canonization.

2) In HttpHdrRangeSpec::parseInit(), ignore the whole range header if one of
range specs is syntactically invalid (i.e. range spec parsing fails).

Co-Advisor test case: test_clause/rfc2616/invalidRange

15 years agoPrep for 3.2.0.1
Amos Jeffries [Mon, 2 Aug 2010 13:55:59 +0000 (01:55 +1200)] 
Prep for 3.2.0.1

15 years agoFix distclean for wbinfo group ACL helper
Amos Jeffries [Mon, 2 Aug 2010 13:41:02 +0000 (01:41 +1200)] 
Fix distclean for wbinfo group ACL helper

15 years agoRefactored winsock lib checks into os-deps.m4
Francesco Chemolli [Mon, 2 Aug 2010 12:42:17 +0000 (14:42 +0200)] 
Refactored winsock lib checks into os-deps.m4

15 years agoRemoved a few duplicate header checks.
Francesco Chemolli [Sun, 1 Aug 2010 21:56:28 +0000 (23:56 +0200)] 
Removed a few duplicate header checks.

15 years agoFixed some indentation in configure.in.
Francesco Chemolli [Sun, 1 Aug 2010 21:47:17 +0000 (23:47 +0200)] 
Fixed some indentation in configure.in.