]>
git.ipfire.org Git - thirdparty/squid.git/log
hno [Wed, 28 Dec 2005 08:10:49 +0000 (08:10 +0000)]
Bootstrapped
hno [Tue, 27 Dec 2005 08:10:45 +0000 (08:10 +0000)]
Bootstrapped
serassio [Mon, 26 Dec 2005 18:35:22 +0000 (18:35 +0000)]
Cannot build using gcc 4.1 with the error:
warning: dereferencing type-punned pointer will break strict-aliasing rules
This patch should fix the offending type casts.
serassio [Mon, 26 Dec 2005 18:18:25 +0000 (18:18 +0000)]
Added '-d' command line debugging option
serassio [Mon, 26 Dec 2005 17:51:19 +0000 (17:51 +0000)]
Bootstrapped
serassio [Mon, 26 Dec 2005 17:47:48 +0000 (17:47 +0000)]
Optimized src/Makefile.am
serassio [Mon, 26 Dec 2005 17:16:04 +0000 (17:16 +0000)]
Allow "make check" with --enable-delay-pools configure option
serassio [Sat, 24 Dec 2005 18:23:41 +0000 (18:23 +0000)]
Updated .cvsignore files
serassio [Sat, 24 Dec 2005 17:53:06 +0000 (17:53 +0000)]
Bug #1472: wbinfo_group.pl doesn't work with Samba 3.0.21
wbinfo -n output was changed in Samba 3.0.21, adding a SID description
after the SID value:
giove:~# wbinfo -n Staff
S-1-5-21-
682003330 -
854245398 -
1708537768 -1123 Domain Group (2)
So a little change in the wbinfo_group.pl parsing is needed.
wessels [Sat, 24 Dec 2005 00:36:19 +0000 (00:36 +0000)]
error: extra qualification 'ICAPOptions::' on member 'parseExtFileList
wessels [Fri, 23 Dec 2005 06:52:28 +0000 (06:52 +0000)]
error: extra qualification 'ICAPConfig::' on member 'findClass'
wessels [Fri, 23 Dec 2005 06:40:26 +0000 (06:40 +0000)]
Reuben Farrelly and GCC 4.1 say:
error: extra qualification 'ICAPXaction::' on member 'reusedConnection
wessels [Fri, 23 Dec 2005 06:09:09 +0000 (06:09 +0000)]
Make Squid more robust in the event of unexpected ICAP server responses,
in particular RESPMOD responses that don't have a res-hdr section,
or a res-body.
wessels [Fri, 23 Dec 2005 05:26:31 +0000 (05:26 +0000)]
Squid incorporates software by other *sources*, not other *sinks*.
wessels [Fri, 23 Dec 2005 04:29:22 +0000 (04:29 +0000)]
RFC 3507 says that there should be a space after comma in
the Encapsulated list.
wessels [Wed, 21 Dec 2005 06:22:29 +0000 (06:22 +0000)]
Fixed an ICAP bug: Need to handle the case when a REQMOD reply
doesn't have any new HTTP headers.
wessels [Tue, 20 Dec 2005 12:23:59 +0000 (12:23 +0000)]
The check for "connection: close" in the ICAP header
belongs in parseIcapHead() rather than parseHead().
wessels [Tue, 20 Dec 2005 12:15:10 +0000 (12:15 +0000)]
Initialize the members of HttpRequest in the constructor so that
we don't get errors on free() when the clean() method is called.
wessels [Tue, 20 Dec 2005 06:06:54 +0000 (06:06 +0000)]
inserting HERE into some debugs()
wessels [Tue, 20 Dec 2005 05:00:47 +0000 (05:00 +0000)]
Added "HERE" macro for use in debugs() and use it in a few ICAP
debugging messages.
wessels [Tue, 20 Dec 2005 04:44:26 +0000 (04:44 +0000)]
Look for "Connection: close" in OPTIONS response too.
serassio [Sun, 18 Dec 2005 17:07:49 +0000 (17:07 +0000)]
Fixed warning when using gcc 4.x
serassio [Sun, 18 Dec 2005 16:57:59 +0000 (16:57 +0000)]
visible_appname_string must be initialized during FS tests.
serassio [Sun, 18 Dec 2005 16:23:39 +0000 (16:23 +0000)]
Updated "make check" support:
- Added Negotiate schema support
- Allow 'make check' with --enable-ssl
- Updated new HttpReply class usage
hno [Fri, 16 Dec 2005 08:10:45 +0000 (08:10 +0000)]
Bootstrapped
hno [Fri, 16 Dec 2005 05:25:24 +0000 (05:25 +0000)]
Need to dist pconn.h
wessels [Wed, 14 Dec 2005 06:37:39 +0000 (06:37 +0000)]
Just a little cleanup of an ICAP_CLIENT ifdef
wessels [Wed, 14 Dec 2005 05:17:02 +0000 (05:17 +0000)]
Added a default ICAP Options-TTL setting.
wessels [Wed, 14 Dec 2005 05:11:07 +0000 (05:11 +0000)]
Don't print a Warning about OPTIONS reply method mismatch if the
OPTIONS reply doesn't have a Methods header.
wessels [Wed, 14 Dec 2005 04:41:57 +0000 (04:41 +0000)]
Finished support for parsing ICAP OPTIONS Transfer-* headers.
Squid does not yet use the Transfer-* extensions to make ICAP forwarding
decisions.
wessels [Wed, 14 Dec 2005 01:38:05 +0000 (01:38 +0000)]
Report ICAP server clock skew based on the Date header in OPTIONS response.
To make this work I added timestamp() and ttl() methods to ICAPOptions
and renamed the private members.
wessels [Wed, 14 Dec 2005 00:32:34 +0000 (00:32 +0000)]
Support for Method header in ICAP OPTIONS respose.
Currently the 'icap_service' directive in squid.conf specifies both the
URI and method. The ICAP server also returns the method in the OPTIONS
response. This could create a conflict if the user specifies the wrong
method for a service.
For now we trust the squid.conf value and issue a warning if the OPTIONS
response reports a different method.
wessels [Tue, 13 Dec 2005 07:01:02 +0000 (07:01 +0000)]
I get compile errors on many tests because Squid defines its own assert()
macro. I find that it works better (ie compiles on FreeBSD) when
squid.h is the first include. Then the compiler won't define its own
assert macro if Squid gets there first.
wessels [Tue, 13 Dec 2005 01:28:12 +0000 (01:28 +0000)]
Changed Mem::Init() debug message "Memory pools are ..." to level 3 since
it is really annoying to have it show up on stderr in cron jobs etc.
wessels [Tue, 13 Dec 2005 00:51:23 +0000 (00:51 +0000)]
Memory leak when using ident_lookup_access. The temporary ident
hash table key was not freed.
serassio [Sun, 11 Dec 2005 17:00:47 +0000 (17:00 +0000)]
Bug #1022: bad credentials fetch (no user)
This problem is triggered only when using the --enable-ntlm-fail-open
configure option.
wessels [Fri, 9 Dec 2005 23:03:23 +0000 (23:03 +0000)]
During debugging I lowered the cbadata lock_count assertion threshold
so that it would trigger faster. The change should have never been
committed.
wessels [Fri, 9 Dec 2005 08:02:24 +0000 (08:02 +0000)]
Compile-time bug introduced in recent changes related to
ACLCheckList::fastCheck(). The declaration for checklist was moved
to an inner block, but it was still used outside.
wessels [Fri, 9 Dec 2005 03:08:46 +0000 (03:08 +0000)]
Fixed a bug and some confusion with ACLChecklist::fastCheck()
- Added cbdataReferenceDone(accessList) call to fastCheck() in the
"if finished()" block.
- peerAllowedToUse() was setting accessList = NULL after calling
fastCheck(). Since neither fastCheck() nor peerAllowedToUse()
were calling cbdataReferenceDone(), the cbdata lock_count would
never decrease and eventually hit an assertion.
- In general, the fastCheck() callers do not need to call
cbdataReferenceDone, nor set accessList to NULL. The
cbdataReferenceDone() call should always happen in fastCheck().
If not, it will happen in the ACLCheckList destructor.
- It might be even better if fastCheck() called cbdataReference()
as well, to avoid this situation where locking happens in one
place and unlocking in another. This is future work, however.
wessels [Fri, 9 Dec 2005 01:33:55 +0000 (01:33 +0000)]
removed extra ;
wessels [Wed, 7 Dec 2005 06:03:34 +0000 (06:03 +0000)]
Turned pconn.cc into C++ classes. There are now separate persistent
connection pools for client-side, server-side, and now ICAP.
Accounting for persistent connection use still sucks because HTTP
(http.c) and ICAP state structures don't have any way to keep track
of how many times a given TCP connection was used. So we'll keep
abusing fd_entry[] for this purpose.
wessels [Tue, 6 Dec 2005 07:01:23 +0000 (07:01 +0000)]
Bugzilla #1457
My changes to the way that the client-side performed http_access,
redirector, and no_cache checks introduced a serious bug. Using
any proxy authentication would crash Squid.
One problem was that clientAccessCheckDone() should have returned
after generating the error page. Instead it tried to keep going,
as though access were allowed.
The other problem was due to a recently added assertion, which was
incorrect. Instead of asserting, the ClientRequestContext destructor
now releases its lock on the parent ClientHttpRequest if necessary.
wessels [Sun, 4 Dec 2005 01:00:28 +0000 (01:00 +0000)]
Forgot to check the value of 'icap_enable' (TheICAPConfig.onoff)
when ICAP code was compiled in, but should not be called.
serassio [Sat, 3 Dec 2005 22:13:51 +0000 (22:13 +0000)]
Allow the build using VisualStudio 2005 when LEAKFINDER is not defined.
hno [Sat, 3 Dec 2005 08:10:57 +0000 (08:10 +0000)]
Bootstrapped
wessels [Sat, 3 Dec 2005 02:43:38 +0000 (02:43 +0000)]
Some additions and changes for ICAP server connection reuse.
wessels [Sat, 3 Dec 2005 00:05:53 +0000 (00:05 +0000)]
Squid binary should depend on ICAP library. bootstrapped.
wessels [Fri, 2 Dec 2005 06:23:59 +0000 (06:23 +0000)]
A few changes related to how the ICAP request header is built:
- Added 'icap_persistent_connections' directive to squid.conf to turn
on/off ICAP server connection reuse.
- Renamed 'icap_send_auth_user' directive to 'icap_send_client_username'
- Removed 'icap_auth_scheme' directive since it is not currently used.
- Fixed ICAPModXact::makeRequestHeaders() to add X-Client-IP and
X-Client-Username only when those options are enabled in squid.conf.
wessels [Fri, 2 Dec 2005 06:19:22 +0000 (06:19 +0000)]
Removing the 'icap_check_interval' directive because it isn't used
in the current implemenation.
wessels [Fri, 2 Dec 2005 05:40:34 +0000 (05:40 +0000)]
Add X-Client-IP and X-Client-Username extention headers to ICAP
requests.
wessels [Fri, 2 Dec 2005 05:39:46 +0000 (05:39 +0000)]
Add comment explaining why there is 'break' in the loop that looks for
candidate classes during ACL checks.
serassio [Fri, 2 Dec 2005 04:35:40 +0000 (04:35 +0000)]
Bug #1451: gcc 4.1 compiler errors
Fix provided by Klaus Singvogel, Thanks !!!
wessels [Fri, 2 Dec 2005 02:06:46 +0000 (02:06 +0000)]
Bug fixed by Ralf Horstmann:
ICAPClass constructor should initialize accessList to NULL.
wessels [Fri, 2 Dec 2005 01:15:51 +0000 (01:15 +0000)]
update comment for HttpMsg::parseCharBuf()
hno [Wed, 30 Nov 2005 08:10:42 +0000 (08:10 +0000)]
Bootstrapped
serassio [Wed, 30 Nov 2005 03:18:20 +0000 (03:18 +0000)]
Bug #1409: OpenBSD and NetBSD error on make with SSL include
Workaround for OpenSSL 0.9.7d.
serassio [Wed, 30 Nov 2005 01:13:58 +0000 (01:13 +0000)]
Bootstrapped
serassio [Wed, 30 Nov 2005 01:08:09 +0000 (01:08 +0000)]
Bug #1455: Error during "make all"
In the latest ICAP merge some make dist stuff was missing.
Hoping to have added all nedeed files ... :-)
serassio [Sun, 27 Nov 2005 17:02:14 +0000 (17:02 +0000)]
More cosmetic cleanup
serassio [Sun, 27 Nov 2005 16:54:35 +0000 (16:54 +0000)]
Cosmetic cleanup
serassio [Sun, 27 Nov 2005 16:27:24 +0000 (16:27 +0000)]
Added .cvsignore file
serassio [Sun, 27 Nov 2005 16:24:17 +0000 (16:24 +0000)]
Removed no more needed .cvsignore file
hno [Fri, 25 Nov 2005 08:10:43 +0000 (08:10 +0000)]
Bootstrapped
serassio [Fri, 25 Nov 2005 02:43:11 +0000 (02:43 +0000)]
Recent ICAP merge broke profiling support, now fixed.
serassio [Fri, 25 Nov 2005 00:39:12 +0000 (00:39 +0000)]
Bootstrapped
wessels [Thu, 24 Nov 2005 07:54:15 +0000 (07:54 +0000)]
64 bit broken again !!!!
This patch casts long ints to 32-bit ints for printfs so gcc doesn't bail
wessels [Thu, 24 Nov 2005 06:51:49 +0000 (06:51 +0000)]
There is something wrong here and in the other winbind related commit:
wessels [Thu, 24 Nov 2005 06:50:42 +0000 (06:50 +0000)]
winbind helper are no more provided with Squid 3.
wessels [Thu, 24 Nov 2005 06:44:07 +0000 (06:44 +0000)]
Remove leakfinder debugging calls which probably should never
been committed
wessels [Thu, 24 Nov 2005 06:38:56 +0000 (06:38 +0000)]
It seems that LeakFinder.h is missing in your commit.
Duane: after any commit it would be better if you check if squid
builds correctly.
Regards
Guido
serassio [Wed, 23 Nov 2005 02:54:39 +0000 (02:54 +0000)]
Updated .cvsignore file
serassio [Wed, 23 Nov 2005 02:45:04 +0000 (02:45 +0000)]
Fixed make dist problem.
hno [Tue, 22 Nov 2005 08:10:57 +0000 (08:10 +0000)]
Bootstrapped
wessels [Tue, 22 Nov 2005 06:55:04 +0000 (06:55 +0000)]
bootstrapped
wessels [Tue, 22 Nov 2005 06:54:12 +0000 (06:54 +0000)]
Use correct filenames for renamed classes and ICAP library
wessels [Tue, 22 Nov 2005 06:53:37 +0000 (06:53 +0000)]
gcc suggests parens around assignment. Slight rewrite.
wessels [Tue, 22 Nov 2005 06:46:27 +0000 (06:46 +0000)]
Ooops, ICAPAnchor should really be ICAPClientRespmodPrecache and
ICAPClientSideHook should really be ICAPClientReqmodPrecache
wessels [Tue, 22 Nov 2005 06:32:59 +0000 (06:32 +0000)]
Adding ICAP library files
wessels [Tue, 22 Nov 2005 06:32:01 +0000 (06:32 +0000)]
The ClientRequestContext class used to be defined in client_side_request.cc.
It has been moved to its own .h file for ICAP integration.
wessels [Tue, 22 Nov 2005 06:29:08 +0000 (06:29 +0000)]
Added ICAP RESPMOD PRECACHE
These are fairly significant changes to HTTP server-side
processing code to support ICAP request modification.
wessels [Tue, 22 Nov 2005 06:26:45 +0000 (06:26 +0000)]
Added ICAP REQMOD PRECACHE
These are fairly significant changes to client_side processing code to
support ICAP request modification.
One important change is in the way that various asynchronous procedures
are handled. Previously, the async events such as ACL checks, redirector,
and no_cache checks were chained together. e.g., aclCheckDone would call
redirectorStart, etc.
Now there is a doCallouts() function that keeps track of which operations
have been done and which have not. This is where we inserted the ICAP
callout.
wessels [Tue, 22 Nov 2005 06:21:21 +0000 (06:21 +0000)]
Added #ifdef-ef out code for future work on ICAP RESPMOD POSTCACHE
wessels [Tue, 22 Nov 2005 06:18:57 +0000 (06:18 +0000)]
Added ICAP subdirectory and instructions to link with ICAP library
wessels [Tue, 22 Nov 2005 06:17:21 +0000 (06:17 +0000)]
Added --enable-icap-client option
wessels [Tue, 22 Nov 2005 06:14:22 +0000 (06:14 +0000)]
Added a convenience StoreIOBuffer constructor that creates a
StoreIOBuffer from a MemBuf plus an offset.
This was added for ICAP integration.
wessels [Tue, 22 Nov 2005 06:11:24 +0000 (06:11 +0000)]
Added ICAP-related configuration directives to the squid.conf file
wessels [Tue, 22 Nov 2005 06:10:22 +0000 (06:10 +0000)]
Added routines for parsing ICAP configuration directives.
wessels [Tue, 22 Nov 2005 06:06:51 +0000 (06:06 +0000)]
Added StringToInt(), currently used when parsing chunked encoding messages.
This was added for ICAP integration.
wessels [Tue, 22 Nov 2005 06:04:56 +0000 (06:04 +0000)]
Added const version of MemBuf::content() so that const MemBuf can be
a parameter.
Added MemBuf::wasStolen() method
This was done for ICAP integration.
wessels [Tue, 22 Nov 2005 06:02:37 +0000 (06:02 +0000)]
Added expectingBody() and sanityCheckStartLine() virtual methods to
HttpMsg base class.
This was done for ICAP integration.
wessels [Tue, 22 Nov 2005 05:59:25 +0000 (05:59 +0000)]
Add the ERR_ICAP_FAILURE error message.
wessels [Tue, 22 Nov 2005 05:55:53 +0000 (05:55 +0000)]
Use storeBuffer() and storeBufferFlush() later to avoid repeated
callbacks for small additions to StoreEntry, i.e. when writing headers.
wessels [Tue, 22 Nov 2005 05:54:00 +0000 (05:54 +0000)]
In the MemBuf destructor, call clean() if necessary and don't worry so
much about making sure the MemBuf user cleans it.
wessels [Tue, 22 Nov 2005 05:50:16 +0000 (05:50 +0000)]
Added HttpRequest::expectingBody() method to indicate whether or
not we would usually expect an entity-body in the request.
This was added for ICAP integration.
wessels [Tue, 22 Nov 2005 05:49:04 +0000 (05:49 +0000)]
Added HttpReply::expectingBody() method to indicate whether or not
we would usually expect an entity-body in the HTTP response.
This was done for ICAP integration.
wessels [Tue, 22 Nov 2005 05:46:38 +0000 (05:46 +0000)]
Changed #if WHEN_SQUID_IS_NOT_HTTP1_1 to #if WHEN_SQUID_IS_HTTP1_1
based on what the commented-out code attempts to do.
wessels [Tue, 22 Nov 2005 05:45:16 +0000 (05:45 +0000)]
Added simple operator !() method.
This was done for ICAP integration.
wessels [Tue, 22 Nov 2005 05:43:41 +0000 (05:43 +0000)]
Added Vector::shift() method, similar to the way shift works in Perl.
This was done for ICAP integration.
wessels [Tue, 22 Nov 2005 05:41:45 +0000 (05:41 +0000)]
Turned "leakfinder" into something more like C++.
wessels [Tue, 22 Nov 2005 05:20:12 +0000 (05:20 +0000)]
Added StoreEntry::isAccepting() method to let others know if a StoreEntry
is in a state where it can accept more content.
Added for ICAP integration