]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
20 years agoA few changes related to how the ICAP request header is built:
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.

20 years agoRemoving the 'icap_check_interval' directive because it isn't used
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.

20 years agoAdd X-Client-IP and X-Client-Username extention headers to ICAP
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.

20 years agoAdd comment explaining why there is 'break' in the loop that looks for
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.

20 years agoBug #1451: gcc 4.1 compiler errors
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 !!!

20 years agoBug fixed by Ralf Horstmann:
wessels [Fri, 2 Dec 2005 02:06:46 +0000 (02:06 +0000)] 
Bug fixed by Ralf Horstmann:

ICAPClass constructor should initialize accessList to NULL.

20 years agoupdate comment for HttpMsg::parseCharBuf()
wessels [Fri, 2 Dec 2005 01:15:51 +0000 (01:15 +0000)] 
update comment for HttpMsg::parseCharBuf()

20 years agoBootstrapped
hno [Wed, 30 Nov 2005 08:10:42 +0000 (08:10 +0000)] 
Bootstrapped

20 years agoBug #1409: OpenBSD and NetBSD error on make with SSL include
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.

20 years agoBootstrapped
serassio [Wed, 30 Nov 2005 01:13:58 +0000 (01:13 +0000)] 
Bootstrapped

20 years agoBug #1455: Error during "make all"
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 ... :-)

20 years agoMore cosmetic cleanup
serassio [Sun, 27 Nov 2005 17:02:14 +0000 (17:02 +0000)] 
More cosmetic cleanup

20 years agoCosmetic cleanup
serassio [Sun, 27 Nov 2005 16:54:35 +0000 (16:54 +0000)] 
Cosmetic cleanup

20 years agoAdded .cvsignore file
serassio [Sun, 27 Nov 2005 16:27:24 +0000 (16:27 +0000)] 
Added .cvsignore file

20 years agoRemoved no more needed .cvsignore file
serassio [Sun, 27 Nov 2005 16:24:17 +0000 (16:24 +0000)] 
Removed no more needed .cvsignore file

20 years agoBootstrapped
hno [Fri, 25 Nov 2005 08:10:43 +0000 (08:10 +0000)] 
Bootstrapped

20 years agoRecent ICAP merge broke profiling support, now fixed.
serassio [Fri, 25 Nov 2005 02:43:11 +0000 (02:43 +0000)] 
Recent ICAP merge broke profiling support, now fixed.

20 years agoBootstrapped
serassio [Fri, 25 Nov 2005 00:39:12 +0000 (00:39 +0000)] 
Bootstrapped

20 years ago64 bit broken again !!!!
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

20 years agoThere is something wrong here and in the other winbind related commit:
wessels [Thu, 24 Nov 2005 06:51:49 +0000 (06:51 +0000)] 
There is something wrong here and in the other winbind related commit:

20 years agowinbind helper are no more provided with Squid 3.
wessels [Thu, 24 Nov 2005 06:50:42 +0000 (06:50 +0000)] 
winbind helper are no more provided with Squid 3.

20 years agoRemove leakfinder debugging calls which probably should never
wessels [Thu, 24 Nov 2005 06:44:07 +0000 (06:44 +0000)] 
Remove leakfinder debugging calls which probably should never
been committed

20 years agoIt seems that LeakFinder.h is missing in your commit.
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

20 years agoUpdated .cvsignore file
serassio [Wed, 23 Nov 2005 02:54:39 +0000 (02:54 +0000)] 
Updated .cvsignore file

20 years agoFixed make dist problem.
serassio [Wed, 23 Nov 2005 02:45:04 +0000 (02:45 +0000)] 
Fixed make dist problem.

20 years agoBootstrapped
hno [Tue, 22 Nov 2005 08:10:57 +0000 (08:10 +0000)] 
Bootstrapped

20 years agobootstrapped
wessels [Tue, 22 Nov 2005 06:55:04 +0000 (06:55 +0000)] 
bootstrapped

20 years agoUse correct filenames for renamed classes and ICAP library
wessels [Tue, 22 Nov 2005 06:54:12 +0000 (06:54 +0000)] 
Use correct filenames for renamed classes and ICAP library

20 years agogcc suggests parens around assignment. Slight rewrite.
wessels [Tue, 22 Nov 2005 06:53:37 +0000 (06:53 +0000)] 
gcc suggests parens around assignment.  Slight rewrite.

20 years agoOoops, ICAPAnchor should really be ICAPClientRespmodPrecache and
wessels [Tue, 22 Nov 2005 06:46:27 +0000 (06:46 +0000)] 
Ooops, ICAPAnchor should really be ICAPClientRespmodPrecache and
ICAPClientSideHook should really be ICAPClientReqmodPrecache

20 years agoAdding ICAP library files
wessels [Tue, 22 Nov 2005 06:32:59 +0000 (06:32 +0000)] 
Adding ICAP library files

20 years agoThe ClientRequestContext class used to be defined in client_side_request.cc.
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.

20 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.

20 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.

20 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

20 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

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

20 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.

20 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

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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.

20 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++.

20 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

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

20 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.

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

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

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

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

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

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

20 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

20 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

20 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()

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

20 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

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

- getrusage() and pipe() emulated functions

20 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.

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

- On Windows /dev/null is not available

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

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

20 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.

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

20 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.

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

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

20 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().

20 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.

20 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.

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

20 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.

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

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

20 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.

20 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 ... :-)

20 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

20 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.

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

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

20 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.

20 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

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

20 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

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

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

20 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

20 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 ....

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

20 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

20 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.