libssh2-hs
libssh2-hs copied to clipboard
scpReceiveFile hangs forever if the source file is empty
I guess there is not much more to be said here. I can provide simple test program if desired.
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.
Possibly https://github.com/libssh2/libssh2/issues/105 (closed because of inactivity, not fixed).