]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
17 years agoKill GPL-incompatible (Apache) lib/snprintf.c source.
hno [Tue, 4 Dec 2007 20:22:54 +0000 (20:22 +0000)] 
Kill GPL-incompatible (Apache) lib/snprintf.c source.

Should not be needed on any relevant platform today I think, but if needed
we can always add back a GPL-compatible version..

17 years agoBug #2032: assertion failed: comm.cc:116: "ccb->active == false"
hno [Tue, 4 Dec 2007 10:35:52 +0000 (10:35 +0000)] 
Bug #2032: assertion failed: comm.cc:116: "ccb->active == false"

don't try to process the body on CONNECT requests even if there is a
Content-Length header.

17 years agoBug 2111 - squid.conf, others overwrite -X
amosjeffries [Sun, 2 Dec 2007 15:23:56 +0000 (15:23 +0000)] 
Bug 2111 - squid.conf, others overwrite -X

Add configuration option to store knowledge of -X command-line option
and use it to abort any parsing of future debug_options.

Add call to first set all debug levels to '9' (full) before freezing
the debug state.

17 years agoWrap equation argument to debugs() properly.
amosjeffries [Sun, 2 Dec 2007 14:19:58 +0000 (14:19 +0000)] 
Wrap equation argument to debugs() properly.

Safe code does not rely on internals protecting themelves. Even if they do.

17 years agoCorrect attribution of current MD5 changes.
amosjeffries [Fri, 30 Nov 2007 11:34:12 +0000 (11:34 +0000)] 
Correct attribution of current MD5 changes.

The current MD5 alterations in 3.0 are the ones made by Duane not me (Amos)

