Subject: Re: libssh2 hangs in channel_close()

Re: libssh2 hangs in channel_close()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 Apr 2010 11:48:31 +0200 (CEST)

On Tue, 13 Apr 2010, Simon Josefsson wrote:

> I wonder why the curl self-tests for libssh2 didn't trigger this problem
> too? Don't they use libssh2_channel_free? What server is used?

libcurl uses libssh2_channel_free, yes and we run all SCP/SFTP tests against
OpenSSH.

The only likely reason I can think of is that in the curl case we don't close
down the connection/channel quite as fast so that we get the remote EOF before
libssh2_channel_free is called.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-04-13