]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
23 years agoMake no_cache bypass the cache, not only stop content from being cached.
hno [Tue, 13 Nov 2001 13:38:27 +0000 (13:38 +0000)] 
Make no_cache bypass the cache, not only stop content from being cached.

23 years agoUse the correct error message when asking for FTP passwords. The requests
hno [Fri, 9 Nov 2001 14:05:00 +0000 (14:05 +0000)] 
Use the correct error message when asking for FTP passwords. The requests
are "unauthorized", not "access denied".

23 years agoHTML error detected by Toomas Soome
hno [Sat, 3 Nov 2001 00:01:24 +0000 (00:01 +0000)] 
HTML error detected by Toomas Soome

23 years agostdlib.h is required for abs()
hno [Wed, 31 Oct 2001 04:43:13 +0000 (04:43 +0000)] 
stdlib.h is required for abs()

23 years agostring.h is required for memcpy and friends
hno [Wed, 31 Oct 2001 04:42:03 +0000 (04:42 +0000)] 
string.h is required for memcpy and friends

23 years agoError number 1048 doesn't actually exist, so we can't ignore it.
adrian [Tue, 30 Oct 2001 20:19:22 +0000 (20:19 +0000)] 
Error number 1048 doesn't actually exist, so we can't ignore it.

23 years agoFurther cleanups of Bugzilla #255 related issues.
hno [Mon, 29 Oct 2001 23:06:31 +0000 (23:06 +0000)] 
Further cleanups of Bugzilla #255 related issues.
 * Partly backed out the previous patch. We can store the status, only need
   to do it slightly different.
 * Same error was repeated a few lines down for another "error" case.
   (out of filedescriptors)

23 years agoOnly build snprintf.o if one or more of the functions in it is actually needed
robertc [Mon, 29 Oct 2001 15:45:17 +0000 (15:45 +0000)] 
Only build snprintf.o if one or more of the functions in it is actually needed

23 years agofix race with installing .conf and .conf.default files.
robertc [Mon, 29 Oct 2001 15:10:21 +0000 (15:10 +0000)] 
fix race with installing .conf and .conf.default files.

23 years agodon't delete icons.shar on make distclean
robertc [Mon, 29 Oct 2001 14:40:56 +0000 (14:40 +0000)] 
don't delete icons.shar on make distclean

23 years agoOops.. the previous bugfix to plug leaks on errors did it too well,
hno [Sat, 27 Oct 2001 05:11:56 +0000 (05:11 +0000)] 
Oops.. the previous bugfix to plug leaks on errors did it too well,
causing some memory to be freed twice. This confusion was caused by
some very odd management of the request buffer in clientReadRequest /
parseHttpRequest. This patch cleans this up to use a single unified
policy.

23 years agoBugzilla #255: Core dump in sslStart if miss_access is denied
hno [Fri, 26 Oct 2001 01:51:27 +0000 (01:51 +0000)] 
Bugzilla #255: Core dump in sslStart if miss_access is denied

23 years agoauthenticateAuthUserRequestSetIp never stored the new IP's due to
hno [Fri, 26 Oct 2001 00:08:47 +0000 (00:08 +0000)] 
authenticateAuthUserRequestSetIp never stored the new IP's due to
an inverted condition.

23 years agoBe both stricter and more relaxed when reading TLV records
hno [Wed, 24 Oct 2001 14:52:37 +0000 (14:52 +0000)] 
Be both stricter and more relaxed when reading TLV records
 * VOID is reserved
 * allow for some new types without choking (10)

23 years agoformat fixes
hno [Wed, 24 Oct 2001 14:19:07 +0000 (14:19 +0000)] 
format fixes

23 years agoformat fixes
hno [Wed, 24 Oct 2001 13:45:33 +0000 (13:45 +0000)] 
format fixes

23 years agoformat fixes
hno [Wed, 24 Oct 2001 12:55:43 +0000 (12:55 +0000)] 
format fixes

23 years agoformat fixes
hno [Wed, 24 Oct 2001 12:16:16 +0000 (12:16 +0000)] 
format fixes

23 years agoformat error fixes
hno [Wed, 24 Oct 2001 11:46:26 +0000 (11:46 +0000)] 
format error fixes

