cURL / Mailing Lists / curl-library / Single Mail


[PATCH] broken servers send bad deflate streams

From: Daniel Stenberg <>
Date: Mon, 24 Apr 2006 01:24:32 +0200 (CEST)


As has been reported before several times and as was once attempted to be
fixed (although the author vanished before the patch was in a sensible state),
some servers sends bad deflate stream that lacks the header.

I got a URL privately that returns such a content and I wrote up a patch after
reading some Firefox code that does the similar work-around (see patch for URL
to the Firefox code).

I'm not sure this patch is working perfectly so I would like someone who
experiences this problem and knows how the content should look like to see if
this patch fixes the problem or if it needs some further tweaks.

  Commercial curl and libcurl Technical Support:

Received on 2006-04-24