[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Timeout in channel_open_session
[Thread Prev] | [Thread Next]
- Subject: Re: Timeout in channel_open_session
- From: Andreas Schneider <asn@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 10 Aug 2010 11:32:25 +0200
- To: libssh@xxxxxxxxxx
On Tuesday 10 August 2010 11:00:57 you wrote: > Hi! Hi Valentin, > So, the problem is in the following: > > if I’ve established ssh connection successfully using ssh_connect method, > and then after some time link between ssh client and server is broken (due > to some communication problems or firewall enabled), the call of > channel_open_session method from the second code snippet hangs the > application up to 15 minutes, while timeout being set in ssh_options_set > was about 30 seconds. where does it hang? Does it hang in the send() system call? strace -p <pid of your app> would help. Cheers, -- andreas
Re: Timeout in channel_open_session | Valentin Rodygin <carterqw@xxxxxxxxxxxxxx> |
Timeout in channel_open_session | Valentin Rodygin <carterqw@xxxxxxxxxxxxxx> |