23 years agoFirst batch of format error fixes
hno [Wed, 24 Oct 2001 11:26:12 +0000 (11:26 +0000)] 
First batch of format error fixes

23 years agoDon't consider PURGE as proxy requests when running as a accelerator, but
hno [Wed, 24 Oct 2001 08:25:08 +0000 (08:25 +0000)] 
Don't consider PURGE as proxy requests when running as a accelerator, but
allow these to be processed as normal.

23 years agoAdded configure options to "squid -v"
hno [Tue, 23 Oct 2001 18:14:46 +0000 (18:14 +0000)] 
Added configure options to "squid -v"

23 years agoRemoved duplicate ipcacheInvalidate call
hno [Tue, 23 Oct 2001 17:05:16 +0000 (17:05 +0000)] 
Removed duplicate ipcacheInvalidate call

23 years agoPlug some memory leaks on invalid requests.
hno [Tue, 23 Oct 2001 17:00:41 +0000 (17:00 +0000)] 
Plug some memory leaks on invalid requests.

Alerted by Radu Greab on squid-dev May 30, and a quick investigation along
the same lines revealed more leaks.

23 years agoEnable GCC to check printf style arguments
hno [Tue, 23 Oct 2001 05:55:43 +0000 (05:55 +0000)] 
Enable GCC to check printf style arguments

23 years agoRemoved type dependency on glib.h. This is not needed as configure
hno [Tue, 23 Oct 2001 05:35:07 +0000 (05:35 +0000)] 
Removed type dependency on glib.h. This is not needed as configure
checks for all variants, and the glib wrappers crashes the build if
activated as glib.h is not always included..

23 years agoRemoved the default request_body_max_size limit. There is no reason why we
hno [Mon, 22 Oct 2001 20:40:23 +0000 (20:40 +0000)] 
Removed the default request_body_max_size limit. There is no reason why we
should by default impose a limit on the request body sizes.

23 years agoProperly account "Store Disk files open" in "aufs", even if the opening
hno [Mon, 22 Oct 2001 15:41:39 +0000 (15:41 +0000)] 
Properly account "Store Disk files open" in "aufs", even if the opening
fails or otherwise is rejected by the I/O layer.

23 years agoProtect acl types requiring a request from NULL pointer dereference
hno [Mon, 22 Oct 2001 07:22:45 +0000 (07:22 +0000)] 
Protect acl types requiring a request from NULL pointer dereference
if used in contexts where there is no request (snmp_access for example)

23 years agossl_unclean_shutdown needs to be ifdef USE_SSL
hno [Sat, 20 Oct 2001 17:12:37 +0000 (17:12 +0000)] 
ssl_unclean_shutdown needs to be ifdef USE_SSL

23 years agoBugzilla #131
hno [Sat, 20 Oct 2001 15:32:51 +0000 (15:32 +0000)] 
Bugzilla #131

Added a recommended default rule to block access TO localhost

commented out by default as some people need to be able to access
localhost, or run in environments where DNS isn't used
(never_direct allow all).

23 years agoMore minor https_port documentation cleanups
hno [Sat, 20 Oct 2001 05:49:36 +0000 (05:49 +0000)] 
More minor https_port documentation cleanups

23 years agoMinor cleanup of https_port options documentation
hno [Sat, 20 Oct 2001 05:40:28 +0000 (05:40 +0000)] 
Minor cleanup of https_port options documentation

23 years agoSSL update from the "ssl" branch at SourceForge
hno [Sat, 20 Oct 2001 04:34:48 +0000 (04:34 +0000)] 
SSL update from the "ssl" branch at SourceForge

* Several SSL tweaking options
  - SSL version per https_port, no longer a global setting
  - supported chipers, per https_port
  - supported protocols, per https_port
  - connection shutdown method

* Fix the bug reported by Noel Burton-Krahn where SSL connections
  could get hung with data pending in the SSL internal buffers. Mostly
  seen on large POST/PUT requests, but could in theory appear on any
  request larger than 4K.

23 years agoSunPRO cc found a bug.. adrian changed the argument name to htime,
hno [Thu, 18 Oct 2001 03:37:28 +0000 (03:37 +0000)] 
SunPRO cc found a bug.. adrian changed the argument name to htime,
but forgot to update the assertion.

