Subject: Re: Timeouts

Re: Timeouts

From: double <>
Date: Wed, 22 Apr 2009 11:28:34 +0200

Daniel Stenberg schrieb:
> On Tue, 21 Apr 2009, double wrote:
>> Is there an easy way to set a timeout to libssh2?
> Not really (the way I think you mean).
> Without modifying libssh2, you can switch to using it in a non-blocking manner
> as then you can do the time-out logic yourself in your app.

Hello Daniel,

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?

Thank you very much

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.

libssh2-devel mailing list
Received on 2009-04-22