]>
git.ipfire.org Git - thirdparty/squid.git/log
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.
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.
serassio [Sun, 2 Apr 2006 15:21:21 +0000 (15:21 +0000)]
More clarity in logfile_rotate description
serassio [Sun, 2 Apr 2006 02:38:44 +0000 (02:38 +0000)]
Makefile file should not be here
serassio [Sun, 2 Apr 2006 02:36:02 +0000 (02:36 +0000)]
Added .cvsignore file
serassio [Sat, 1 Apr 2006 23:34:23 +0000 (23:34 +0000)]
On many Linux distributions wbinfo is placed in /usr/bin
hno [Wed, 22 Mar 2006 09:14:36 +0000 (09:14 +0000)]
Bootstrapped
hno [Wed, 22 Mar 2006 09:12:39 +0000 (09:12 +0000)]
Was one more reference to the old broken autoconf macro
hno [Wed, 22 Mar 2006 08:10:50 +0000 (08:10 +0000)]
Bootstrapped
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.
hno [Tue, 21 Mar 2006 06:39:10 +0000 (06:39 +0000)]
Bootstrapped
hno [Tue, 21 Mar 2006 06:38:23 +0000 (06:38 +0000)]
Finally a libdb autoconf test that has a chance of working..
hno [Tue, 21 Mar 2006 06:08:35 +0000 (06:08 +0000)]
Bootstrapped
hno [Tue, 21 Mar 2006 06:07:48 +0000 (06:07 +0000)]
Spelling correction
hno [Tue, 21 Mar 2006 06:04:23 +0000 (06:04 +0000)]
Bootstrapped
hno [Tue, 21 Mar 2006 06:03:16 +0000 (06:03 +0000)]
Autoconf test for -ldb
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.
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
hno [Mon, 20 Mar 2006 10:46:17 +0000 (10:46 +0000)]
autoconf tests 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
hno [Mon, 20 Mar 2006 10:24:00 +0000 (10:24 +0000)]
Bootstrapped
hno [Mon, 20 Mar 2006 08:10:42 +0000 (08:10 +0000)]
Bootstrapped
hno [Sun, 19 Mar 2006 08:30:30 +0000 (08:30 +0000)]
Session acl helper for trackig user sessions
hno [Sun, 19 Mar 2006 08:11:44 +0000 (08:11 +0000)]
external acl helper for tracking user sessions
hno [Sat, 11 Mar 2006 08:10:58 +0000 (08:10 +0000)]
Bootstrapped
hno [Sat, 11 Mar 2006 05:50:13 +0000 (05:50 +0000)]
Bug #1454: Azerbaijani errors translation
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
hno [Sat, 11 Mar 2006 05:39:39 +0000 (05:39 +0000)]
Dist awk versions of the mk-xxx scripts
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
hno [Wed, 8 Mar 2006 17:34:04 +0000 (17:34 +0000)]
Clarify on why writing swap.state in parallell is good
wessels [Wed, 8 Mar 2006 01:47:48 +0000 (01:47 +0000)]
HttpStateData::sendRequestEntityDone() does not need FD parameter
wessels [Wed, 8 Mar 2006 01:44:12 +0000 (01:44 +0000)]
Removing unused 'HttpStateData::SendRequestEntityDoneWrapper' method
hno [Tue, 7 Mar 2006 08:10:48 +0000 (08:10 +0000)]
Bootstrapped
wessels [Sat, 4 Mar 2006 12:38:34 +0000 (12:38 +0000)]
Converted ConnStateData->flags.readMoreRequests to type bool.
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.
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.
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
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.
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.
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.
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.
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.
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.
hno [Fri, 24 Feb 2006 08:10:43 +0000 (08:10 +0000)]
Bootstrapped
hno [Thu, 23 Feb 2006 22:31:48 +0000 (22:31 +0000)]
Use the better awk already found by configure
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
hno [Thu, 23 Feb 2006 21:21:19 +0000 (21:21 +0000)]
imported FTP RFC
hno [Wed, 22 Feb 2006 16:34:43 +0000 (16:34 +0000)]
AWK version of the build time mk-xxx scripts by Christopher Kerr.
wessels [Wed, 22 Feb 2006 07:02:02 +0000 (07:02 +0000)]
backing out revision 1.715 getRaw() patch.
wessels [Wed, 22 Feb 2006 06:54:02 +0000 (06:54 +0000)]
remove ugly getRaw()'s They are not necessary when comparing pointer
values.
wessels [Wed, 22 Feb 2006 06:52:08 +0000 (06:52 +0000)]
remove ugly getRaw()'s from refcounted pointer class
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.
hno [Wed, 22 Feb 2006 05:23:20 +0000 (05:23 +0000)]
Add proxy authentication to the list of allowed headers in paranoid anonymization
wessels [Tue, 21 Feb 2006 05:43:06 +0000 (05:43 +0000)]
Fix HttpReply leak due to failure to unlock in this class
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.
serassio [Mon, 20 Feb 2006 19:45:34 +0000 (19:45 +0000)]
Fixed gcc 4.1 build problem
serassio [Sun, 19 Feb 2006 18:21:07 +0000 (18:21 +0000)]
Bug #1485: logformat debugging messages
Patch provided by Gonzalo Arana.
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.
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'
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.
wessels [Sat, 18 Feb 2006 03:59:31 +0000 (03:59 +0000)]
Moved some common code into the ClientHttpRequest constructor.
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();
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.
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.
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.
wessels [Thu, 26 Jan 2006 07:22:18 +0000 (07:22 +0000)]
Make ftpWriteCommand a method of FtpStateData
wessels [Thu, 26 Jan 2006 06:59:46 +0000 (06:59 +0000)]
The 'ICAPClientRespmodPrecache' pointer in HttpStateData was moved to
ServerStateData.
wessels [Thu, 26 Jan 2006 02:26:14 +0000 (02:26 +0000)]
ServerStateData::doIcap needs to be protected with #ifdefs
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.
wessels [Thu, 26 Jan 2006 00:45:34 +0000 (00:45 +0000)]
bootstrapped after adding src/Server.{cc,h}
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.
hno [Wed, 25 Jan 2006 20:16:11 +0000 (20:16 +0000)]
Corrected port of patch for Bug #577. Issue found by Gonzalo Arana
wessels [Wed, 25 Jan 2006 00:40:11 +0000 (00:40 +0000)]
change _ftp_flags from unsigned int:1 to bool.
wessels [Wed, 25 Jan 2006 00:38:12 +0000 (00:38 +0000)]
Remove whitespace in function args leftover from s///g;
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.
hno [Tue, 24 Jan 2006 22:42:27 +0000 (22:42 +0000)]
64-bit compatibility
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..
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.
wessels [Tue, 24 Jan 2006 13:35:54 +0000 (13:35 +0000)]
More C++ conversions for ftp.cc
wessels [Tue, 24 Jan 2006 12:58:42 +0000 (12:58 +0000)]
cleanup in constructor
wessels [Tue, 24 Jan 2006 12:54:39 +0000 (12:54 +0000)]
FtpStateData constructor was all wrong
wessels [Tue, 24 Jan 2006 12:46:02 +0000 (12:46 +0000)]
Started converting ftp.cc to use more C++ class methods
wessels [Tue, 24 Jan 2006 06:25:59 +0000 (06:25 +0000)]
protect from double inclusion with #ifndef directives
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.
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()
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.
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
serassio [Sun, 22 Jan 2006 23:13:49 +0000 (23:13 +0000)]
Addedd .cvsignore
serassio [Sun, 22 Jan 2006 23:10:00 +0000 (23:10 +0000)]
A static definition of w_space here is no more needed
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.
wessels [Fri, 20 Jan 2006 05:10:55 +0000 (05:10 +0000)]
fix for new HttpRequest
wessels [Fri, 20 Jan 2006 01:50:36 +0000 (01:50 +0000)]
Rename previsouly private HttpRequest:initXX() to initHTTP() and use
it in urlParse().
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.
wessels [Sat, 14 Jan 2006 12:22:49 +0000 (12:22 +0000)]
Typo in #ifndef #define pair
hno [Sat, 14 Jan 2006 08:10:41 +0000 (08:10 +0000)]
Bootstrapped
wessels [Sat, 14 Jan 2006 07:08:12 +0000 (07:08 +0000)]
Bootstrapped after adding src/ClientBody.{h,cc}
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.
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
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.
wessels [Thu, 12 Jan 2006 05:24:40 +0000 (05:24 +0000)]
incorrectly committed new debugging with wrong levels