]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
19 years agoBootstrapped
hno [Sat, 31 Dec 2005 08:10:41 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoGet rid of LDAP libaray references. Not needed or wanted here..
hno [Sat, 31 Dec 2005 06:21:46 +0000 (06:21 +0000)] 
Get rid of LDAP libaray references. Not needed or wanted here..

19 years agoProperly fix snapshot diff
hno [Fri, 30 Dec 2005 09:26:32 +0000 (09:26 +0000)] 
Properly fix snapshot diff

19 years agoFix cleanup of old snapshots again. Got broken some months ago..
hno [Fri, 30 Dec 2005 09:21:19 +0000 (09:21 +0000)] 
Fix cleanup of old snapshots again. Got broken some months ago..

19 years agoFix diff generation
hno [Fri, 30 Dec 2005 09:02:25 +0000 (09:02 +0000)] 
Fix diff generation

19 years agoimported current mksnapshot script from 2.5
hno [Fri, 30 Dec 2005 02:38:16 +0000 (02:38 +0000)] 
imported current mksnapshot script from 2.5

19 years agoSimple debugging message addition and change
wessels [Fri, 30 Dec 2005 01:05:20 +0000 (01:05 +0000)] 
Simple debugging message addition and change

19 years agoFound and fixed a case where HttpMsg::parse() returned false but
wessels [Fri, 30 Dec 2005 01:04:41 +0000 (01:04 +0000)] 
Found and fixed a case where HttpMsg::parse() returned false but
forgot to set the error parameter.

19 years agoFix digest helper split
hno [Thu, 29 Dec 2005 10:16:33 +0000 (10:16 +0000)] 
Fix digest helper split

19 years agoRadius Digest authentication extension draft
hno [Thu, 29 Dec 2005 10:16:03 +0000 (10:16 +0000)] 
Radius Digest authentication extension draft

19 years agoBootstrapped
hno [Thu, 29 Dec 2005 09:49:00 +0000 (09:49 +0000)] 
Bootstrapped

19 years agoFix external acl helper selection again
hno [Thu, 29 Dec 2005 09:48:23 +0000 (09:48 +0000)] 
Fix external acl helper selection again

19 years agosilence automake warning about underquoted macor
hno [Thu, 29 Dec 2005 09:45:57 +0000 (09:45 +0000)] 
silence automake warning about underquoted macor

19 years agoCorrect digest_ldap_auth program name
hno [Thu, 29 Dec 2005 09:43:02 +0000 (09:43 +0000)] 
Correct digest_ldap_auth program name

19 years agoBootstrapped
hno [Thu, 29 Dec 2005 09:42:13 +0000 (09:42 +0000)] 
Bootstrapped

19 years agoDefault to build "all" available helpers of each selected feature
hno [Thu, 29 Dec 2005 09:41:28 +0000 (09:41 +0000)] 
Default to build "all" available helpers of each selected feature
(i.e. build basic auth helpers if basic scheme is enabled etc)

19 years agoDist the Digest LDAP helper
hno [Thu, 29 Dec 2005 09:21:46 +0000 (09:21 +0000)] 
Dist the Digest LDAP helper

19 years agoBootstrapped
hno [Thu, 29 Dec 2005 09:20:17 +0000 (09:20 +0000)] 
Bootstrapped

19 years agoBootstrapped
hno [Thu, 29 Dec 2005 09:20:16 +0000 (09:20 +0000)] 
Bootstrapped

19 years agoExtend the automatic helper selection with a small config.test program in
hno [Thu, 29 Dec 2005 09:15:21 +0000 (09:15 +0000)] 
Extend the automatic helper selection with a small config.test program in
each helper directory determining if this helper is suitable to be built

19 years agoSplit digest_pw_auth into digest_pw_auth and digest_ldap_auth
hno [Thu, 29 Dec 2005 09:11:00 +0000 (09:11 +0000)] 
Split digest_pw_auth into digest_pw_auth and digest_ldap_auth

19 years agoOnly a few changes to debugging messages
wessels [Thu, 29 Dec 2005 05:31:10 +0000 (05:31 +0000)] 
Only a few changes to debugging messages

19 years agoPrint the "GOT HTTP REPLY HDR" message in HttpStateData::processReplyHeader()
wessels [Thu, 29 Dec 2005 04:43:13 +0000 (04:43 +0000)] 
Print the "GOT HTTP REPLY HDR" message in HttpStateData::processReplyHeader()
*before* consuming the HTTP reply headers from readBuf.

Fixed NULL pointer bug in HttpStateData::doneAdapting().  Don't
delete icap before it might be needed.

19 years agoICAP: Don't send preview header if previews are disabled by
wessels [Wed, 28 Dec 2005 23:33:41 +0000 (23:33 +0000)] 
ICAP: Don't send preview header if previews are disabled by
squid.conf.

19 years agoBootstrapped
hno [Wed, 28 Dec 2005 08:10:49 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoBootstrapped
hno [Tue, 27 Dec 2005 08:10:45 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoCannot build using gcc 4.1 with the error:
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.

19 years agoAdded '-d' command line debugging option
serassio [Mon, 26 Dec 2005 18:18:25 +0000 (18:18 +0000)] 
Added '-d' command line debugging option

19 years agoBootstrapped
serassio [Mon, 26 Dec 2005 17:51:19 +0000 (17:51 +0000)] 
Bootstrapped

19 years agoOptimized src/Makefile.am
serassio [Mon, 26 Dec 2005 17:47:48 +0000 (17:47 +0000)] 
Optimized src/Makefile.am

19 years agoAllow "make check" with --enable-delay-pools configure option
serassio [Mon, 26 Dec 2005 17:16:04 +0000 (17:16 +0000)] 
Allow "make check" with --enable-delay-pools configure option

19 years agoUpdated .cvsignore files
serassio [Sat, 24 Dec 2005 18:23:41 +0000 (18:23 +0000)] 
Updated .cvsignore files

19 years agoBug #1472: wbinfo_group.pl doesn't work with Samba 3.0.21
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.

19 years agoerror: extra qualification 'ICAPOptions::' on member 'parseExtFileList
wessels [Sat, 24 Dec 2005 00:36:19 +0000 (00:36 +0000)] 
error: extra qualification 'ICAPOptions::' on member 'parseExtFileList

19 years agoerror: extra qualification 'ICAPConfig::' on member 'findClass'
wessels [Fri, 23 Dec 2005 06:52:28 +0000 (06:52 +0000)] 
error: extra qualification 'ICAPConfig::' on member 'findClass'

19 years agoReuben Farrelly and GCC 4.1 say:
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

19 years agoMake Squid more robust in the event of unexpected ICAP server responses,
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.

19 years agoSquid incorporates software by other *sources*, not other *sinks*.
wessels [Fri, 23 Dec 2005 05:26:31 +0000 (05:26 +0000)] 
Squid incorporates software by other *sources*, not other *sinks*.

19 years agoRFC 3507 says that there should be a space after comma in
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.

19 years agoFixed an ICAP bug: Need to handle the case when a REQMOD reply
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.

19 years agoThe check for "connection: close" in the ICAP header
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().

19 years agoInitialize the members of HttpRequest in the constructor so that
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.

19 years agoinserting HERE into some debugs()
wessels [Tue, 20 Dec 2005 06:06:54 +0000 (06:06 +0000)] 
inserting HERE into some debugs()

19 years agoAdded "HERE" macro for use in debugs() and use it in a few ICAP
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.

19 years agoLook for "Connection: close" in OPTIONS response too.
wessels [Tue, 20 Dec 2005 04:44:26 +0000 (04:44 +0000)] 
Look for "Connection: close" in OPTIONS response too.

19 years agoFixed warning when using gcc 4.x
serassio [Sun, 18 Dec 2005 17:07:49 +0000 (17:07 +0000)] 
Fixed warning when using gcc 4.x

19 years agovisible_appname_string must be initialized during FS tests.
serassio [Sun, 18 Dec 2005 16:57:59 +0000 (16:57 +0000)] 
visible_appname_string must be initialized during FS tests.

19 years agoUpdated "make check" support:
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

19 years agoBootstrapped
hno [Fri, 16 Dec 2005 08:10:45 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoNeed to dist pconn.h
hno [Fri, 16 Dec 2005 05:25:24 +0000 (05:25 +0000)] 
Need to dist pconn.h

19 years agoJust a little cleanup of an ICAP_CLIENT ifdef
wessels [Wed, 14 Dec 2005 06:37:39 +0000 (06:37 +0000)] 
Just a little cleanup of an ICAP_CLIENT ifdef

19 years agoAdded a default ICAP Options-TTL setting.
wessels [Wed, 14 Dec 2005 05:17:02 +0000 (05:17 +0000)] 
Added a default ICAP Options-TTL setting.

19 years agoDon't print a Warning about OPTIONS reply method mismatch if the
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.

19 years agoFinished support for parsing ICAP OPTIONS Transfer-* headers.
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.

19 years agoReport ICAP server clock skew based on the Date header in OPTIONS response.
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.

19 years agoSupport for Method header in ICAP OPTIONS respose.
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.

19 years agoI get compile errors on many tests because Squid defines its own assert()
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.

19 years agoChanged Mem::Init() debug message "Memory pools are ..." to level 3 since
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.

19 years agoMemory leak when using ident_lookup_access. The temporary ident
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.

19 years agoBug #1022: bad credentials fetch (no user)
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.

19 years agoDuring debugging I lowered the cbadata lock_count assertion threshold
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.

19 years agoCompile-time bug introduced in recent changes related to
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.

19 years agoFixed a bug and some confusion with ACLChecklist::fastCheck()
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.

19 years agoremoved extra ;
wessels [Fri, 9 Dec 2005 01:33:55 +0000 (01:33 +0000)] 
removed extra ;

19 years agoTurned pconn.cc into C++ classes. There are now separate persistent
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.

19 years agoBugzilla #1457
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.

19 years agoForgot to check the value of 'icap_enable' (TheICAPConfig.onoff)
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.

19 years agoAllow the build using VisualStudio 2005 when LEAKFINDER is not defined.
serassio [Sat, 3 Dec 2005 22:13:51 +0000 (22:13 +0000)] 
Allow the build using VisualStudio 2005 when LEAKFINDER is not defined.

19 years agoBootstrapped
hno [Sat, 3 Dec 2005 08:10:57 +0000 (08:10 +0000)] 
Bootstrapped

19 years agoSome additions and changes for ICAP server connection reuse.
wessels [Sat, 3 Dec 2005 02:43:38 +0000 (02:43 +0000)] 
Some additions and changes for ICAP server connection reuse.

19 years agoSquid binary should depend on ICAP library. bootstrapped.
wessels [Sat, 3 Dec 2005 00:05:53 +0000 (00:05 +0000)] 
Squid binary should depend on ICAP library.  bootstrapped.

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

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

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

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

19 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 !!!

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

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

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

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

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

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

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

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

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

19 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

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

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

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

19 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

19 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:

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

19 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

19 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

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

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

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

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

19 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

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