]>
git.ipfire.org Git - thirdparty/squid.git/log
robertc [Sat, 22 Apr 2006 08:25:03 +0000 (08:25 +0000)]
Unbreak make dist by supplying ac_create_prefix_config_h.m4 as the cppunit sources have.
hno [Sat, 22 Apr 2006 07:53:52 +0000 (07:53 +0000)]
Reset refresh_nocache_hack when resetting the config
wessels [Fri, 21 Apr 2006 23:31:49 +0000 (23:31 +0000)]
These pointers should be initialized. Not all compilers initialize them
to NULLs automatically.
robertc [Fri, 21 Apr 2006 19:57:41 +0000 (19:57 +0000)]
Remove some unused header symbols.
robertc [Tue, 18 Apr 2006 18:46:10 +0000 (18:46 +0000)]
Unbreak unit tests - add stubs for newly intertwined files.
robertc [Tue, 18 Apr 2006 18:34:22 +0000 (18:34 +0000)]
Minor code format tweak.
robertc [Tue, 18 Apr 2006 18:28:40 +0000 (18:28 +0000)]
Some GCC combinations complain about functions not returning a value in functions that return from switch statements.
robertc [Tue, 18 Apr 2006 18:25:50 +0000 (18:25 +0000)]
Change HttpMsg::httpMsgParseError into a virtual function, and then overload that in HttpReply rather than HttpMsg knowing about HttpReply.
hno [Tue, 18 Apr 2006 06:10:54 +0000 (06:10 +0000)]
Bootstrapped
robertc [Mon, 17 Apr 2006 18:00:35 +0000 (18:00 +0000)]
Add foreign to Makefile.am so autoreconf will work.
hno [Mon, 10 Apr 2006 14:44:52 +0000 (14:44 +0000)]
removed obsolete ldap files. These was moved to the ldap helper directory
serassio [Sun, 9 Apr 2006 18:21:52 +0000 (18:21 +0000)]
Bug #1459: 504 Gateway Time-out on FTP uploads
Forward port of 2.5 patch.
serassio [Sun, 2 Apr 2006 21:00:54 +0000 (21:00 +0000)]
Bug# 1486: http_status causes segfault on https
ACLHTTPStatus should have:
virtual bool requiresReply() const { return true; }
Patch by Gonzalo Arana.
serassio [Sun, 2 Apr 2006 20:32:35 +0000 (20:32 +0000)]
Bug #1504: misleading error message message for bad/unresolveable cache_peer name
Forward port of 2.5 changes.
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.