23 years agoGet rid of a "unused variable" warning when NTLM fail open isn't enabled
hno [Thu, 18 Oct 2001 03:05:00 +0000 (03:05 +0000)] 
Get rid of a "unused variable" warning when NTLM fail open isn't enabled

23 years agoMany small compiler warning fixes, mainly const strings
hno [Thu, 18 Oct 2001 02:25:01 +0000 (02:25 +0000)] 
Many small compiler warning fixes, mainly const strings

23 years agoBacked out bad/unneded cleanup
hno [Thu, 18 Oct 2001 01:50:50 +0000 (01:50 +0000)] 
Backed out bad/unneded cleanup

23 years agoSome warning fixes
hno [Thu, 18 Oct 2001 01:46:43 +0000 (01:46 +0000)] 
Some warning fixes

23 years agoMany small warning fixes, const and missing prototypes
hno [Thu, 18 Oct 2001 01:43:39 +0000 (01:43 +0000)] 
Many small warning fixes, const and missing prototypes

23 years agoMany small warning fixes, mostly const related
hno [Thu, 18 Oct 2001 01:33:06 +0000 (01:33 +0000)] 
Many small warning fixes, mostly const related

23 years agoANSI:fied the SNMP functions, and removed some stale junk
hno [Thu, 18 Oct 2001 01:05:37 +0000 (01:05 +0000)] 
ANSI:fied the SNMP functions, and removed some stale junk
and some const cleanup

23 years agoConverted to ANSI C
hno [Wed, 17 Oct 2001 23:55:23 +0000 (23:55 +0000)] 
Converted to ANSI C

23 years agobootstrapped
hno [Wed, 17 Oct 2001 23:11:29 +0000 (23:11 +0000)] 
bootstrapped

23 years agoNamespace cleanup of the digest and ntlm schemes
hno [Wed, 17 Oct 2001 23:09:08 +0000 (23:09 +0000)] 
Namespace cleanup of the digest and ntlm schemes

23 years agoThere is no need to include <ldap_cdefs.h>. This is an OpenLDAP internal
hno [Wed, 17 Oct 2001 21:29:06 +0000 (21:29 +0000)] 
There is no need to include <ldap_cdefs.h>. This is an OpenLDAP internal
include file, and breaks compability with other LDAP implementation.

23 years agoThe "aufs" and "diskd" stores also had the same sfileno confusion. Obvious
hno [Wed, 17 Oct 2001 21:00:54 +0000 (21:00 +0000)] 
The "aufs" and "diskd" stores also had the same sfileno confusion. Obvious
case of copy-paste programming.

23 years agoSimplified code flow to not confuse SunPRO cc into thinking that variables
hno [Wed, 17 Oct 2001 20:59:34 +0000 (20:59 +0000)] 
Simplified code flow to not confuse SunPRO cc into thinking that variables
are used unassigned..

23 years agobootstrapped
hno [Wed, 17 Oct 2001 20:54:58 +0000 (20:54 +0000)] 
bootstrapped

23 years ago--use-pthreads needs to add thread compiler options on Solaris
hno [Wed, 17 Oct 2001 20:54:36 +0000 (20:54 +0000)] 
--use-pthreads needs to add thread compiler options on Solaris

23 years agoMore SunPRO cc warnings and errors..
hno [Wed, 17 Oct 2001 19:43:06 +0000 (19:43 +0000)] 
More SunPRO cc warnings and errors..

* Some signed/unsigned char conflicts
* Errored out on a // comment.. this is C not C++.
* cleanup of sfileno usage in "ufs".. not good to have variables named the
  same as a type.. and even worse when the type differs.

23 years agoFixes various warnings emitted in lib by the SunPRO cc compiler, and
hno [Wed, 17 Oct 2001 19:30:49 +0000 (19:30 +0000)] 
Fixes various warnings emitted in lib by the SunPRO cc compiler, and
synchronized the MD5 prototypes with OpenSSL.

* MD5 operates on binary data, not characters. Avoid signed/unsigned issues
* The bswap16/32 macros was not signed/unsigned safe
* lib/rfc2617 had several spurious extra ;
* MD5Final wants an unsigned char *

