]>
 
 
git.ipfire.org Git - thirdparty/squid.git/log 
 
 
 
 
 
 
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 
 
wessels  [Thu, 12 Jan 2006 04:14:33 +0000  (04:14  +0000)]  
 
C++ typo: extraneous `int' ignored 
 
wessels  [Thu, 12 Jan 2006 04:10:56 +0000  (04:10  +0000)]  
 
Minor debugging changes to StoreEntry constructor/destructor 
 
wessels  [Thu, 12 Jan 2006 04:05:50 +0000  (04:05  +0000)]  
 
Fixed a couple of bugs with ClientHttpRequest::doCallouts() 
 
- The "no_cache" rule check was never happening because flags.cachable 
  was always 0 at that point.  clientInterpretRequestHeaders() must 
  be called before doing the "no_cache" checks. 
 
- ClientRequestContext::checkNoCache had an extra cbdataReference() call 
  which caused a cbdata leak. 
 
- Converted the *_done flags to bool (instead of single-bit ints). 
 
wessels  [Thu, 12 Jan 2006 03:59:58 +0000  (03:59  +0000)]  
 
Changed debugging locations for MemObject constructor and destructor 
so they print at the start of the function. 
 
In the destructor there is no need to check that _reply is set because 
nobody else deletes it. 
 
wessels  [Wed, 11 Jan 2006 00:22:06 +0000  (00:22  +0000)]  
 
ICAPClientRespmodPrecache::noteSourceStart() should know whether 
or not to expect an HTTP body and call the appropriate next note 
function. 
 
wessels  [Wed, 11 Jan 2006 00:20:22 +0000  (00:20  +0000)]  
 
Mark requireOpenAndActive() as a static function 
 
wessels  [Tue, 10 Jan 2006 05:08:50 +0000  (05:08  +0000)]  
 
Bugzilla #1463 
 
IdentLookup::checkForAsync() should only set asyncInProgress(true) 
when actually doing the non-blocking ident lookup. 
 
wessels  [Tue, 10 Jan 2006 03:47:50 +0000  (03:47  +0000)]  
 
Commiting various debugging statements that have been useful in following 
the flow of an ICAP transaction. 
 
wessels  [Tue, 10 Jan 2006 03:44:36 +0000  (03:44  +0000)]  
 
A comment about this place where we link request to a mem_obj 
 
wessels  [Tue, 10 Jan 2006 03:42:35 +0000  (03:42  +0000)]  
 
The HttpStateData::abortAdapting() method should always free up 
the HttpStateData, not just when entry is empty. 
 
wessels  [Tue, 10 Jan 2006 03:38:44 +0000  (03:38  +0000)]  
 
Added some timeout debugging for ICAP transactions.  Since ICAPXaction 
doesn't know anything about its derived classes, also added a 
HttpMsg::firstLineBuf() method to be used in the debugging of timeouts. 
 
wessels  [Tue, 10 Jan 2006 03:22:31 +0000  (03:22  +0000)]  
 
This patch adds sorting to cachemgr:mem output to make it easier to find 
classes/objects that leak memory. 
 
wessels  [Tue, 10 Jan 2006 03:17:45 +0000  (03:17  +0000)]  
 
using requestLink on adapted->data->header fixes an HttpRequest memory 
leak with malformed ICAP/HTTP responses. 
 
wessels  [Tue, 10 Jan 2006 02:59:37 +0000  (02:59  +0000)]  
 
HttpRequest::reset() should preserve link_count 
 
serassio  [Tue, 10 Jan 2006 01:06:03 +0000  (01:06  +0000)]  
 
Bootstrapped 
 
serassio  [Tue, 10 Jan 2006 01:02:12 +0000  (01:02  +0000)]  
 
New file forward.h is missing from make dist 
 
wessels  [Thu, 5 Jan 2006 03:29:15 +0000  (03:29  +0000)]  
 
Forgot to commit http.h after changing HttpStateData constructor 
 
wessels  [Thu, 5 Jan 2006 01:00:18 +0000  (01:00  +0000)]  
 
convert an old-style cast to a C++ static cast 
 
wessels  [Thu, 5 Jan 2006 00:54:22 +0000  (00:54  +0000)]  
 
Moved most of httpStart() into the HttpStateData constructor. 
 
wessels  [Thu, 5 Jan 2006 00:19:41 +0000  (00:19  +0000)]  
 
Fix HTCP after moving httpBuildRequestHeader() to HttpStateData class. 
 
wessels  [Wed, 4 Jan 2006 06:27:34 +0000  (06:27 +0000)]  
 
Oops, forgot to commit changes to this file along with http.cc 
 
wessels  [Wed, 4 Jan 2006 06:26:20 +0000  (06:26 +0000)]  
 
Converting more http.cc functions to class methods 
 
wessels  [Wed, 4 Jan 2006 06:11:54 +0000  (06:11 +0000)]  
 
Converted some functions here to static wrappers plus class methods. 
 
Fixed an ICAP bug when reading an HTTP message body and the adapted 
response does not need a body. 
 
wessels  [Wed, 4 Jan 2006 04:54:46 +0000  (04:54  +0000)]  
 
ICAP fix: don't call fwd->complete() in HttpStateData::abortAdapting(). 
Let the forwarding module decide what to do when its destructor gets 
called. 
 
wessels  [Wed, 4 Jan 2006 04:47:59 +0000  (04:47  +0000)]  
 
Change 'fd=%d' to 'FD %d' in debugging statments to be consistent with 
the rest of Squid code. 
 
wessels  [Wed, 4 Jan 2006 04:13:27 +0000  (04:13  +0000)]  
 
Bugs from recent FwdState change with --enable-icmp 
 
wessels  [Wed, 4 Jan 2006 04:09:00 +0000  (04:09  +0000)]  
 
Bugs from recent FwdState change with --enable-cache-digests 
 
wessels  [Wed, 4 Jan 2006 01:54:32 +0000  (01:54  +0000)]  
 
Bug in FwdState destructor.  Go back to using a temporary FD value 
when closing server_fd. 
 
wessels  [Wed, 4 Jan 2006 00:27:21 +0000  (00:27  +0000)]  
 
Added forward.h when converting FwdState to a C++ class 
 
wessels  [Wed, 4 Jan 2006 00:22:30 +0000  (00:22  +0000)]  
 
Converted FwdState to a C++ class to take advantage of features 
such as refcounting. 
 
hno  [Tue, 3 Jan 2006 08:10:49 +0000  (08:10 +0000)]  
 
Bootstrapped 
 
hno  [Sat, 31 Dec 2005 08:10:41 +0000  (08:10 +0000)]  
 
Bootstrapped 
 
hno  [Sat, 31 Dec 2005 06:21:46 +0000  (06:21 +0000)]  
 
Get rid of LDAP libaray references. Not needed or wanted here.. 
 
hno  [Fri, 30 Dec 2005 09:26:32 +0000  (09:26 +0000)]  
 
Properly fix snapshot diff 
 
hno  [Fri, 30 Dec 2005 09:21:19 +0000  (09:21 +0000)]  
 
Fix cleanup of old snapshots again. Got broken some months ago.. 
 
hno  [Fri, 30 Dec 2005 09:02:25 +0000  (09:02 +0000)]  
 
Fix diff generation 
 
hno  [Fri, 30 Dec 2005 02:38:16 +0000  (02:38  +0000)]  
 
imported current mksnapshot script from 2.5 
 
wessels  [Fri, 30 Dec 2005 01:05:20 +0000  (01:05  +0000)]  
 
Simple debugging message addition and change 
 
wessels  [Fri, 30 Dec 2005 01:04:41 +0000  (01:04  +0000)]  
 
Found and fixed a case where HttpMsg::parse() returned false but 
forgot to set the error parameter. 
 
hno  [Thu, 29 Dec 2005 10:16:33 +0000  (10:16 +0000)]  
 
Fix digest helper split 
 
hno  [Thu, 29 Dec 2005 10:16:03 +0000  (10:16 +0000)]  
 
Radius Digest authentication extension draft 
 
hno  [Thu, 29 Dec 2005 09:49:00 +0000  (09:49 +0000)]  
 
Bootstrapped 
 
hno  [Thu, 29 Dec 2005 09:48:23 +0000  (09:48 +0000)]  
 
Fix external acl helper selection again 
 
hno  [Thu, 29 Dec 2005 09:45:57 +0000  (09:45 +0000)]  
 
silence automake warning about underquoted macor