Issue - necessary data rewind wasn't possible

2013-12-11 Thread sachin dravid
Hello, I am getting following error very frequently: Curl logs: === -connection died retrying a fresh connect -necessary data rewind wasn't possible === Sometimes it gets success in retry but sometimes it fails with necessary data rewind wasn't possible. Can anyone explain

Re: [Bulk] I want to delete file from sftp bu libcurl, but...

2013-12-11 Thread Gisle Vanem
?? 506017...@qq.com wrote: headerlist = curl_slist_append(headerlist, rm abc.c); result = curl_easy_setopt(curl, CURLOPT_POSTQUOTE, headerlist); Maybe the command should be dele abc.c under this SFTP-server. --gv --- List

Re: I want to delete file from sftp bu libcurl, but...

2013-12-11 Thread Dan Fandrich
On Wed, Dec 11, 2013 at 12:27:43PM +0100, Gisle Vanem wrote: 刘英伟 506017...@qq.com wrote: headerlist = curl_slist_append(headerlist, rm abc.c); result = curl_easy_setopt(curl, CURLOPT_POSTQUOTE, headerlist); Maybe the command should be dele abc.c under this SFTP-server. No, the sftp

Re: Issue - necessary data rewind wasn't possible

2013-12-11 Thread Daniel Stenberg
On Wed, 11 Dec 2013, sachin dravid wrote: Curl logs: === -connection died retrying a fresh connect -necessary data rewind wasn't possible === Sometimes it gets success in retry but sometimes it fails with necessary data rewind wasn't possible. Can anyone explain reason for

Re: libcurl's behaviour when CURLOPT_MAX_RECV_SPEED_LARGE is used

2013-12-11 Thread Mohammad_AlSaleh
On Tue, Dec 10, 2013 at 10:58:39PM +0100, Daniel Stenberg wrote: On Wed, 11 Dec 2013, Mohammad_AlSaleh wrote: CURLOPT_MAX_RECV_SPEED_LARGE on a file:// URL is not supported, and not a good idea. Although it also shouldn't harm anything. It doesn't make sense anyway. I just used it to

Re: [PATCH]

2013-12-11 Thread Daniel Stenberg
On Tue, 10 Dec 2013, Eric Lubin wrote: Oh, lovely fix. Thanks! Merged and pushed. -- / daniel.haxx.se --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: libcurl's behaviour when CURLOPT_MAX_RECV_SPEED_LARGE is used

2013-12-11 Thread Daniel Stenberg
On Wed, 11 Dec 2013, Mohammad_AlSaleh wrote: But are you saying you also see this same effect with other protocols? That's what I thought. But I can't reproduce with http now. So, I was probably wrong. OK, thanks. I can repeat it fine with your example on a FILE:// URL, and I've figured

looking for libcurl for armhf Ubuntu13.04

2013-12-11 Thread sites2972
Hello I am looking for libcurl in order to cross compile (under Ubuntu12.10) an application running at Beaglebone-Black Ubuntu13.04 . could some assist me : 1) choosing the right libcurl version, which I may install in Ubuntu12.10-Desktop 2) I'm

I have a question about the wildcard on the sftp server.

2013-12-11 Thread ??????
I have a question about the wildcard on the sftp server. I want to list the directory and get information of files , but the path contains wildcard (example sftp://admin:admin@132.40.130.35:22/ogsapp/tmp/hebh/sftptest/* ) Maybe the sftp can't support it , How can I solve this

Re: Issue - necessary data rewind wasn't possible

2013-12-11 Thread sachin dravid
Thanks for the help!! I have one more question on this. In this situation I am getting CURLE_OK. Because the connection has broken, I don't have HTTP code as well. I can make a retry on this particular case from my application, but if I get CURLE_OK how does my application recognize it? Could

[PATCH]

2013-12-11 Thread Eric Lubin
From 9c9cff156a8b1208edad400058192e9a0d35 Mon Sep 17 00:00:00 2001 From: Eric Lubin e...@lubin.us Date: Tue, 10 Dec 2013 20:01:07 -0800 Subject: [PATCH] lib/parsedate: Fixed an overflow check optimized out because of undefined behavior In C, signed integer overflow is undefined behavior.

RE: Issue - necessary data rewind wasn't possible

2013-12-11 Thread Yehezkel Horowitz
I have one more question on this. In this situation I am getting CURLE_OK. Because the connection has broken, I don't have HTTP code as well. I can make a retry on this particular case from my application, but if I get CURLE_OK how does my application recognize it? Could you please tell me how