curl-library
Re: Re: TFTP transfer is not aborted by non-zero valuereturnedbyCURLOPT_PROGRESSFUNCTION
From: Marcin Adamski <mass85_at_tlen.pl>
Date: Sun, 02 Oct 2011 20:28:28 +0200
Date: Sun, 02 Oct 2011 20:28:28 +0200
> 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.
Regards
Marcin Adamski
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-02