17 years agoBootstrapped
hno [Fri, 30 Nov 2007 08:10:47 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoFix typo added during some patch.
amosjeffries [Tue, 27 Nov 2007 16:36:07 +0000 (16:36 +0000)] 
Fix typo added during some patch.

17 years agoFix SegFault when NetDB asked to ping a zero-length domain/hostname
amosjeffries [Tue, 27 Nov 2007 14:48:40 +0000 (14:48 +0000)] 
Fix SegFault when NetDB asked to ping a zero-length domain/hostname

17 years agoBug 2096: allow pending cache hits when delay pools not compiled in
wessels [Tue, 27 Nov 2007 05:20:04 +0000 (05:20 +0000)] 
Bug 2096: allow pending cache hits when delay pools not compiled in

For some time now, Squid has marked pending cache hits (a cache hit
when e->store_status != STORE_OK) as LOG_TCP_MISS.  This was done
so that pending hits do not bypass delay pools.  It had the negative
side effect of generating confusing access.log entries because cache
hits get logged as miss.

With this patch, the behavior is reverted when delay pools are not
compiled in.  Pending hits will be logged as some kind of TCP_HIT.

Users of delay pools will just have to live with this logging quirk,
although the "forwarded to" field of access.log can always be used
to see if the request was forwarded (a miss) or not (a hit).

17 years agopack header entries on cache updates
hno [Mon, 26 Nov 2007 20:09:54 +0000 (20:09 +0000)] 
pack header entries on cache updates

17 years agoUpdate to Squid MD5 syntax
hno [Mon, 26 Nov 2007 20:07:14 +0000 (20:07 +0000)] 
Update to Squid MD5 syntax

17 years agoCorrect update of 304 headers
hno [Mon, 26 Nov 2007 19:31:37 +0000 (19:31 +0000)] 
Correct update of 304 headers

17 years agoBootstrapped
hno [Wed, 21 Nov 2007 08:10:43 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoMake squid_db_auth reopen the database connection on each query by default
hno [Tue, 20 Nov 2007 21:46:49 +0000 (21:46 +0000)] 
Make squid_db_auth reopen the database connection on each query by default

This change adds support for non-persistent database connections, and also
makes that the default.

To use a persistent database connection use the --persist option.

17 years agoUpdated MD5 credits (no longer RSA). Removed winbind credits (no longer shipped with...
hno [Tue, 20 Nov 2007 21:44:12 +0000 (21:44 +0000)] 
Updated MD5 credits (no longer RSA). Removed winbind credits (no longer shipped with Squid)

17 years agoDrop the RSA licensed MD5 implementation, and use the one shipped with Squid instead
hno [Tue, 20 Nov 2007 21:34:17 +0000 (21:34 +0000)] 
Drop the RSA licensed MD5 implementation, and use the one shipped with Squid instead

17 years agoChange priority of proxy auth and extacl provided username in login=*:pass
hno [Mon, 19 Nov 2007 05:00:58 +0000 (05:00 +0000)] 
Change priority of proxy auth and extacl provided username in login=*:pass

It's quite useful to be able to manipulate the forwarded username when using
login=*:pass together with authentication.

17 years agoDeclare Squid 3 Windows support NOT STABLE.
serassio [Mon, 19 Nov 2007 00:23:01 +0000 (00:23 +0000)] 
Declare Squid 3 Windows support NOT STABLE.

17 years agoFix build failure caused by a typo.
serassio [Mon, 19 Nov 2007 00:19:35 +0000 (00:19 +0000)] 
Fix build failure caused by a typo.

17 years agoBootstrapped
hno [Fri, 16 Nov 2007 08:10:43 +0000 (08:10 +0000)] 
Bootstrapped

17 years agobootstrapped after ESI preprocessor change
wessels [Fri, 16 Nov 2007 06:34:22 +0000 (06:34 +0000)] 
bootstrapped after ESI preprocessor change

17 years agoRenamed "SQUID_ESI" to "USE_SQUID_ESI" at request of other developers
wessels [Fri, 16 Nov 2007 06:33:01 +0000 (06:33 +0000)] 
Renamed "SQUID_ESI" to "USE_SQUID_ESI" at request of other developers

Other Squid developers suggested to be consistent and prefix the
symbol with "USE_" as we do with others.

17 years agobootstrapped after renaming ESI -> SQUID_ESI
wessels [Fri, 16 Nov 2007 01:50:29 +0000 (01:50 +0000)] 
bootstrapped after renaming ESI -> SQUID_ESI

17 years agoChange 'ESI' define to 'SQUID_ESI'
wessels [Fri, 16 Nov 2007 01:48:27 +0000 (01:48 +0000)] 
Change 'ESI' define to 'SQUID_ESI'

On Solaris, something else defines the preprocessor symbol ESI, which
confuses Squid compliation.  Now we use a name less likely to cause
a collision.

17 years agoMore fixes for recent MD5 mixups
wessels [Thu, 15 Nov 2007 23:47:31 +0000 (23:47 +0000)] 
More fixes for recent MD5 mixups

- Changing 'xMD5' function name to 'SquidMD5'
- Changing 'MD5_CTX' typedef to 'SquidMD5_CTX'
- Changing 'MD5_DIGEST_CHARS' define to 'SQUID_MD5_DIGEST_LENGTH'
- Changing 'MD5_DIGEST_LENGTH' define to 'SQUID_MD5_DIGEST_LENGTH'
- Removing messy #ifdef logic in include/md5.h that tries to use
  the system libraries if available.  We'll always use the Squid MD5
  routines.

17 years agoFix-fix for MD5.
amosjeffries [Thu, 15 Nov 2007 16:18:04 +0000 (16:18 +0000)] 
Fix-fix for MD5.

Pre-compiler only tested on Linux and FreeBSD.

This update amends the previous to allow OS which provide a partial MD5
implementation but do not supply correct buffer size (MD5_DIGEST_* macro)
to build using the squid bundled code.

To evade symbol-clashes the squid code is also updated to use xMD5Init,
xMD5Update, xMD5Final and the code sorts out which version is to be used
at compile time from configure options and available sources.

For MacOS X and other broken OS the sys/types.h must also be included on
behalf of the sys/*.h which need it.

17 years agoAuthor: Klaus Singvogel <kssingvo@suse.de>
rousskov [Wed, 14 Nov 2007 06:25:33 +0000 (06:25 +0000)] 
Author: Klaus Singvogel <kssingvo@suse.de>
Bug 2123 fix, part 1: GCC 4.3 warnings

Removed ignored type qualifiers from function return types.
Added parentheses around && within ||.

17 years agooperator != declared outside of the HttpRequestMethod class results in
rousskov [Wed, 14 Nov 2007 06:09:23 +0000 (06:09 +0000)] 
operator != declared outside of the HttpRequestMethod class results in
operator overloading warnings on some platforms. The operator does not appear
to be required.

17 years agoReturning -1 in the unreached portion of u_short GetService() code results in
rousskov [Wed, 14 Nov 2007 06:06:01 +0000 (06:06 +0000)] 
Returning -1 in the unreached portion of u_short GetService() code results in
a type conversion warning.

17 years agoBug 2123 partial fix: Allocate space for a NULL terminator of the helper
rousskov [Wed, 14 Nov 2007 04:25:35 +0000 (04:25 +0000)] 
Bug 2123 partial fix: Allocate space for a NULL terminator of the helper
argument array.

17 years agoRFC 1157 - SNMP v1 Protocol is used by squid.
amosjeffries [Tue, 13 Nov 2007 06:46:55 +0000 (06:46 +0000)] 
RFC 1157 - SNMP v1 Protocol is used by squid.

17 years agoAuthor: Pawel Worach <pawel.worach@gmail.com>
amosjeffries [Tue, 13 Nov 2007 06:10:37 +0000 (06:10 +0000)] 
Author: Pawel Worach <pawel.worach@gmail.com>
Enable squid to lookup /etc/services for named peer ports.

Here is patch so you can use port names from /etc/services in
squid.conf for cache_peers like so:
   cache_peer upstream.example.net parent http-cache icpv2

assumng you have something like this in /etc/services
  http-cache   8080/tcp
  icpv2           3130/udp

This became needed here where we have the same squid.conf's deployed
across a cluster of reverse proxies and we control originserver
addresses via a hosts file and originserver  ports via /etc/services
locally on each node.

17 years agoBootstrapped
hno [Mon, 12 Nov 2007 08:10:45 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoRe-fix libmd5 detection on configure
amosjeffries [Mon, 12 Nov 2007 03:10:09 +0000 (03:10 +0000)] 
Re-fix libmd5 detection on configure

Autoconf fails to do environment variable +='s

17 years agoBootstrapped.
amosjeffries [Sun, 11 Nov 2007 14:30:27 +0000 (14:30 +0000)] 
Bootstrapped.

17 years agoSolaris 10 appears to provide MD5 natively
amosjeffries [Sun, 11 Nov 2007 09:26:58 +0000 (09:26 +0000)] 
Solaris 10 appears to provide MD5 natively

* alter the MD5 logics to perform compile-time tests of
  whether the squid internal MD5 is needed.
* OpenSSL implementation primary as before with same configure options
* first backup is to use the OS-provided.
* final backup is to use squid internal code.

17 years agoBootstrapped
hno [Thu, 8 Nov 2007 08:10:45 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoBootstrapped.
amosjeffries [Wed, 7 Nov 2007 18:04:47 +0000 (18:04 +0000)] 
Bootstrapped.

17 years agoAdd some include-protection to IPInterception.cc
amosjeffries [Wed, 7 Nov 2007 17:20:46 +0000 (17:20 +0000)] 
Add some include-protection to IPInterception.cc

17 years agoExtended the Squid -> Rewriter interface with key=value pairs
wessels [Wed, 7 Nov 2007 04:19:30 +0000 (04:19 +0000)] 
Extended the Squid -> Rewriter interface with key=value pairs

Our customer wants to use a redirector (rewriter) but needs additional
fields.  We think that new fields should be of the form "key=value"
so that, in the future, the user can choose which fields to send
to the rewriter.

17 years agoClose three possible buffer over/under-runs
amosjeffries [Mon, 5 Nov 2007 06:59:51 +0000 (06:59 +0000)] 
Close three possible buffer over/under-runs

Simple fixes imported from earlier string work.
 - prevent pointer operations in cut /set operations if the location
   given is outside teh currently allocated buffer.
The methods will behave as if the operations were successful but did
not alter the string.

17 years agoLooks like 'dstdomain' and 'dstdomain_regex' ACLs were broken.
wessels [Sat, 3 Nov 2007 10:49:53 +0000 (10:49 +0000)] 
Looks like 'dstdomain' and 'dstdomain_regex' ACLs were broken.

The dst_addr member of ACLChecklist class was never set so
certain reverse lookups for 'dstdomain' and 'dstdomain_regex'
ACLs probably were not working.  This patch sets dst_addr
before (potentially) doing the non-blocking lookup.

17 years agoBootstrapped
hno [Thu, 1 Nov 2007 07:10:45 +0000 (07:10 +0000)] 
Bootstrapped

17 years agoSpelling.
amosjeffries [Wed, 31 Oct 2007 16:34:36 +0000 (16:34 +0000)] 
Spelling.

17 years agoCode cleanup.
amosjeffries [Wed, 31 Oct 2007 10:52:15 +0000 (10:52 +0000)] 
Code cleanup.

17 years agoNetBIOS is now officially obsolete.
amosjeffries [Wed, 31 Oct 2007 06:32:19 +0000 (06:32 +0000)] 
NetBIOS is now officially obsolete.

It's never expected to support more than IPv4 so this patch
reverts ambiguous IN_ADDR back to IPv4-only in_addr in NetBIOS code.

Ref: http://lists.samba.org/archive/samba-technical/2007-March/052210.html

17 years agoBug #2116 fix: Better handling of HTTP 206 Partial Content responses.
rousskov [Wed, 31 Oct 2007 03:52:30 +0000 (03:52 +0000)] 
Bug #2116 fix: Better handling of HTTP 206 Partial Content responses.

When Squid is not doing the ranges it may still forward a Range request to the
origin server and receive a range response. The old code was comparing
endOffset of memObject with the last expected offset according to the Range
header value. That comparison did not account for the header size in
endOffset.

I do not know if the header size should not have been there or
should have been accounted for in the comparison. Adding headers size made
the 206 problem more difficult to reproduce (but it was still there).

Instead of trying to figure out when the header should or should not be
counted, I used http->out.offset and reply->content_range->spec.length.  That
seems to work. This change, however, is in my Puzzle Area of Squid; I have low
confidence the fix is correct and cannot be improved.

17 years agoAdded debugging while investigating bug #2116.
rousskov [Wed, 31 Oct 2007 03:43:45 +0000 (03:43 +0000)] 
Added debugging while investigating bug #2116.

17 years agoRFC bits omitted earlier.
amosjeffries [Tue, 30 Oct 2007 12:46:24 +0000 (12:46 +0000)] 
RFC bits omitted earlier.

17 years agoRFC 3162 - updated RADIUS authentication protocol
amosjeffries [Tue, 30 Oct 2007 09:01:23 +0000 (09:01 +0000)] 
RFC 3162 - updated RADIUS authentication protocol

17 years agoPolicy Change: Make all ACL a predefined default.
amosjeffries [Tue, 30 Oct 2007 04:41:29 +0000 (04:41 +0000)] 
Policy Change: Make all ACL a predefined default.

17 years agoAdd RFC 1902, 1905 - SNMP Protocols used by squid.
amosjeffries [Sun, 28 Oct 2007 15:10:23 +0000 (15:10 +0000)] 
Add RFC 1902, 1905 - SNMP Protocols used by squid.

17 years agoClose several unsafe control paths after fatalf()
amosjeffries [Tue, 23 Oct 2007 05:35:32 +0000 (05:35 +0000)] 
Close several unsafe control paths after fatalf()
Coverity Identified.

17 years agoClose several unsafe control paths after self_destruct()
amosjeffries [Tue, 23 Oct 2007 05:33:28 +0000 (05:33 +0000)] 
Close several unsafe control paths after self_destruct()
Coverity Identified.

17 years agoAuthor:Rafael Martinez <rmartine@fdi.ucm.es>
amosjeffries [Tue, 23 Oct 2007 04:33:13 +0000 (04:33 +0000)] 
Author:Rafael Martinez <rmartine@fdi.ucm.es>
Add RFC 4004 - IP Protocol-neutral SNMP

17 years agoAuthor: Rafael Martinez <rmartine@fdi.ucm.es>
amosjeffries [Tue, 23 Oct 2007 04:32:16 +0000 (04:32 +0000)] 
Author: Rafael Martinez <rmartine@fdi.ucm.es>

Add RFC 4001 - IP Protocol-Neutral SNMP

17 years agoBug 2104 fix: handle REQMOD HTTP responses without body
rousskov [Tue, 16 Oct 2007 21:57:28 +0000 (21:57 +0000)] 
Bug 2104 fix: handle REQMOD HTTP responses without body

When in request satisfaction mode and no body is expected, mark the store
entry as complete. Otherwise the ClientStreams(?) triggered by the
clientGetMoreData call will get stuck waiting for more data from the store.
There is probably a better way to do this (e.g., completely bypassing store).

17 years agoAuthor: Christos Tsantilas <chtsanti@users.sourceforge.net>
rousskov [Tue, 16 Oct 2007 20:38:18 +0000 (20:38 +0000)] 
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>
Bug #2098 fix: SegFault in tunnelConnectTimeout error page generation.

The tunnelConnectTimeout function used the tunnelState object (and propably
the tunnelState->request object) after they were freed by the comm_close call.
The fix moves the comm_close call to the end of tunnelConnectTimeout.

17 years agoNeed to read clearer. We agreed on allow localnet->deny all.
amosjeffries [Tue, 16 Oct 2007 19:01:46 +0000 (19:01 +0000)] 
Need to read clearer. We agreed on allow localnet->deny all.

17 years agoAlter policy of ICP and HTCP access to default allow only local networks
amosjeffries [Tue, 16 Oct 2007 18:56:51 +0000 (18:56 +0000)] 
Alter policy of ICP and HTCP access to default allow only local networks

Modifies both icp_access and htcp_access from recommended 'allow all'
to a default 'deny !localnet' with a fallback default 'deny all'
if the recommended icp/htcp access are removed or commented out.

Adds localnet acl by default the RFC1918 reserved private space
to support the use of localnet acl in the above.

17 years agoBootstrapped
hno [Sun, 14 Oct 2007 06:10:44 +0000 (06:10 +0000)] 
Bootstrapped

17 years agoautoconf 2.61 works.
amosjeffries [Sat, 13 Oct 2007 18:54:10 +0000 (18:54 +0000)] 
autoconf 2.61 works.

17 years agoAdd notes about htcp_access effects on HTCP peers to config.
amosjeffries [Sat, 13 Oct 2007 12:57:40 +0000 (12:57 +0000)] 
Add notes about htcp_access effects on HTCP peers to config.

Discovered by Tony Dodd and Chris Robertson.
See Discussion:
  Re: [squid-users] Squid marks alive siblings as dead.
  http://www.squid-cache.org/mail-archive/squid-users/200710/0254.html

17 years agoUpdate udp_(incoming|outgoing)_address option docs to reflect current state.
amosjeffries [Sat, 13 Oct 2007 12:56:38 +0000 (12:56 +0000)] 
Update udp_(incoming|outgoing)_address option docs to reflect current state.

Code changes will be needed in future to remove these options and move
their effects to other module-specific ones.

17 years agoBug #2100: Respect DNS ttl=0
hno [Sat, 13 Oct 2007 06:02:28 +0000 (06:02 +0000)] 
Bug #2100: Respect DNS ttl=0

Some DNS servers responds with a ttl=0 asking their results to not be cached
for long, but due to historical reasons from before when Squid had an internal
DNS client such DNS responses got cached for the positive DNS ttl (default 1 hour).

Witch this change such DNS responses gets cached for the minimum allowed TTL
(negative_dns_ttl, default 1 minute).

17 years agoDigest delays are no longer bound to any fixed unit of time.
amosjeffries [Thu, 11 Oct 2007 18:53:03 +0000 (18:53 +0000)] 
Digest delays are no longer bound to any fixed unit of time.

17 years agodigest_generation docs should reference compile option not internal macro.
amosjeffries [Thu, 11 Oct 2007 18:45:44 +0000 (18:45 +0000)] 
digest_generation docs should reference compile option not internal macro.

17 years agoBug #2094: 3.0RC1: Add stub ERR_ESI and ERR_ICAP_FAILURE documents to errors/Armenian
serassio [Wed, 10 Oct 2007 00:39:43 +0000 (00:39 +0000)] 
Bug #2094: 3.0RC1: Add stub ERR_ESI and ERR_ICAP_FAILURE documents to errors/Armenian

Added copies of the English documents to the Armenian language directory.

17 years agoLikely fix for helper-related SEGV shortly after reconfigure
wessels [Thu, 4 Oct 2007 22:43:54 +0000 (22:43 +0000)] 
Likely fix for helper-related SEGV shortly after reconfigure

I'm seeing occasional SEGVs in helperHandleRead() shortly after
a reconfigure.  I suspect that the helper structure was kept
around during the reconfigure because of a pending request.  If
it gets closed in helperHandleRead() after reading, then we must
return from the function rather than continue in the while loop.

17 years agoautomake 1.10 also works..
hno [Thu, 4 Oct 2007 07:58:37 +0000 (07:58 +0000)] 
automake 1.10 also works..

17 years agoBootstrapped
hno [Tue, 2 Oct 2007 06:10:43 +0000 (06:10 +0000)] 
Bootstrapped

17 years agoAuthor: Tsantilas Christos <chtsanti@users.sourceforge.net>
hno [Tue, 2 Oct 2007 04:48:34 +0000 (04:48 +0000)] 
Author: Tsantilas Christos <chtsanti@users.sourceforge.net>
More >2GB fixes. BodyPipe::unproducedSize() method should also return an uint64_t

17 years agopreparing for RC1 release SQUID_3_0_RC1
wessels [Mon, 1 Oct 2007 11:44:55 +0000 (11:44 +0000)] 
preparing for RC1 release

17 years agopreparing for RC1 release
wessels [Mon, 1 Oct 2007 11:39:52 +0000 (11:39 +0000)] 
preparing for RC1 release

Long summary

17 years agoPreparing for RC1 release
wessels [Mon, 1 Oct 2007 11:04:20 +0000 (11:04 +0000)] 
Preparing for RC1 release

17 years agoFix grammar in description of mail_program squid.conf option
amosjeffries [Sun, 30 Sep 2007 17:21:39 +0000 (17:21 +0000)] 
Fix grammar in description of mail_program squid.conf option

17 years agoCorrect bad example config for tos_outgoing_tos
amosjeffries [Sun, 30 Sep 2007 16:51:25 +0000 (16:51 +0000)] 
Correct bad example config for tos_outgoing_tos

Example configuration for this option had syntax values that would not be
accepted by squid when parsing these lines if used as given.

17 years agoFormatting.
amosjeffries [Fri, 28 Sep 2007 07:40:50 +0000 (07:40 +0000)] 
Formatting.

17 years agoAudited the code for possible >2GB issues
hno [Fri, 28 Sep 2007 06:22:37 +0000 (06:22 +0000)] 
Audited the code for possible >2GB issues

object sizes need to use int64_t, not ssize_t

17 years agoBoost redirector cache.log message to indicate <NULL> also received when
amosjeffries [Fri, 28 Sep 2007 05:58:06 +0000 (05:58 +0000)] 
Boost redirector cache.log message to indicate <NULL> also received when
redirector returns an empty URL as destination.
Was just when NULL pointer received.

17 years agoBug #2090: assertion failed: client_side_request.cc:912: "contentLength >= 0"
hno [Fri, 28 Sep 2007 04:42:08 +0000 (04:42 +0000)] 
Bug #2090: assertion failed: client_side_request.cc:912: "contentLength >= 0"

One more 2GB issue. ClientHttpRequest::gotEnough() stored content-length
into an int..

17 years agoDo not disable ICAP preview by default. Now, by default, the preview will be
rousskov [Thu, 27 Sep 2007 22:15:23 +0000 (22:15 +0000)] 
Do not disable ICAP preview by default. Now, by default, the preview will be
used for ICAP servers that request it. For a discussion, please see
http://www.squid-cache.org/mail-archive/squid-dev/200709/0066.html

Polished icap_preview_enable documentation.

17 years agoWarn users that multiple ICAP services per icap_class are not yet supported.
rousskov [Thu, 27 Sep 2007 21:31:15 +0000 (21:31 +0000)] 
Warn users that multiple ICAP services per icap_class are not yet supported.
Despite the warning, we still allow them in the configuration file, but that
may change. This warning may help to make the transition smoother.

17 years agoChanged icap_class documentation and examples to warn users that multiple
rousskov [Thu, 27 Sep 2007 21:28:42 +0000 (21:28 +0000)] 
Changed icap_class documentation and examples to warn users that multiple
ICAP services per icap_class are not yet supported.

17 years agoBug 2091 fix: Handle ftp URLs with HTTP request bodies.
rousskov [Thu, 27 Sep 2007 20:34:06 +0000 (20:34 +0000)] 
Bug 2091 fix: Handle ftp URLs with HTTP request bodies.

Moved registration to receive request body from http and ftp into Server.
Ftp code was not setting the request body source member before this merge.

17 years agoClan up ip acl mask assignment
hno [Wed, 26 Sep 2007 15:08:44 +0000 (15:08 +0000)] 
Clan up ip acl mask assignment

17 years agoRFC1035 minor cleanups. Some ptr NULL initialisation.
amosjeffries [Wed, 26 Sep 2007 09:03:22 +0000 (09:03 +0000)] 
RFC1035 minor cleanups. Some ptr NULL initialisation.

17 years agoSimplify merge-cf.data.pre.awk, not relying on command line variable assignments...
hno [Wed, 26 Sep 2007 04:26:02 +0000 (04:26 +0000)] 
Simplify merge-cf.data.pre.awk, not relying on command line variable assignments to find the conf files

17 years agoawk version of merge-cf.data.pre
hno [Wed, 26 Sep 2007 04:18:13 +0000 (04:18 +0000)] 
awk version of merge-cf.data.pre

17 years agoClean up comm memory on exit
hno [Tue, 25 Sep 2007 19:24:59 +0000 (19:24 +0000)] 
Clean up comm memory on exit

17 years agoClose CONNECT tunnels on abort
hno [Tue, 25 Sep 2007 19:23:13 +0000 (19:23 +0000)] 
Close CONNECT tunnels on abort

CONNECT tunnels could get stuck on abort

17 years agoBug #2089: Fails to warn about invalid netmasks
hno [Tue, 25 Sep 2007 03:59:42 +0000 (03:59 +0000)] 
Bug #2089: Fails to warn about invalid netmasks

This patch lines up the IP acl parsing with how Squid-2 behaves, making
it only use gethostbyname for hostnames, not ip/network/range specifications.

17 years agoBootstrapped
hno [Mon, 24 Sep 2007 06:10:44 +0000 (06:10 +0000)] 
Bootstrapped

17 years agouint8_t is not defined on Windows
serassio [Sun, 23 Sep 2007 21:21:29 +0000 (21:21 +0000)] 
uint8_t is not defined on Windows

17 years agoForward port of latest tproxy changes from SQUID 2:
serassio [Sun, 23 Sep 2007 15:18:08 +0000 (15:18 +0000)] 
Forward port of latest tproxy changes from SQUID 2:

- Automatically disable tproxy if the needed capabilities could not be set
- Keep the permitted set unless root privileges is completely dropped (chroot),
  as is normally done when not using capabilities. This fixes file permissions
  regarding the pid file.
- Test for sys/capability.h linux include file to avoid failing on systems missing libcap

17 years agoFix build error on systems where SASL include are available, but without link libraries.
serassio [Sat, 22 Sep 2007 23:40:04 +0000 (23:40 +0000)] 
Fix build error on systems where SASL include are available, but without link libraries.

On Sun Solaris 10 SASL include are available, but link libraries are missing.
This add a configure check for both include and lib files.

17 years agoAllow the build of digest_ldap_auth when ldap_start_tls_s() is not available
serassio [Sat, 22 Sep 2007 23:35:28 +0000 (23:35 +0000)] 
Allow the build of digest_ldap_auth when ldap_start_tls_s() is not available

17 years agoAdd support for Linux TCP_ACCEPT_DEFER accept_filter
hno [Fri, 21 Sep 2007 21:16:42 +0000 (21:16 +0000)] 
Add support for Linux TCP_ACCEPT_DEFER accept_filter

17 years agolib/rfc1035.c is still C, don't assume C99/C++ syntax
hno [Fri, 21 Sep 2007 21:16:12 +0000 (21:16 +0000)] 
lib/rfc1035.c is still C, don't assume C99/C++ syntax

17 years agoMisc Formatting & cleanups
amosjeffries [Fri, 21 Sep 2007 17:41:52 +0000 (17:41 +0000)] 
Misc Formatting & cleanups
Some comment corrections
Some irrelevant typedef cleanups