Subject: Re: Timeouts

Re: Timeouts

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Apr 2009 22:55:36 +0200 (CEST)

On Wed, 22 Apr 2009, double wrote:

>>> Is there an easy way to set a timeout to libssh2?

>> Not really (the way I think you mean).
>
> Thank you very much for your answer. I am using libssh2 in a blocking
> manner. Could I use "libssh2_poll_channel_read" or "libssh2_poll" to prevent
> this dead processes?

I already answered to the extent of my knowledge.

No, libssh2_poll_channel_read() or libssh2_poll() won't save you and they're
both also defective and deemed deprecated.

-- 
  / daniel.haxx.se
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-04-22