cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_INFILESIZE and padded files

From: Peter Seebach <seebs_at_plethora.net>
Date: Wed, 17 Jan 2007 16:16:34 -0600

In message <Pine.LNX.4.64.0701172240570.25738_at_yvahk3.pbagnpgbe.fr>, Daniel Stenberg writes:
>It sounds weird. Are you *sure* that off-by-one is really within libcurl and
>not in the app end? There are a few users of libcurl already, and some of them
>do in fact use uploads and none has reported this problem.

I am not even sure there's an off-by-one error at all. There is an error
code 18 which I get even though the file is in fact coming out as exactly
the size that I passed in as INFILESIZE.

-s
Received on 2007-01-17