Subject: [libssh2] #254: keepalive + blocking scp = LIBSSH2_ERROR_BAD_USE

[libssh2] #254: keepalive + blocking scp = LIBSSH2_ERROR_BAD_USE

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Tue, 08 Jan 2013 00:30:49 -0000

#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
Received on 2013-01-08