23 years agoindent
hno [Wed, 17 Oct 2001 18:41:48 +0000 (18:41 +0000)] 
indent

23 years agoMinor cosmetic fix of squid_ldap_auth usage message
hno [Wed, 17 Oct 2001 18:33:34 +0000 (18:33 +0000)] 
Minor cosmetic fix of squid_ldap_auth usage message

23 years agoA bunch of quick patches to silence gcc warnings when compiling
adrian [Wed, 17 Oct 2001 16:59:08 +0000 (16:59 +0000)] 
A bunch of quick patches to silence gcc warnings when compiling
with FreeBSD's BDECFLAGS. These include duplicate declarations,
declarations shadowing global declarations, implicit type size
and signed/unsigned conversions.

23 years agoMake xcalloc() take size_t in both it's arguments. This to match the
hno [Wed, 17 Oct 2001 07:36:05 +0000 (07:36 +0000)] 
Make xcalloc() take size_t in both it's arguments. This to match the
definition of calloc().

23 years agoDon't mess with libexecdir in the makefiles. This is the job of configure
hno [Tue, 16 Oct 2001 20:25:57 +0000 (20:25 +0000)] 
Don't mess with libexecdir in the makefiles. This is the job of configure

23 years agomemcpy and friends requires string.h
hno [Mon, 15 Oct 2001 15:57:36 +0000 (15:57 +0000)] 
memcpy and friends requires string.h

23 years agoindent
hno [Sat, 13 Oct 2001 05:33:00 +0000 (05:33 +0000)] 
indent

23 years agoPotential fix for Bugzilla #236
hno [Sat, 13 Oct 2001 00:20:23 +0000 (00:20 +0000)] 
Potential fix for Bugzilla #236

Reading the code shows that if the reply contains a single truncated entry
then rfc1035AnswersUnpack will return 0 records, possibly causing assertion
failure in rfc1035RRDestroy

23 years agotosaddracl messed up one of the comments
hno [Thu, 11 Oct 2001 19:12:57 +0000 (19:12 +0000)] 
tosaddracl messed up one of the comments

23 years agoCommit Roger Venning's TOS/source address ACL selection work.
adrian [Wed, 10 Oct 2001 21:17:37 +0000 (21:17 +0000)] 
Commit Roger Venning's TOS/source address ACL selection work.
This code allows the user to set ToS bits or the source address
of an ACL by defining an ACL and then using that ACL in
(mutiple instances of the) tcp_outgoing_address statement.

23 years agoUnwrap globals.h
hno [Mon, 8 Oct 2001 23:04:03 +0000 (23:04 +0000)] 
Unwrap globals.h

23 years agoOops..
hno [Mon, 8 Oct 2001 22:55:25 +0000 (22:55 +0000)] 
Oops..

23 years agoBugzilla #11: Some Header Files Not Wrapped Or Wrapped Improperly
hno [Mon, 8 Oct 2001 22:18:31 +0000 (22:18 +0000)] 
Bugzilla #11: Some Header Files Not Wrapped Or Wrapped Improperly

23 years agoThe rearrangement of store/file numbers broke the on-disk STORE_META_STD
hno [Mon, 8 Oct 2001 21:05:11 +0000 (21:05 +0000)] 
The rearrangement of store/file numbers broke the on-disk STORE_META_STD
TLV field in the on-disk file header.

23 years ago* Be more consistent with OpenLDAP tools in how to specify the LDAP server
hno [Sat, 6 Oct 2001 04:30:38 +0000 (04:30 +0000)] 
* Be more consistent with OpenLDAP tools in how to specify the LDAP server
  -h hostname

* Allow for more than one LDAP server to be specified

23 years agoOops..
hno [Sat, 6 Oct 2001 03:58:58 +0000 (03:58 +0000)] 
Oops..

23 years agoBe consistent with most other helpers in how to manage spaces. If there
hno [Sat, 6 Oct 2001 03:54:03 +0000 (03:54 +0000)] 
Be consistent with most other helpers in how to manage spaces. If there
is space characters then assume these are from the password, not the login
name.

