#254: keepalive + blocking scp = LIBSSH2_ERROR_BAD_USE ---------------------+-------------------- Reporter: ArtemGr | Owner: Type: defect | Status: new Priority: normal | Milestone: 1.4.3 Component: SCP | Version: 1.4.2 Keywords: | Blocked By: Blocks: | ---------------------+-------------------- I'm seeing LIBSSH2_ERROR_BAD_USE from blocking libssh2_channel_write_ex when keepalive is enabled with libssh2_keepalive_config.
Source: https://gist.github.com/4364070 LIBSSH2_ERROR_BAD_USE happens on line 362 if keepalive is turned on at line 305. (Enabling or commenting out the libssh2_keepalive_send on line 265 makes no difference). -- Ticket URL: <https://trac.libssh2.org/ticket/254> libssh2 <https://trac.libssh2.org/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel