]>
git.ipfire.org Git - thirdparty/squid.git/log
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
wessels [Tue, 22 Nov 2005 05:12:20 +0000 (05:12 +0000)]
adding .cvsignore files
serassio [Mon, 21 Nov 2005 01:39:22 +0000 (01:39 +0000)]
Fixed build error on Windows using gcc.
serassio [Sun, 20 Nov 2005 20:26:59 +0000 (20:26 +0000)]
More .cvsignore files cleanup
serassio [Sun, 20 Nov 2005 17:07:47 +0000 (17:07 +0000)]
More consistency in .cvsignore files
serassio [Sun, 20 Nov 2005 17:05:24 +0000 (17:05 +0000)]
Added .cvsignore files
serassio [Sun, 20 Nov 2005 16:51:41 +0000 (16:51 +0000)]
More consistency in .cvsignore files
serassio [Sun, 20 Nov 2005 16:44:10 +0000 (16:44 +0000)]
Added .cvsignore files
serassio [Sun, 20 Nov 2005 16:36:27 +0000 (16:36 +0000)]
More consistency in .cvsignore files
serassio [Sun, 20 Nov 2005 04:35:09 +0000 (04:35 +0000)]
DNS search list improvements:
- Added support for Windows DNS search list
- Added display of search list in DNS stats
wessels [Sat, 12 Nov 2005 00:45:15 +0000 (00:45 +0000)]
Added WebDAV REPORT method to know HTTP methods list
wessels [Tue, 8 Nov 2005 05:00:38 +0000 (05:00 +0000)]
My recent HttpReply changes created an awkward situation. Both
HttpReply and its base class HttpMsg had methods named parse() but
had different number and type of arugments.
This patch moves HttpReply::parse() to HttpMsg::parseCharBuf()
both parse() and parseCharBuf() use httpMsgParseStep()
hno [Mon, 7 Nov 2005 05:50:25 +0000 (05:50 +0000)]
Cleanup of stateful auth schemes
hno [Mon, 7 Nov 2005 04:50:14 +0000 (04:50 +0000)]
Handle crashing auth helper more gracefully in negotiate/ntlm
serassio [Sun, 6 Nov 2005 23:54:30 +0000 (23:54 +0000)]
Windows port:
- getrusage() and pipe() emulated functions
hno [Sun, 6 Nov 2005 19:59:06 +0000 (19:59 +0000)]
assertion failed: cbdata.cc:450: "c->locks > 0"
if ntlm/negotiate auth helper crashes.
serassio [Sun, 6 Nov 2005 18:16:22 +0000 (18:16 +0000)]
Windows port:
- On Windows /dev/null is not available
serassio [Sun, 6 Nov 2005 18:14:27 +0000 (18:14 +0000)]
Spell check.
hno [Sun, 6 Nov 2005 08:10:58 +0000 (08:10 +0000)]
Bootstrapped
serassio [Sun, 6 Nov 2005 04:56:26 +0000 (04:56 +0000)]
More MinGW build support in Makefiles and configure.
serassio [Sat, 5 Nov 2005 15:57:00 +0000 (15:57 +0000)]
Fixed Duane's typo.
wessels [Sat, 5 Nov 2005 07:08:32 +0000 (07:08 +0000)]
Converted HttpReply to a proper C++ class. Removed httpReplyCreate(),
httpReplyDestroy(), and other static httpReply*() functions.
hno [Sat, 5 Nov 2005 06:09:44 +0000 (06:09 +0000)]
Set default basic auth realm
hno [Sat, 5 Nov 2005 05:59:08 +0000 (05:59 +0000)]
whitespace cleanup
wessels [Sat, 5 Nov 2005 04:02:15 +0000 (04:02 +0000)]
parse_date() is one most frequent users of malloc (strdup() actually).
I think it makes sense to replace it with a static buffer and
just call xstrncpy().
wessels [Sat, 5 Nov 2005 03:27:31 +0000 (03:27 +0000)]
Rename the "mangle_headers" optimization to "mangle_request_headers"
so that we can do the same for reply header mangling later on.
wessels [Sat, 5 Nov 2005 03:23:18 +0000 (03:23 +0000)]
An optimization: If there are no request_header_access directives
configured, then don't loop through the headers for each request,
creating and destroying ACL-related objects that are never used.
hno [Fri, 4 Nov 2005 08:10:41 +0000 (08:10 +0000)]
Bootstrapped
serassio [Fri, 4 Nov 2005 03:21:57 +0000 (03:21 +0000)]
Now getCurrentTime() must be defined in cf_gen like as in pinger.
serassio [Fri, 4 Nov 2005 03:06:28 +0000 (03:06 +0000)]
Bootstrapped
serassio [Fri, 4 Nov 2005 03:03:29 +0000 (03:03 +0000)]
Fixed typo
hno [Thu, 3 Nov 2005 06:14:41 +0000 (06:14 +0000)]
From Squid-2:
Generalisation of the build environment to have cf_gen built more like
the other binaries. Primary reason is to allow the use of defines
inherited from squid.h or system headers in cf.data.pre conditions.
serassio [Thu, 3 Nov 2005 05:19:22 +0000 (05:19 +0000)]
An ugly workaround to allow the build on 64 bit platform.
Any better solution is welcome ... :-)
hno [Thu, 3 Nov 2005 05:09:11 +0000 (05:09 +0000)]
Start bootstrapping the Squid-2 HEAD again
serassio [Wed, 2 Nov 2005 04:05:16 +0000 (04:05 +0000)]
Allow dns_internal.cc to build on MinGW.
serassio [Wed, 2 Nov 2005 02:26:36 +0000 (02:26 +0000)]
Fixed authentication schema order.
serassio [Wed, 2 Nov 2005 00:47:43 +0000 (00:47 +0000)]
Document ntlm keep_alive option.
serassio [Tue, 1 Nov 2005 21:12:52 +0000 (21:12 +0000)]
Updated documentation for Windows native NTLM helper.
serassio [Tue, 1 Nov 2005 21:04:25 +0000 (21:04 +0000)]
Added helper executable name in stateful helper stats
serassio [Tue, 1 Nov 2005 18:41:21 +0000 (18:41 +0000)]
Updated hosts_file directive description.
serassio [Tue, 1 Nov 2005 15:57:13 +0000 (15:57 +0000)]
Optimize linking of mswin_negotiate_auth
serassio [Tue, 1 Nov 2005 15:56:11 +0000 (15:56 +0000)]
Forgotten to add .cvsignore
hno [Tue, 1 Nov 2005 08:10:42 +0000 (08:10 +0000)]
Bootstrapped
serassio [Mon, 31 Oct 2005 23:29:45 +0000 (23:29 +0000)]
Windows port: addition of native external ACL helper.
- mswin_check_lm_group: Windows domain groups membership check
(Based on Windows Lan Manager framework)
Supported build environment:
- Cygwin
- MSYS + MinGW
- MS VisualStudio C++ 2005
serassio [Mon, 31 Oct 2005 20:56:07 +0000 (20:56 +0000)]
Forgotten to add Makefile.in files to native Windows helpers ....
hno [Mon, 31 Oct 2005 08:10:42 +0000 (08:10 +0000)]
Bootstrapped
serassio [Mon, 31 Oct 2005 04:48:21 +0000 (04:48 +0000)]
Windows port: addition of native authentication helpers.
- mswin_auth: Basic helper
- mswin_ntlm_auth: NTLM helper
- mswin_negotiate_auth: Negotiate helper
Supported build environment:
- Cygwin
- MSYS + MinGW
- MS VisualStudio C++ 2005
serassio [Sat, 29 Oct 2005 00:49:46 +0000 (00:49 +0000)]
Bug #1435: squid-2.5.STABLE12 fails to compile on Solaris and other
platforms not having a setenv() function
Forward port of 2.5 patch.
serassio [Sat, 29 Oct 2005 00:32:17 +0000 (00:32 +0000)]
Bug #1440: compile problem with gcc-3.4.4
serassio [Sat, 29 Oct 2005 00:19:57 +0000 (00:19 +0000)]
Spell check.
hno [Sun, 23 Oct 2005 21:52:17 +0000 (21:52 +0000)]
Typo..
hno [Sun, 23 Oct 2005 21:50:01 +0000 (21:50 +0000)]
Try to work around OpenSSL 0.9.8 change
serassio [Sun, 23 Oct 2005 20:10:45 +0000 (20:10 +0000)]
Bug #1404: CNAME adresses remembered with wrong TTL
should use the lowest TTL of the CNAME and A records, but was using only
the TTL of the A records.
Added too some forgotten things fron Bug #1222.
Forward port of 2.5 patches.
hno [Sun, 23 Oct 2005 19:22:23 +0000 (19:22 +0000)]
Bootstrapped
hno [Sun, 23 Oct 2005 17:55:31 +0000 (17:55 +0000)]
Negotiate authentication scheme support.
Originally written for Squid-2.5 by Henrik, ported to Squid-3 by Kinkie
and bugfixed by Henrik.
hno [Sun, 23 Oct 2005 15:57:03 +0000 (15:57 +0000)]
Kill some leftovers from the winbind helpers
serassio [Wed, 19 Oct 2005 02:17:21 +0000 (02:17 +0000)]
Bug #1412: redirector 302 redirects not working for CONNECT method
Forward port of 2.5 patch.
serassio [Wed, 19 Oct 2005 01:55:28 +0000 (01:55 +0000)]
Bug #1411: It is no longer possible to tweak recent versions of squid to
serve cached data for windowsupdate.
Forward port of 2.5 patch.
serassio [Wed, 19 Oct 2005 01:10:29 +0000 (01:10 +0000)]
Bug #1426: Crash in rfc1738_do_escape at rfc1738.c:97
Forward port of 2.5 patch.
hno [Mon, 17 Oct 2005 06:10:51 +0000 (06:10 +0000)]
Bootstrapped
serassio [Mon, 17 Oct 2005 01:57:40 +0000 (01:57 +0000)]
Bug #1403: Defining CACHE_HTTP_PORT does not set the default http_port
Forward port of 2.5 patch.
serassio [Sun, 16 Oct 2005 22:47:02 +0000 (22:47 +0000)]
Bug #1391: FATAL: Incorrect scheme in auth header
Forward port of 2.5 patch.
serassio [Sun, 16 Oct 2005 20:52:52 +0000 (20:52 +0000)]
Bug #1205: Assertion during user authentication
Allow basic authentication to work.
serassio [Sun, 16 Oct 2005 20:31:25 +0000 (20:31 +0000)]
Bug #1429: %ue does not work in logformat
The "%ue" entry is missing in the source.
Patch From Gonzalo Arana.
serassio [Sat, 8 Oct 2005 14:39:42 +0000 (14:39 +0000)]
Fixed build error on 64 bit Linux
serassio [Sun, 2 Oct 2005 20:28:47 +0000 (20:28 +0000)]
Bug #1401: $HOME not set when started as root
some helpers may depend on $HOME being set to something sane, which is
not always the case when Squid is started as root. This patch sets $HOME
to the home of cache_effective_user.
Forward port of 2.5 patch.
wessels [Sat, 1 Oct 2005 04:24:21 +0000 (04:24 +0000)]
cosmetic: debugging statement missing a newline
hno [Thu, 29 Sep 2005 04:08:39 +0000 (04:08 +0000)]
almost..
hno [Thu, 29 Sep 2005 04:07:30 +0000 (04:07 +0000)]
Fix cleanup of old snapshots when there has been release candidates
wessels [Thu, 29 Sep 2005 02:26:27 +0000 (02:26 +0000)]
cosmetic: renaming HttpStateData's body_buf to request_body_buf to
clarify its purpose.
wessels [Thu, 29 Sep 2005 01:52:52 +0000 (01:52 +0000)]
cosmetic: in debugging messages change httpProcessReplyHeader to
processReplyHeader
wessels [Wed, 28 Sep 2005 02:37:42 +0000 (02:37 +0000)]
Added new methods to String class:
cmp(String)
operator ==
operator !=
These are not currently used in HEAD, but they are used in a sourceforge
branch and may be useful for others now or in the future.
wessels [Tue, 27 Sep 2005 21:16:13 +0000 (21:16 +0000)]
remove more trailing whitespace
wessels [Tue, 27 Sep 2005 02:11:31 +0000 (02:11 +0000)]
remove trailing whitespaces
hno [Mon, 26 Sep 2005 06:10:46 +0000 (06:10 +0000)]
Bootstrapped
hno [Mon, 26 Sep 2005 03:02:32 +0000 (03:02 +0000)]
Bug #1371: aufs fails to compile with --enable-truncate
hno [Mon, 26 Sep 2005 02:58:23 +0000 (02:58 +0000)]
Bug #1369: New http_status acl type
by Gonzalo Arana <gonzalo.arana@gmail.com>
hno [Mon, 26 Sep 2005 02:25:55 +0000 (02:25 +0000)]
Bug #1326: Use DNS search path from /etc/resolv.conf
patch by Thien Vu with fixes by "Paul".
serassio [Sun, 25 Sep 2005 18:36:50 +0000 (18:36 +0000)]
Bug #1378: Transparent proxy problem with IP Filter
Incremental patch: fixed a compile warning.
Forward port of 2.5 patch.
serassio [Sat, 24 Sep 2005 20:41:50 +0000 (20:41 +0000)]
Bug #1394: invalid host is processed as IP 255.255.255.255
this patch changes acl processing to not match dst acls if the
destination IP is not known instead of matching as the invalid IP
255.255.255.255.
Forward port of 2.5 patch.