23 years agoSome spelling corrections
hno [Thu, 4 Oct 2001 18:47:59 +0000 (18:47 +0000)] 
Some spelling corrections

23 years agoAdded a warning about append_domain blocking access to top-domain sites
hno [Thu, 4 Oct 2001 05:11:05 +0000 (05:11 +0000)] 
Added a warning about append_domain blocking access to top-domain sites
such as http://dk/, http://cc/ or http://tv/

23 years agoFurther cleanup of quick_abort description. It is wrong to say that
hno [Thu, 4 Oct 2001 05:00:07 +0000 (05:00 +0000)] 
Further cleanup of quick_abort description. It is wrong to say that
it can be configured to continue downloading when in fact the default
is to continue if there is less than 16 KB remaining.

23 years agoMake the wording in quick_abort less ambigous. Lots of people seem to
hno [Thu, 4 Oct 2001 04:56:20 +0000 (04:56 +0000)] 
Make the wording in quick_abort less ambigous. Lots of people seem to
think that quick_abort_min actually makes Squid to never continuing
the downloads..

23 years agoCosmetic: Added a missing linefeed from a lowlevel debug message
hno [Thu, 4 Oct 2001 02:12:47 +0000 (02:12 +0000)] 
Cosmetic: Added a missing linefeed from a lowlevel debug message

23 years agoBootstrapped with maintainer mode
hno [Wed, 3 Oct 2001 20:56:50 +0000 (20:56 +0000)] 
Bootstrapped with maintainer mode

23 years agoDon't rely on getcwd(NULL,..) allocating the needed memory. This is
hno [Wed, 3 Oct 2001 15:16:13 +0000 (15:16 +0000)] 
Don't rely on getcwd(NULL,..) allocating the needed memory. This is
non-standardized and implementation dependent.

23 years agoAdded maintainer mode to not have automake dependencies rebuild automake
hno [Wed, 3 Oct 2001 15:02:24 +0000 (15:02 +0000)] 
Added maintainer mode to not have automake dependencies rebuild automake
files bo default. This is likely to be confusing and causing lots of problems
to the causal user, especially considering the rather strict requirements
we have on automake versions...

23 years agoRemoved all trailing spaces
hno [Tue, 2 Oct 2001 00:28:04 +0000 (00:28 +0000)] 
Removed all trailing spaces

23 years ago! is an shell extension not supported on all platforms.. use a dummy
hno [Mon, 1 Oct 2001 23:21:58 +0000 (23:21 +0000)] 
! is an shell extension not supported on all platforms.. use a dummy
true statement instead.

23 years ago* Lower the priority of DNS "giving up after..." messages to debuglevel 2.
hno [Mon, 1 Oct 2001 20:20:02 +0000 (20:20 +0000)] 
* Lower the priority of DNS "giving up after..." messages to debuglevel 2.

* Make DNS use udp_incoming_address id udp_outgoing_address isn't set

* Log the address and port of the DNS query port, not only the internal FD

23 years agoOops.. Some extra spaces got added somehow.
hno [Mon, 1 Oct 2001 18:46:13 +0000 (18:46 +0000)] 
Oops.. Some extra spaces got added somehow.

23 years agoBugzilla #241: assignment instead of equality in src/url.c:320
wessels [Sat, 29 Sep 2001 02:02:40 +0000 (02:02 +0000)] 
Bugzilla #241: assignment instead of equality in src/url.c:320

23 years agoResurrected Duanes old sleep_after_fork patch. This needed or we will
hno [Fri, 28 Sep 2001 03:59:22 +0000 (03:59 +0000)] 
Resurrected Duanes old sleep_after_fork patch. This needed or we will
race with ourselves for swap space when restarting helpers. The hello
test is not really sufficient, we must also wait for the child to actually
exec() before forking again. In the event that we are starting many
helpers who uses CPU it is not too unlikely to see a newly started child
to be context switched before exec().

Anyway, default configuration does nothing. To activate this one must
configure sleep_after_fork in squid.conf so it is a quite harmless patch,
and if it helps some people, fine.

23 years agoCreate logs dir during install
robertc [Wed, 26 Sep 2001 05:56:22 +0000 (05:56 +0000)] 
Create logs dir during install

