Guys, That is not a issue. My problem was the calling of curl_easy_pause function in a different thread.
Thank you for your attention and Best Regards, Antonio Cosme 2012/1/18 Chronos CC <[email protected]> > Hi all, > > I'm trying to implement a client of SFTP protocol (using libcURL) to > download a couple of files in the same time. So I'm using multi interface > to do it. > But is necessary to implement pause/resume functions. > I'm using curl_easy_pause to implement these functionalities. But in 50% > of times that I call that function I got an end transfer with status 56 > (CURLE_RECV_ERROR - Failure with receiving network data.). > > I put my codes in: http://pastebin.com/64zKrPYL > > The problem happens when I call function pauseDownload function in the > line 185. > > Help me, please, guys. > > Best Regards, > > Antonio Cosme >
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
