cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re: TFTP transfer is not aborted by non-zero valuereturnedbyCURLOPT_PROGRESSFUNCTION

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 2 Oct 2011 21:56:37 +0200 (CEST)

On Sun, 2 Oct 2011, Marcin Adamski wrote:

>> I don't have any quick and easy way to drop my interface since I run the
>> test on a single machine. What if I shut down the TFTP server in the midst
>> of the transfer, would that trigger the same sympthom for you?
>
> That should make it. In my real application that problem occured when I
> stopped receiving TFTP frames and then I aborted transfer from progress
> callback. When no data is received that callback is called only at the end
> of function multi_runsingle(...). That's where bug was.

Okay, but I've tried this several times and I can't reapat any hang or similar
using this method (using current git)...

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