On Sat 24 Mar 2001, [EMAIL PROTECTED] wrote:
>
> *NOTE* The use of zlib to enable compression should be considered a beta quality
> feature in this version. It requires the zlib library to compile it.
I've run into a small problem. While running convert-cache while
upgrading a 2.6 cache, it segfaulted. (It shouldn't be necessary to run
convert-cache in this case, should it? However, it shouldn't segfault
either then.)
I've traced it down to an U* file which is zero bytes; the D* file
contains the WWWOFFLE 503 Remote Host Error html file. The error given
is
Cannot open the HTTP connection to www.example.com port 80;
[Name Lookup Valid name, no data record of requested type].
It also says:
This error message has now been deleted from the cache
but obviously this isn't true as I'm readin this from a file in the
cache :-)
The segfault is at io.c, in function write_string(). It's the
if(fdzlib[fd])
line; fdzlib has not been allocated (yet?), so it's a NULL pointer
and using it as an array when it's NULL is the problem. Probably
this code normally can't be reached without first allocating memory for
the array, but I'm guessing that the empty U* file is causing this.
On another track: I've made some translations into dutch of the html
files. Where do I send them? They're also available as
http://www.murphy.nl/~paul/lang-nl.tar.gz
Paul Slootman
--
email work: [EMAIL PROTECTED]
email home: [EMAIL PROTECTED] | You're never lost if you
http://www.wurtel.demon.nl | don't care where you are.