]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
19 years agoAdded ICAP RESPMOD PRECACHE
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.

19 years agoAdded ICAP REQMOD PRECACHE
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.

19 years agoAdded #ifdef-ef out code for future work on ICAP RESPMOD POSTCACHE
wessels [Tue, 22 Nov 2005 06:21:21 +0000 (06:21 +0000)] 
Added #ifdef-ef out code for future work on ICAP RESPMOD POSTCACHE

19 years agoAdded ICAP subdirectory and instructions to link with ICAP library
wessels [Tue, 22 Nov 2005 06:18:57 +0000 (06:18 +0000)] 
Added ICAP subdirectory and instructions to link with ICAP library

19 years agoAdded --enable-icap-client option
wessels [Tue, 22 Nov 2005 06:17:21 +0000 (06:17 +0000)] 
Added --enable-icap-client option

19 years agoAdded a convenience StoreIOBuffer constructor that creates a
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.

19 years agoAdded ICAP-related configuration directives to the squid.conf file
wessels [Tue, 22 Nov 2005 06:11:24 +0000 (06:11 +0000)] 
Added ICAP-related configuration directives to the squid.conf file

19 years agoAdded routines for parsing ICAP configuration directives.
wessels [Tue, 22 Nov 2005 06:10:22 +0000 (06:10 +0000)] 
Added routines for parsing ICAP configuration directives.

19 years agoAdded StringToInt(), currently used when parsing chunked encoding messages.
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.

19 years agoAdded const version of MemBuf::content() so that const MemBuf can be
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.

19 years agoAdded expectingBody() and sanityCheckStartLine() virtual methods to
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.

19 years agoAdd the ERR_ICAP_FAILURE error message.
wessels [Tue, 22 Nov 2005 05:59:25 +0000 (05:59 +0000)] 
Add the ERR_ICAP_FAILURE error message.

19 years agoUse storeBuffer() and storeBufferFlush() later to avoid repeated
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.

19 years agoIn the MemBuf destructor, call clean() if necessary and don't worry so
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.

19 years agoAdded HttpRequest::expectingBody() method to indicate whether or
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.

19 years agoAdded HttpReply::expectingBody() method to indicate whether or not
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.

19 years agoChanged #if WHEN_SQUID_IS_NOT_HTTP1_1 to #if WHEN_SQUID_IS_HTTP1_1
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.

19 years agoAdded simple operator !() method.
wessels [Tue, 22 Nov 2005 05:45:16 +0000 (05:45 +0000)] 
Added simple operator !() method.

This was done for ICAP integration.

19 years agoAdded Vector::shift() method, similar to the way shift works in Perl.
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.

19 years agoTurned "leakfinder" into something more like C++.
wessels [Tue, 22 Nov 2005 05:41:45 +0000 (05:41 +0000)] 
Turned "leakfinder" into something more like C++.

19 years agoAdded StoreEntry::isAccepting() method to let others know if a StoreEntry
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

19 years agoadding .cvsignore files
wessels [Tue, 22 Nov 2005 05:12:20 +0000 (05:12 +0000)] 
adding .cvsignore files

19 years agoFixed build error on Windows using gcc.
serassio [Mon, 21 Nov 2005 01:39:22 +0000 (01:39 +0000)] 
Fixed build error on Windows using gcc.

19 years agoMore .cvsignore files cleanup
serassio [Sun, 20 Nov 2005 20:26:59 +0000 (20:26 +0000)] 
More .cvsignore files cleanup

19 years agoMore consistency in .cvsignore files
serassio [Sun, 20 Nov 2005 17:07:47 +0000 (17:07 +0000)] 
More consistency in .cvsignore files

19 years agoAdded .cvsignore files
serassio [Sun, 20 Nov 2005 17:05:24 +0000 (17:05 +0000)] 
Added .cvsignore files

19 years agoMore consistency in .cvsignore files
serassio [Sun, 20 Nov 2005 16:51:41 +0000 (16:51 +0000)] 
More consistency in .cvsignore files

19 years agoAdded .cvsignore files
serassio [Sun, 20 Nov 2005 16:44:10 +0000 (16:44 +0000)] 
Added .cvsignore files

19 years agoMore consistency in .cvsignore files
serassio [Sun, 20 Nov 2005 16:36:27 +0000 (16:36 +0000)] 
More consistency in .cvsignore files

19 years agoDNS search list improvements:
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

19 years agoAdded WebDAV REPORT method to know HTTP methods list
wessels [Sat, 12 Nov 2005 00:45:15 +0000 (00:45 +0000)] 
Added WebDAV REPORT method to know HTTP methods list

19 years agoMy recent HttpReply changes created an awkward situation. Both
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()

