Ticket #116 (closed defect)
ssh daemon drops connection if file size 14MB or more
|Reported by:||schmittty||Owned by:||bagder|
|Keywords:||Cc:||schmittty, bagder, alamaison|
Currently I have an issue to copy files bigger than 14MB from remote host to local host (this barrier might differ on other) if I use the libssh2 library via libssh2_scp_recv() api call. Smaller files less than 14 MB are copied without an issue from remote host to local host. Furthermore scp command from shell doesn't show any issue by copying files above 14MB size. For the test the attached source â€œscp.câ€ from the example/simple is used with small modification.
The if I look to the libssh2 debug information and tcp trace I see that the ssh daemon refuses the tcp connection by TCP RESET flag. Currently I donâ€™t have further trace information from ssh daemon, about it this quite strange that the ssh daemon refuse the tcp connection when more bytes need to be exchanged between the peers.
I hope you can let me know root cause for the â€œscp - libssh2â€ issue.
- Sun Solaris Sparc 64-bit
- Openssl library is compiled with 64-bit (for sparcv9)
- libssh2 is compiled with 64-bit (with CFLAG=m64)
- libssh2 used Openssl library
- Issue is observed if files are exchanged on single machine and between two Sun Solaris machines.
Please let me know if you need further information.
Thanks for your help in advance.