23 years agoMove CACHE_HTTP_PORT and CACHE_ICP_PORT from config.h.in to acconfig.h.
robertc [Wed, 26 Sep 2001 05:45:12 +0000 (05:45 +0000)] 
Move CACHE_HTTP_PORT and CACHE_ICP_PORT from config.h.in to acconfig.h.
Move config.h.in to config.h to reduce unneeded recompilations after a configure.
Regenerate autotools files.

23 years agoRemoved copyright section. Not set.
hno [Tue, 25 Sep 2001 11:53:39 +0000 (11:53 +0000)] 
Removed copyright section. Not set.

23 years agosquid_ldap_auth documentation update. Make the two modes of operation
hno [Tue, 25 Sep 2001 11:49:32 +0000 (11:49 +0000)] 
squid_ldap_auth documentation update. Make the two modes of operation
more obvious.

23 years agoBacked out some bad delay-pool changes (Revision 1.542)
hno [Mon, 24 Sep 2001 04:17:51 +0000 (04:17 +0000)] 
Backed out some bad delay-pool changes (Revision 1.542)

23 years agoAdd some initial COSS information for people.
adrian [Wed, 19 Sep 2001 19:23:30 +0000 (19:23 +0000)] 
Add some initial COSS information for people.

From: diskio branch

23 years agoBugfix: Vary failed to calculate the variance when going thru a parent.
hno [Wed, 19 Sep 2001 01:04:28 +0000 (01:04 +0000)] 
Bugfix: Vary failed to calculate the variance when going thru a parent.
I obviously never learn to use httpState->orig_request when accessing
client data. Not the first time I have been bitten by httpState->request
being a bogus request missing most of the vital information when using
a peer proxy (only contains the request line, and how to contact the peer).

23 years agoFix for a segfault in ftp.c when only creating directories
hno [Tue, 18 Sep 2001 19:55:00 +0000 (19:55 +0000)] 
Fix for a segfault in ftp.c when only creating directories
(PUT with a trailing slash and no filename, content-length == 0)

23 years agojust reformatting long lines in comments to be less than 80 chars
wessels [Tue, 18 Sep 2001 10:17:02 +0000 (10:17 +0000)] 
just reformatting long lines in comments to be less than 80 chars

23 years agomade struct _digest_nonce_h use 'hash_link hash' directlty instead
wessels [Tue, 18 Sep 2001 10:10:50 +0000 (10:10 +0000)] 
made struct _digest_nonce_h use 'hash_link hash' directlty instead
of key,next elements that look just like the hash_link.

23 years agoChange of email to hno@squid-cache.org
hno [Wed, 12 Sep 2001 15:45:53 +0000 (15:45 +0000)] 
Change of email to hno@squid-cache.org

23 years agoGuido: found another function declare mismatch between protos.h and StatHist.c
hno [Mon, 10 Sep 2001 01:57:10 +0000 (01:57 +0000)] 
Guido: found another function declare mismatch between protos.h and StatHist.c
statHistDump

23 years agoRemove MEM_STMEM_BUF from the scene, and statically define the stmem
adrian [Sat, 8 Sep 2001 00:02:44 +0000 (00:02 +0000)] 
Remove MEM_STMEM_BUF from the scene, and statically define the stmem
buffer into the mem_node struct. This should cut down on the number
of allocation requests made per HTTP request.

23 years agooops, need to add .txt to all target
wessels [Fri, 7 Sep 2001 07:32:43 +0000 (07:32 +0000)] 
oops, need to add .txt to all target

23 years agomake .txt version also
wessels [Fri, 7 Sep 2001 07:30:32 +0000 (07:30 +0000)] 
make .txt version also

23 years agoBugzilla #229: storeAufsOpenDone filedescriptor leak
wessels [Fri, 7 Sep 2001 06:51:21 +0000 (06:51 +0000)] 
Bugzilla #229: storeAufsOpenDone filedescriptor leak
patch from Brian (hiryuu of envisiongames dot net)

23 years agoAdded missing lib/ path
hno [Fri, 7 Sep 2001 03:37:29 +0000 (03:37 +0000)] 
Added missing lib/ path