cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: minor bug fix for chunked uploads

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 22 Oct 2008 12:54:10 -0700

On Fri, Oct 17, 2008 at 07:12:34PM -0700, Steve Roskowski wrote:
> a minor bug fix...in 7.19.0.
>
> when doing a chunked upload with a read callback function, if the
> callback function returns a CURL_READFUNC_PAUSE result,
> libcurl puts a faulty byte stream on the wire, inserting extra bytes
> of grabage which causes the server to abandon the connection and
> libcurl to get out of sink, spitting the remains of the upload into
> the ether.

Looks good to me. This shows the lack of pause testing in the test suite.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-10-22