[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to set up timeout


Hi,
I noticed, that functions like ssh_channel_request_exec or sftp_open never
return (or it takes very long time - didn't wait) if the connection is
lost. I tried setting SSH_OPTIONS_TIMEOUT with ssh_options_set, but it
didn't change anything.

So how can I prevent functions from blocking forever? Why only few
functions have *_timeout versions?

Regards,
FJ

Follow-Ups:
Re: How to set up timeoutAndreas Schneider <asn@xxxxxxxxxxxxxx>
Re: How to set up timeoutFranciszek Juras <franciszekjuras@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org