Subject: Re: libssh2 hangs in channel_close()

Re: libssh2 hangs in channel_close()

From: Daniel Stenberg <>
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

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.

Received on 2010-04-13