Subject: [libssh2] #194: Scp Bug

[libssh2] #194: Scp Bug

From: libssh2 Trac <trac_at_libssh2.stuge.se>
Date: Sun, 31 Oct 2010 14:13:44 -0000

#194: Scp Bug
-----------------------+----------------------------------------------------
  Reporter: robocide | Owner:
      Type: defect | Status: new
  Priority: high | Milestone: 1.2.7
 Component: SCP | Version: 1.2.7
  Keywords: | Blocks:
Blocked By: |
-----------------------+----------------------------------------------------
 after trying to send 40 files from multiple threads ,
 when the first file is 32mb,and all the rest are 124 bytes,

 when i reach to the 11th file i encouter a session problem,
 with error code of -21 , the below is part of the output of my
 program,marked is the error in the session ,

 i've changed the loop to do the same with 10 files and the problem does
 not occur.

 also the same does not occur using sftp.

 File Opened Sucessfully
 Handling file :myfile.check_9
 Sucessfully Read :124 Bytes
 Sucessfully Sent :124 Bytes
 File Sent!! Reached End of File
 File Opened Sucessfully
 Handling file :myfile.check_9
 Sucessfully Read :124 Bytes
 Sucessfully Sent :124 Bytes
 File Sent!! Reached End of File
 File Opened Sucessfully
 '''Unable to open a session: (-21) Channel open failure
 Thread 0 terminated
 Unable to open a session: (-21) Channel open failure'''
 Thread 1 terminated
 Round-trip Time: 14404095 us
 Main Thread : Shuting down Libssh2 Library

-- 
Ticket URL: <http://trac.libssh2.org/ticket/194>
libssh2 <http://trac.libssh2.org/>
C library for writing portable SSH2 clients
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-10-31