cURL / Mailing Lists / curl-library / Single Mail


Re: Bug in add_buffer_send while calling Curl_debug with request header data

From: Daniel Stenberg <>
Date: Fri, 16 Nov 2007 00:32:04 +0100 (CET)

On Thu, 15 Nov 2007, Yang Tse wrote:

> It doesn't make much sense to validate included_body_bytes against
> in->size_used only when CURL_DOES_CONVERSIONS. Probably it should be done in
> any case or just removed.

Indeed, that check should be removed, since it simply checks against bad input
that never should get there in the first place.

I'll convert it to an assert instead and commit!

  Commercial curl and libcurl Technical Support:
Received on 2007-11-16