cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Program goes into infinite state.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 23 Apr 2012 14:27:51 +0200 (CEST)

On Mon, 23 Apr 2012, Yuvi yuvi wrote:

> root_at_dm37x-evm:/# ./curl -u root:LinuxDev_ -v -O sftp://
> 192.168.10.1/mnt/package.QuipC

...

> After this " 0 0 0 0 0 0 0 0 --:--:-- 0:01:39
> --:--:-- 0"

> nothing happens I have to manually abort execution using Ctrl + c, and even
> no core dump is generated. Please let me know if there is any work around
> for this situation.

"This situation" seems to be that no data is being sent from the remote
server. curl sits there waiting for data to arrive but nothing comes.

If you are suggesting the server sends data but curl doesn't receive it, then
it might be a bug. Then I would ask you to try the latest libssh2+curl
versions to see if that changes anything and it it doesn't, I would suggest
you need to dive into libssh2 land and try a more "raw" libssh2-using code to
see if you can track down where the problem first appears.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-23