19 years agoCleanup of stateful auth schemes
hno [Mon, 7 Nov 2005 05:50:25 +0000 (05:50 +0000)] 
Cleanup of stateful auth schemes

19 years agoHandle crashing auth helper more gracefully in negotiate/ntlm
hno [Mon, 7 Nov 2005 04:50:14 +0000 (04:50 +0000)] 
Handle crashing auth helper more gracefully in negotiate/ntlm

19 years agoWindows port:
serassio [Sun, 6 Nov 2005 23:54:30 +0000 (23:54 +0000)] 
Windows port:

- getrusage() and pipe() emulated functions

19 years agoassertion failed: cbdata.cc:450: "c->locks > 0"
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.

19 years agoWindows port:
serassio [Sun, 6 Nov 2005 18:16:22 +0000 (18:16 +0000)] 
Windows port:

- On Windows /dev/null is not available

19 years agoSpell check.
serassio [Sun, 6 Nov 2005 18:14:27 +0000 (18:14 +0000)] 
Spell check.

19 years agoBootstrapped
hno [Sun, 6 Nov 2005 08:10:58 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoMore MinGW build support in Makefiles and configure.
serassio [Sun, 6 Nov 2005 04:56:26 +0000 (04:56 +0000)] 
More MinGW build support in Makefiles and configure.

19 years agoFixed Duane's typo.
serassio [Sat, 5 Nov 2005 15:57:00 +0000 (15:57 +0000)] 
Fixed Duane's typo.

19 years agoConverted HttpReply to a proper C++ class. Removed httpReplyCreate(),
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.

19 years agoSet default basic auth realm
hno [Sat, 5 Nov 2005 06:09:44 +0000 (06:09 +0000)] 
Set default basic auth realm

19 years agowhitespace cleanup
hno [Sat, 5 Nov 2005 05:59:08 +0000 (05:59 +0000)] 
whitespace cleanup

19 years agoparse_date() is one most frequent users of malloc (strdup() actually).
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().

19 years agoRename the "mangle_headers" optimization to "mangle_request_headers"
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.

19 years agoAn optimization: If there are no request_header_access directives
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.

19 years agoBootstrapped
hno [Fri, 4 Nov 2005 08:10:41 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoNow getCurrentTime() must be defined in cf_gen like as in pinger.
serassio [Fri, 4 Nov 2005 03:21:57 +0000 (03:21 +0000)] 
Now getCurrentTime() must be defined in cf_gen like as in pinger.

19 years agoBootstrapped
serassio [Fri, 4 Nov 2005 03:06:28 +0000 (03:06 +0000)] 
Bootstrapped

19 years agoFixed typo
serassio [Fri, 4 Nov 2005 03:03:29 +0000 (03:03 +0000)] 
Fixed typo

19 years agoFrom Squid-2:
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.

19 years agoAn ugly workaround to allow the build on 64 bit platform.
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 ... :-)

19 years agoStart bootstrapping the Squid-2 HEAD again
hno [Thu, 3 Nov 2005 05:09:11 +0000 (05:09 +0000)] 
Start bootstrapping the Squid-2 HEAD again

19 years agoAllow dns_internal.cc to build on MinGW.
serassio [Wed, 2 Nov 2005 04:05:16 +0000 (04:05 +0000)] 
Allow dns_internal.cc to build on MinGW.

19 years agoFixed authentication schema order.
serassio [Wed, 2 Nov 2005 02:26:36 +0000 (02:26 +0000)] 
Fixed authentication schema order.

19 years agoDocument ntlm keep_alive option.
serassio [Wed, 2 Nov 2005 00:47:43 +0000 (00:47 +0000)] 
Document ntlm keep_alive option.

19 years agoUpdated documentation for Windows native NTLM helper.
serassio [Tue, 1 Nov 2005 21:12:52 +0000 (21:12 +0000)] 
Updated documentation for Windows native NTLM helper.

19 years agoAdded helper executable name in stateful helper stats
serassio [Tue, 1 Nov 2005 21:04:25 +0000 (21:04 +0000)] 
Added helper executable name in stateful helper stats

19 years agoUpdated hosts_file directive description.
serassio [Tue, 1 Nov 2005 18:41:21 +0000 (18:41 +0000)] 
Updated hosts_file directive description.

19 years agoOptimize linking of mswin_negotiate_auth
serassio [Tue, 1 Nov 2005 15:57:13 +0000 (15:57 +0000)] 
Optimize linking of mswin_negotiate_auth

19 years agoForgotten to add .cvsignore
serassio [Tue, 1 Nov 2005 15:56:11 +0000 (15:56 +0000)] 
Forgotten to add .cvsignore

19 years agoBootstrapped
hno [Tue, 1 Nov 2005 08:10:42 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoWindows port: addition of native external ACL helper.
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

19 years agoForgotten to add Makefile.in files to native Windows helpers ....
serassio [Mon, 31 Oct 2005 20:56:07 +0000 (20:56 +0000)] 
Forgotten to add Makefile.in files to native Windows helpers ....

19 years agoBootstrapped
hno [Mon, 31 Oct 2005 08:10:42 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoWindows port: addition of native authentication helpers.
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

19 years agoBug #1435: squid-2.5.STABLE12 fails to compile on Solaris and other
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.

19 years agoBug #1440: compile problem with gcc-3.4.4
serassio [Sat, 29 Oct 2005 00:32:17 +0000 (00:32 +0000)] 
Bug #1440: compile problem with gcc-3.4.4

19 years agoSpell check.
serassio [Sat, 29 Oct 2005 00:19:57 +0000 (00:19 +0000)] 
Spell check.

19 years agoTypo..
hno [Sun, 23 Oct 2005 21:52:17 +0000 (21:52 +0000)] 
Typo..

19 years agoTry to work around OpenSSL 0.9.8 change
hno [Sun, 23 Oct 2005 21:50:01 +0000 (21:50 +0000)] 
Try to work around OpenSSL 0.9.8 change

19 years agoBug #1404: CNAME adresses remembered with wrong TTL
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.

19 years agoBootstrapped
hno [Sun, 23 Oct 2005 19:22:23 +0000 (19:22 +0000)] 
Bootstrapped

19 years agoNegotiate authentication scheme support.
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.

19 years agoKill some leftovers from the winbind helpers
hno [Sun, 23 Oct 2005 15:57:03 +0000 (15:57 +0000)] 
Kill some leftovers from the winbind helpers

19 years agoBug #1412: redirector 302 redirects not working for CONNECT method
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.

19 years agoBug #1411: It is no longer possible to tweak recent versions of squid to
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.

19 years agoBug #1426: Crash in rfc1738_do_escape at rfc1738.c:97
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.

19 years agoBootstrapped
hno [Mon, 17 Oct 2005 06:10:51 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBug #1403: Defining CACHE_HTTP_PORT does not set the default http_port
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.

19 years agoBug #1391: FATAL: Incorrect scheme in auth header
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.

19 years agoBug #1205: Assertion during user authentication
serassio [Sun, 16 Oct 2005 20:52:52 +0000 (20:52 +0000)] 
Bug #1205: Assertion during user authentication

Allow basic authentication to work.

19 years agoBug #1429: %ue does not work in logformat
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.

19 years agoFixed build error on 64 bit Linux
serassio [Sat, 8 Oct 2005 14:39:42 +0000 (14:39 +0000)] 
Fixed build error on 64 bit Linux

19 years agoBug #1401: $HOME not set when started as root
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.

19 years agocosmetic: debugging statement missing a newline
wessels [Sat, 1 Oct 2005 04:24:21 +0000 (04:24 +0000)] 
cosmetic: debugging statement missing a newline

19 years agoalmost..
hno [Thu, 29 Sep 2005 04:08:39 +0000 (04:08 +0000)] 
almost..

19 years agoFix cleanup of old snapshots when there has been release candidates
hno [Thu, 29 Sep 2005 04:07:30 +0000 (04:07 +0000)] 
Fix cleanup of old snapshots when there has been release candidates

19 years agocosmetic: renaming HttpStateData's body_buf to request_body_buf to
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.

19 years agocosmetic: in debugging messages change httpProcessReplyHeader to
wessels [Thu, 29 Sep 2005 01:52:52 +0000 (01:52 +0000)] 
cosmetic: in debugging messages change httpProcessReplyHeader to
processReplyHeader

19 years agoAdded new methods to String class:
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.

19 years agoremove more trailing whitespace
wessels [Tue, 27 Sep 2005 21:16:13 +0000 (21:16 +0000)] 
remove more trailing whitespace

19 years agoremove trailing whitespaces
wessels [Tue, 27 Sep 2005 02:11:31 +0000 (02:11 +0000)] 
remove trailing whitespaces

19 years agoBootstrapped
hno [Mon, 26 Sep 2005 06:10:46 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBug #1371: aufs fails to compile with --enable-truncate
hno [Mon, 26 Sep 2005 03:02:32 +0000 (03:02 +0000)] 
Bug #1371: aufs fails to compile with --enable-truncate

19 years agoBug #1369: New http_status acl type
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>

19 years agoBug #1326: Use DNS search path from /etc/resolv.conf
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".

19 years agoBug #1378: Transparent proxy problem with IP Filter
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.

19 years agoBug #1394: invalid host is processed as IP 255.255.255.255
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.