Kalle Olavi Niemitalo <[EMAIL PROTECTED]> wrote on Sun,  3 Jun 2007
at 10:48:09 +0300 in <[EMAIL PROTECTED]>:

> I see.  The gzclearerr function was added in zlib 1.2.0.2,
> released on 2003-07-13.

Solaris 10 ships with zlib 1.1.4 (2002-03-11).

> Have you tested the resulting binary, especially with slow sites
> and Transfer-Encoding: chunked?

I have not...do you have a good test case?

> Can we assume that on Solaris 10 which does not have gzclearerr,
> stdio does not actually set the flag?

Hmm...Solaris 10 certainly does have clearerr(). The stdio
documentation is not very clear about when that flag is set.

Would it be sufficient to call clearerr() on the fd that
gzip_open() was called with? I guess it would be hairy to save
the fd.

> Otherwise, can we work around the problem by disabling
> Accept-Encoding: gzip when gzclearerr is not available?

I suppose so. My focus was just trying to get elinks to build,
and I had the impression that the gzclearerr() was only necessary
in rare cases.

> So please also test 0.11.3 (or the upcoming 0.11.4) if possible.

I'd be happy to, given a test case.

[EMAIL PROTECTED]
  John Hawkinson
_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

Reply via email to