cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: compressed content and ignorebody

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 20 Feb 2006 00:18:56 +0100 (CET)

On Sun, 19 Feb 2006, Shmulik Regev wrote:

> I've noticed that when I get responses with compressed content the
> ignorebody flag is not honored. This causes problems (at least for us) when
> an authorization negotiation process goes on. The fix is simple and it
> worked for me -- just add the check to ignorebody prior to the deflate calls
> like it is when no content encoding is used.

Thanks! I applied and committed just now. We could possibly rewrite that
section in the future to skip the entire switch() if ignorebody is set, but I
didn't have energy enough to fix that now.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-02-20