]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
19 years agoBug #1491: clientLifetime exceeded + external acl = assertion failure: !asyncInProgre...
serassio [Sun, 2 Apr 2006 17:58:38 +0000 (17:58 +0000)] 
Bug #1491: clientLifetime exceeded + external acl = assertion failure: !asyncInProgress() in ~ACLChecklist

This patch allow an ACLList destroy itself after check is complete.

If there is asyncInProgress() when the request is being destroyed, then let acl
checklist destroy it self once the check is done.

Patch provided by Gonzalo Arana.

19 years agoBug #1506: confusing statistics on stateful helpers (NTLM auth)
serassio [Sun, 2 Apr 2006 16:15:24 +0000 (16:15 +0000)] 
Bug #1506: confusing statistics on stateful helpers (NTLM auth)

Forward port of 2.5 changes with some arrangements.

19 years agoMore clarity in logfile_rotate description
serassio [Sun, 2 Apr 2006 15:21:21 +0000 (15:21 +0000)] 
More clarity in logfile_rotate description

19 years agoMakefile file should not be here
serassio [Sun, 2 Apr 2006 02:38:44 +0000 (02:38 +0000)] 
Makefile file should not be here

19 years agoAdded .cvsignore file
serassio [Sun, 2 Apr 2006 02:36:02 +0000 (02:36 +0000)] 
Added .cvsignore file

19 years agoOn many Linux distributions wbinfo is placed in /usr/bin
serassio [Sat, 1 Apr 2006 23:34:23 +0000 (23:34 +0000)] 
On many Linux distributions wbinfo is placed in /usr/bin

19 years agoBootstrapped
hno [Wed, 22 Mar 2006 09:14:36 +0000 (09:14 +0000)] 
Bootstrapped

19 years agoWas one more reference to the old broken autoconf macro
hno [Wed, 22 Mar 2006 09:12:39 +0000 (09:12 +0000)] 
Was one more reference to the old broken autoconf macro

