robertc [Wed, 28 Nov 2001 15:01:41 +0000 (15:01 +0000)]
Latest bugfixes from the NTLM development branch.
These include
* A memory leak in the auth infrastructure.
* Debugging and reliability fixes to the NTLMSSP helper.
* The brand spanking new winbindd helper developed by Kinkie with input from
the SAMBA team. This helper should eliminate the occasional errors currently
plaguing NTLM with the NTLMSSP helper. It's included for completeness, as
it has no squid-internal changes, but the actual helper needs some serious
user bashing to be called stable.
robertc [Wed, 28 Nov 2001 10:02:30 +0000 (10:02 +0000)]
* Remove the autoconf path overrides from configure.in
* Update icons and errors to install to $(sharedstatedir)/squid/icons
and ... errors. This could be simply $(sharedstatedir)/icons and errors,
but I don't think there is much call for reusing the squid specific
stuff :}. The shareing is for NFS installs and the like via the
autoconf site override capability.
* ERR_LANGUAGE and --enable-err-language to ERR_DEFAULT_LANGUAGE to
allow choice of which of the installed languages is to be used, without
preventing the install of all languages.
* New option --enable-err-languages to choose specific languages to
install.
* blindly overwrite any existing error files, if users have custom files
they should place them in a directory of their own.
hno [Wed, 14 Nov 2001 04:27:47 +0000 (04:27 +0000)]
Not all versions of GCC is very happy about expressions in __attribute__
definitions. (works, but complains a bit... looks like GCC bugs)
/home/users/h/hn/hno/squid/src/protos.h:1068: syntax error, found `+'
/home/users/h/hn/hno/squid/src/protos.h:1068: illegal function definition, found `)'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
hno [Wed, 14 Nov 2001 01:11:19 +0000 (01:11 +0000)]
Clean swap.state rotation was completely fucked up for most stores.. and
has been for a very long time (probably since modio merge). Only diskd
worked.
hno [Wed, 14 Nov 2001 00:30:45 +0000 (00:30 +0000)]
Don't swap out "SPECIAL" entries such as icons. We don't log these anyway
so there is no way they can be reused after a restart, and they are never
released from memory until destroyed..
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)
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.
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..
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.
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.
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 *
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.