cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: TFTP transfer is not aborted by non-zero value returnedbyCURLOPT_PROGRESSFUNCTION

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 30 Sep 2011 23:04:19 +0200 (CEST)

On Tue, 27 Sep 2011, Marcin Adamski wrote:

> Here is my fix. In file multi.c, at the end of function multi_runsingle(...)
> I made a change marked with comment:
>
> /* if there's still a connection to use, call the progress function */
> else if(easy->easy_conn && Curl_pgrsUpdate(easy->easy_conn)) {
> easy->result = CURLE_ABORTED_BY_CALLBACK;
> multistate(easy, CURLM_STATE_COMPLETED); // line added by me
> }

I believe you're entirely correct here! I've committed and pushed this change
just now.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-30