19 years agoBootstrapped
hno [Wed, 22 Mar 2006 08:10:50 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoAutoconf updates & fixes by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
hno [Wed, 22 Mar 2006 06:15:19 +0000 (06:15 +0000)] 
Autoconf updates & fixes by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

triggered by a discussion why configure fails if bash is compiled with
xpg_echo enabled by default.

19 years agoBootstrapped
hno [Tue, 21 Mar 2006 06:39:10 +0000 (06:39 +0000)] 
Bootstrapped

19 years agoFinally a libdb autoconf test that has a chance of working..
hno [Tue, 21 Mar 2006 06:38:23 +0000 (06:38 +0000)] 
Finally a libdb autoconf test that has a chance of working..

19 years agoBootstrapped
hno [Tue, 21 Mar 2006 06:08:35 +0000 (06:08 +0000)] 
Bootstrapped

19 years agoSpelling correction
hno [Tue, 21 Mar 2006 06:07:48 +0000 (06:07 +0000)] 
Spelling correction

19 years agoBootstrapped
hno [Tue, 21 Mar 2006 06:04:23 +0000 (06:04 +0000)] 
Bootstrapped

19 years agoAutoconf test for -ldb
hno [Tue, 21 Mar 2006 06:03:16 +0000 (06:03 +0000)] 
Autoconf test for -ldb

19 years agoDisable squid_session by default for now until the proper autoconf magic
hno [Tue, 21 Mar 2006 05:56:13 +0000 (05:56 +0000)] 
Disable squid_session by default for now until the proper autoconf magic
is in place...

From Duane:

This doesn't compile on FreeBSD.  There is no libdb.  looks
like dbopen is in libc.

19 years agobootstrapped after Henrik added db.h and db_185.h to configure.in
wessels [Tue, 21 Mar 2006 03:04:45 +0000 (03:04 +0000)] 
bootstrapped after Henrik added db.h and db_185.h to configure.in

19 years agoautoconf tests to see if squid_session can be built automatically
hno [Mon, 20 Mar 2006 10:46:17 +0000 (10:46 +0000)] 
autoconf tests to see if squid_session can be built automatically

19 years agoconfigure probes to see if squid_session can be built automatically
hno [Mon, 20 Mar 2006 10:44:34 +0000 (10:44 +0000)] 
configure probes to see if squid_session can be built automatically

19 years agoBootstrapped
hno [Mon, 20 Mar 2006 10:24:00 +0000 (10:24 +0000)] 
Bootstrapped

19 years agoBootstrapped
hno [Mon, 20 Mar 2006 08:10:42 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoSession acl helper for trackig user sessions
hno [Sun, 19 Mar 2006 08:30:30 +0000 (08:30 +0000)] 
Session acl helper for trackig user sessions

19 years agoexternal acl helper for tracking user sessions
hno [Sun, 19 Mar 2006 08:11:44 +0000 (08:11 +0000)] 
external acl helper for tracking user sessions

19 years agoBootstrapped
hno [Sat, 11 Mar 2006 08:10:58 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoBug #1454: Azerbaijani errors translation
hno [Sat, 11 Mar 2006 05:50:13 +0000 (05:50 +0000)] 
Bug #1454: Azerbaijani errors translation

19 years agoBug #779: With 2.5 rel there is no more the DUPLICATE IP logging in cache.log
hno [Sat, 11 Mar 2006 05:40:24 +0000 (05:40 +0000)] 
Bug #779: With 2.5 rel there is no more the DUPLICATE IP logging in cache.log

19 years agoDist awk versions of the mk-xxx scripts
hno [Sat, 11 Mar 2006 05:39:39 +0000 (05:39 +0000)] 
Dist awk versions of the mk-xxx scripts

19 years agoFix a use after free error when writing the clean swap.state fails
hno [Wed, 8 Mar 2006 17:35:58 +0000 (17:35 +0000)] 
Fix a use after free error when writing the clean swap.state fails

19 years agoClarify on why writing swap.state in parallell is good
hno [Wed, 8 Mar 2006 17:34:04 +0000 (17:34 +0000)] 
Clarify on why writing swap.state in parallell is good

19 years agoHttpStateData::sendRequestEntityDone() does not need FD parameter
wessels [Wed, 8 Mar 2006 01:47:48 +0000 (01:47 +0000)] 
HttpStateData::sendRequestEntityDone() does not need FD parameter

19 years agoRemoving unused 'HttpStateData::SendRequestEntityDoneWrapper' method
wessels [Wed, 8 Mar 2006 01:44:12 +0000 (01:44 +0000)] 
Removing unused 'HttpStateData::SendRequestEntityDoneWrapper' method

19 years agoBootstrapped
hno [Tue, 7 Mar 2006 08:10:48 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoConverted ConnStateData->flags.readMoreRequests to type bool.
wessels [Sat, 4 Mar 2006 12:38:34 +0000 (12:38 +0000)] 
Converted ConnStateData->flags.readMoreRequests to type bool.

19 years agoA quick hack to get ICAP "request satisfaction" mode working. This is
wessels [Fri, 3 Mar 2006 05:47:07 +0000 (05:47 +0000)] 
A quick hack to get ICAP "request satisfaction" mode working.  This is
where the ICAP server recevies a REQMOD but returns an HTTP reply.

19 years agomoved httpMakePublic(), httpMakePrivate(), and httpCacheNegatively()
wessels [Fri, 3 Mar 2006 03:46:02 +0000 (03:46 +0000)] 
moved httpMakePublic(), httpMakePrivate(), and httpCacheNegatively()
from HttpStateData to StoreEntry class so that they can be used
outside of http.cc.

19 years agoBug #1478: add nowrap to cachemgr.cgi html tables
serassio [Wed, 1 Mar 2006 01:05:34 +0000 (01:05 +0000)] 
Bug #1478: add nowrap to cachemgr.cgi html tables

Patch from Gonzalo Arana

19 years agoBug #1447: Some clients support NTLM even if not initially negotiating persistent...
serassio [Sun, 26 Feb 2006 22:08:32 +0000 (22:08 +0000)] 
Bug #1447: Some clients support NTLM even if not initially negotiating persistent connections

Forward port of 2.5 patch.

19 years agoBug #1481: delay pools given too much bandwidht after "-k reconfigure"
serassio [Sun, 26 Feb 2006 21:34:27 +0000 (21:34 +0000)] 
Bug #1481: delay pools given too much bandwidht after "-k reconfigure"

Forward port of 2.5 patch.

19 years agoBug #1482: persistent_connection_after_error directive
serassio [Sun, 26 Feb 2006 20:43:05 +0000 (20:43 +0000)] 
Bug #1482: persistent_connection_after_error directive

a new persistent_connection_after_error directive enabling/disabling the
use of persistent connections after error. If set to off then it behaves
very close to Squid-2.4 even if you have persistent connections enabled

Forward of 2.5 patch.

19 years agoBug #1508: Error in FTP listings of files with -> in their name
serassio [Sun, 26 Feb 2006 18:27:16 +0000 (18:27 +0000)] 
Bug #1508: Error in FTP listings of files with -> in their name

Forward port of 2.5 patch.

19 years agoBug #1484: Hangs at 100% CPU if /dev/null is not accessible
serassio [Sun, 26 Feb 2006 17:56:29 +0000 (17:56 +0000)] 
Bug #1484: Hangs at 100% CPU if /dev/null is not accessible

If the permissions of /dev/null is set incorrectly Squid hangs at 100% CPU
while starting helpers.

Forward port of 2.5 patch.

19 years agoBug #1507 Harmless typo in ftp.c
serassio [Sun, 26 Feb 2006 17:39:32 +0000 (17:39 +0000)] 
Bug #1507 Harmless typo in ftp.c

Forward port of 2.5 patch.

19 years agoBootstrapped
hno [Fri, 24 Feb 2006 08:10:43 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoUse the better awk already found by configure
hno [Thu, 23 Feb 2006 22:31:48 +0000 (22:31 +0000)] 
Use the better awk already found by configure

19 years agoSwitch to using awk for the mk-xxx scripts as per squid-dev discussions and
hno [Thu, 23 Feb 2006 22:29:10 +0000 (22:29 +0000)] 
Switch to using awk for the mk-xxx scripts as per squid-dev discussions and
contribtions by Christopher Kerr

19 years agoimported FTP RFC
hno [Thu, 23 Feb 2006 21:21:19 +0000 (21:21 +0000)] 
imported FTP RFC

19 years agoAWK version of the build time mk-xxx scripts by Christopher Kerr.
hno [Wed, 22 Feb 2006 16:34:43 +0000 (16:34 +0000)] 
AWK version of the build time mk-xxx scripts by Christopher Kerr.

19 years agobacking out revision 1.715 getRaw() patch.
wessels [Wed, 22 Feb 2006 07:02:02 +0000 (07:02 +0000)] 
backing out revision 1.715 getRaw() patch.

19 years agoremove ugly getRaw()'s They are not necessary when comparing pointer
wessels [Wed, 22 Feb 2006 06:54:02 +0000 (06:54 +0000)] 
remove ugly getRaw()'s  They are not necessary when comparing pointer
values.

19 years agoremove ugly getRaw()'s from refcounted pointer class
wessels [Wed, 22 Feb 2006 06:52:08 +0000 (06:52 +0000)] 
remove ugly getRaw()'s from refcounted pointer class

19 years agoRework FtpStateData::transactionComplete() so that it normally gets called
wessels [Wed, 22 Feb 2006 05:42:24 +0000 (05:42 +0000)] 
Rework FtpStateData::transactionComplete() so that it normally gets called
*after* the control connection is closed, rather than before sending
the QUIT command.  This should avoid the race condition where the FTP
control socket is closed before we get any data back from the ICAP server.

19 years agoAdd proxy authentication to the list of allowed headers in paranoid anonymization
hno [Wed, 22 Feb 2006 05:23:20 +0000 (05:23 +0000)] 
Add proxy authentication to the list of allowed headers in paranoid anonymization

19 years agoFix HttpReply leak due to failure to unlock in this class
wessels [Tue, 21 Feb 2006 05:43:06 +0000 (05:43 +0000)] 
Fix HttpReply leak due to failure to unlock in this class

19 years agowhen logging the client request, al.reply might be NULL. If so, don't
wessels [Tue, 21 Feb 2006 01:58:17 +0000 (01:58 +0000)] 
when logging the client request, al.reply might be NULL.  If so, don't
link to it.

19 years agoFixed gcc 4.1 build problem
serassio [Mon, 20 Feb 2006 19:45:34 +0000 (19:45 +0000)] 
Fixed gcc 4.1 build problem

19 years agoBug #1485: logformat debugging messages
serassio [Sun, 19 Feb 2006 18:21:07 +0000 (18:21 +0000)] 
Bug #1485: logformat debugging messages

Patch provided by Gonzalo Arana.

19 years agoCleaned up HttpReply handling in client_side_reply code.
wessels [Sat, 18 Feb 2006 07:23:43 +0000 (07:23 +0000)] 
Cleaned up HttpReply handling in client_side_reply code.

ACLChecklist should lock/unlock the HttpReply.

clientReplyContext had a "holdingReply" member which I had a hard
time figuring out.  My guess is that it was just a way to avoid leaking
the HttpReply.  I've replaced it with a more permanent HttpReply
which is now locked and unlocked as necessary.

19 years agoI am changing debugging levels for these frequently-printed messages.
wessels [Sat, 18 Feb 2006 07:09:35 +0000 (07:09 +0000)] 
I am changing debugging levels for these frequently-printed messages.
They make full debugging virtually worthless because they overwhelm
the other messages.

For now 'squid -kdebug' changes debugging to 'ALL,7' instead of 'ALL,10'

19 years agoBug #1513 Some 206 responses logged incorrectly
wessels [Sat, 18 Feb 2006 07:04:30 +0000 (07:04 +0000)] 
Bug #1513 Some 206 responses logged incorrectly

Fortunately the AccessLog class already had the HttpReply. We just need
to use it and for good meaure, lock and unlock it.

19 years agoMoved some common code into the ClientHttpRequest constructor.
wessels [Sat, 18 Feb 2006 03:59:31 +0000 (03:59 +0000)] 
Moved some common code into the ClientHttpRequest constructor.

19 years agoReplaced the single-line wrapper function storeEntryReplaceObject
wessels [Sat, 18 Feb 2006 03:15:35 +0000 (03:15 +0000)] 
Replaced the single-line wrapper function storeEntryReplaceObject
with direct calls to StoreEntry->replaceHttpReply();

19 years agoRemoved static requestLink() and requestUnlink() methods. Replaced them
wessels [Sat, 18 Feb 2006 01:10:59 +0000 (01:10 +0000)] 
Removed static requestLink() and requestUnlink() methods.  Replaced them
with HTTPMSGLOCK() and HTTPMSGUNLOCK() macros.

19 years agoAn ICAP server is allowed to list multiple methods in an options
wessels [Fri, 17 Feb 2006 03:44:07 +0000 (03:44 +0000)] 
An ICAP server is allowed to list multiple methods in an options
response.  Previous code complained if there were multiple methods.

19 years agoWe should pass HttpStateData's orig_request to ICAP, rather than
wessels [Wed, 8 Feb 2006 07:16:23 +0000 (07:16 +0000)] 
We should pass HttpStateData's orig_request to ICAP, rather than
request, which will be different (and generate wrong URLs) if forwarding
to a parent cache.

19 years agoMake ftpWriteCommand a method of FtpStateData
wessels [Thu, 26 Jan 2006 07:22:18 +0000 (07:22 +0000)] 
Make ftpWriteCommand a method of FtpStateData

19 years agoThe 'ICAPClientRespmodPrecache' pointer in HttpStateData was moved to
wessels [Thu, 26 Jan 2006 06:59:46 +0000 (06:59 +0000)] 
The 'ICAPClientRespmodPrecache' pointer in HttpStateData was moved to
ServerStateData.

19 years agoServerStateData::doIcap needs to be protected with #ifdefs
wessels [Thu, 26 Jan 2006 02:26:14 +0000 (02:26 +0000)] 
ServerStateData::doIcap needs to be protected with #ifdefs

19 years agoThe purpose of this change is to add ICAP RESPMOD support for FTP responses.
wessels [Thu, 26 Jan 2006 00:47:26 +0000 (00:47 +0000)] 
The purpose of this change is to add ICAP RESPMOD support for FTP responses.

I created a "ServerStateData" class which has common elements of both
HttpStateData and FtpStateData.  It becomes a base class for both
of them.  ICAP now uses the ServerStateData methods.

19 years agobootstrapped after adding src/Server.{cc,h}
wessels [Thu, 26 Jan 2006 00:45:34 +0000 (00:45 +0000)] 
bootstrapped after adding src/Server.{cc,h}

19 years agoThe purpose of this change is to add ICAP RESPMOD support for FTP responses.
wessels [Thu, 26 Jan 2006 00:41:23 +0000 (00:41 +0000)] 
The purpose of this change is to add ICAP RESPMOD support for FTP responses.

I created a "ServerStateData" class which has common elements of both
HttpStateData and FtpStateData.  It becomes a base class for both
of them.  ICAP now uses the ServerStateData methods.

19 years agoCorrected port of patch for Bug #577. Issue found by Gonzalo Arana
hno [Wed, 25 Jan 2006 20:16:11 +0000 (20:16 +0000)] 
Corrected port of patch for Bug #577. Issue found by Gonzalo Arana

19 years agochange _ftp_flags from unsigned int:1 to bool.
wessels [Wed, 25 Jan 2006 00:40:11 +0000 (00:40 +0000)] 
change _ftp_flags from unsigned int:1 to bool.

19 years agoRemove whitespace in function args leftover from s///g;
wessels [Wed, 25 Jan 2006 00:38:12 +0000 (00:38 +0000)] 
Remove whitespace in function args leftover from s///g;

19 years agoUpdate MARA Systems sponsor text now that they no longer actively sponsor
hno [Tue, 24 Jan 2006 22:48:29 +0000 (22:48 +0000)] 
Update MARA Systems sponsor text now that they no longer actively sponsor
Squid.

19 years ago64-bit compatibility
hno [Tue, 24 Jan 2006 22:42:27 +0000 (22:42 +0000)] 
64-bit compatibility

19 years agoWorkaround for newer OpenLDAP libraries requiring LDAP_DEPRECATED in order
hno [Tue, 24 Jan 2006 22:41:21 +0000 (22:41 +0000)] 
Workaround for newer OpenLDAP libraries requiring LDAP_DEPRECATED in order
to allow access to the "good old standard" LDAP C-API functions..

19 years agoKill unused nreadfds/nwritefds statistics in comm_poll, eleminating one
hno [Tue, 24 Jan 2006 22:32:02 +0000 (22:32 +0000)] 
Kill unused nreadfds/nwritefds statistics in comm_poll, eleminating one
more reference to fd_set. The delay pool hooks still uses fd_set however
so comm_poll is not yet FD_SETSIZE neutral.

19 years agoMore C++ conversions for ftp.cc
wessels [Tue, 24 Jan 2006 13:35:54 +0000 (13:35 +0000)] 
More C++ conversions for ftp.cc

19 years agocleanup in constructor
wessels [Tue, 24 Jan 2006 12:58:42 +0000 (12:58 +0000)] 
cleanup in constructor

19 years agoFtpStateData constructor was all wrong
wessels [Tue, 24 Jan 2006 12:54:39 +0000 (12:54 +0000)] 
FtpStateData constructor was all wrong

19 years agoStarted converting ftp.cc to use more C++ class methods
wessels [Tue, 24 Jan 2006 12:46:02 +0000 (12:46 +0000)] 
Started converting ftp.cc to use more C++ class methods

19 years agoprotect from double inclusion with #ifndef directives
wessels [Tue, 24 Jan 2006 06:25:59 +0000 (06:25 +0000)] 
protect from double inclusion with #ifndef directives

19 years agoFixed ICAP memory leak. ICAPClientRespmodPrecache no longer has
wessels [Tue, 24 Jan 2006 05:47:56 +0000 (05:47 +0000)] 
Fixed ICAP memory leak.  ICAPClientRespmodPrecache no longer has
to "give up control" of the HttpReply since it is now lock-counted.

19 years agoFix lock-counting bug caused by mixing references with this lock counting
wessels [Tue, 24 Jan 2006 04:36:07 +0000 (04:36 +0000)] 
Fix lock-counting bug caused by mixing references with this lock counting
technique.

Also added locks for HttpReply in ICAPAccessCheck::ICAPAccessCheck()

19 years agoMoved HttpRequest lock/link counter to the base HttpMsg class. This
wessels [Tue, 24 Jan 2006 03:04:24 +0000 (03:04 +0000)] 
Moved HttpRequest lock/link counter to the base HttpMsg class.  This
makes it easy to also lock-count HttpReply instances.

Removed HttpReply::swapOut(), which was a trivial wrapper around
StoreEntry::storeEntryReplaceObject().  Just call storeEntryReplaceObject()
instead.

Removed HttpReply::absorb() which was a hack to deal with the fact that
HttpReply's were not lock-counted.

19 years agoBug #1479: wrong timezone declaration for 64 bit Irix
serassio [Mon, 23 Jan 2006 00:12:52 +0000 (00:12 +0000)] 
Bug #1479: wrong timezone declaration for 64 bit Irix
The declaration of timezone is different between 32 and 64 bit Irix

19 years agoAddedd .cvsignore
serassio [Sun, 22 Jan 2006 23:13:49 +0000 (23:13 +0000)] 
Addedd .cvsignore

19 years agoA static definition of w_space here is no more needed
serassio [Sun, 22 Jan 2006 23:10:00 +0000 (23:10 +0000)] 
A static definition of w_space here is no more needed

19 years agoMy recent ClientBody changes introduced a memory leak. This is awkward
wessels [Fri, 20 Jan 2006 05:15:18 +0000 (05:15 +0000)] 
My recent ClientBody changes introduced a memory leak.  This is awkward
because ConnStateData and ClientBody have references to each other.
ClientBody has a RefCount::Pointer to ConnStateData, which must be NULLed
so the ConnStateData destructor will be called.

19 years agofix for new HttpRequest
wessels [Fri, 20 Jan 2006 05:10:55 +0000 (05:10 +0000)] 
fix for new HttpRequest

19 years agoRename previsouly private HttpRequest:initXX() to initHTTP() and use
wessels [Fri, 20 Jan 2006 01:50:36 +0000 (01:50 +0000)] 
Rename previsouly private HttpRequest:initXX() to initHTTP() and use
it in urlParse().

19 years agoMaking HttpRequest more class-like. Removed some non-class functions such
wessels [Fri, 20 Jan 2006 01:40:28 +0000 (01:40 +0000)] 
Making HttpRequest more class-like.  Removed some non-class functions such
as requestCreate() and requestDestroy() and fixed up the clean/reset mess.

19 years agoTypo in #ifndef #define pair
wessels [Sat, 14 Jan 2006 12:22:49 +0000 (12:22 +0000)] 
Typo in #ifndef #define pair

19 years agoBootstrapped
hno [Sat, 14 Jan 2006 08:10:41 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoBootstrapped after adding src/ClientBody.{h,cc}
wessels [Sat, 14 Jan 2006 07:08:12 +0000 (07:08 +0000)] 
Bootstrapped after adding src/ClientBody.{h,cc}

19 years agoConnStateData and ClientBody was a little confusing. There was some duplication
wessels [Sat, 14 Jan 2006 07:06:19 +0000 (07:06 +0000)] 
ConnStateData and ClientBody was a little confusing.  There was some duplication
with ClientBody members also appearing in ConnStateData.body.   They have been
merged now and ClientBody lives in its own .{cc,h} files.

19 years agoDon't allow ICAP connection reuse if there is a timeout on the socket
wessels [Fri, 13 Jan 2006 01:56:11 +0000 (01:56 +0000)] 
Don't allow ICAP connection reuse if there is a timeout on the socket

19 years agoManagement of {adapated,virgin}->data->header was becoming a problem.
wessels [Thu, 12 Jan 2006 05:40:39 +0000 (05:40 +0000)] 
Management of {adapated,virgin}->data->header was becoming a problem.
One side might delete the header before the other side was done with it.
This patch moves deletion of ->data->header to MsgPipeData class so that
it goes away only when the MsgPipe goes away.

19 years agoincorrectly committed new debugging with wrong levels
wessels [Thu, 12 Jan 2006 05:24:40 +0000 (05:24 +0000)] 
incorrectly committed new debugging with wrong levels