libssh2-hs icon indicating copy to clipboard operation
libssh2-hs copied to clipboard

scpReceiveFile hangs forever if the source file is empty

Open bfrk opened this issue 1 year ago • 2 comments

I guess there is not much more to be said here. I can provide simple test program if desired.

bfrk avatar Apr 04 '23 17:04 bfrk

I am starting to believe this is a bug in libssh2. Adding a debug message before and after channel_read_ex shows that it is the call to channel_read_ex that hangs.

bfrk avatar Apr 04 '23 19:04 bfrk

Possibly https://github.com/libssh2/libssh2/issues/105 (closed because of inactivity, not fixed).

bfrk avatar Apr 04 '23 20:04 bfrk