Archive Index
This month's Index
|
Subject: [ libssh2-Bugs-2854355 ] ssh daemon drops connection if file size 14MB or more
[ libssh2-Bugs-2854355 ] ssh daemon drops connection if file size 14MB or more
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 05 Jan 2010 12:22:48 +0000
Bugs item #2854355, was opened at 2009-09-08 15:47
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
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.
System information:
Please let me know if you need further information.
Thanks for your help in advance.
----------------------------------------------------------------------
Comment By: Andre (schmittty)
Message:
----------------------------------------------------------------------
Comment By: Andre (schmittty)
Message:
Sun plans to provide this fix (interoperability fix) within the next two
Problem report will be closed when the official fix from Sun is
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
But still, this is the server dropping a connection that otherwise works
----------------------------------------------------------------------
Comment By: Andre (schmittty)
Message:
----------------------------------------------------------------------
Comment By: alamaison (alamaison)
Message:
HTH
Alex
----------------------------------------------------------------------
Comment By: Andre (schmittty)
Message:
Furthermore I analysed the ssh daemon debug information and saw several
"sshd[27686]: [ID 800047 auth.crit] fatal: buffer_append_space: alloc
trace outputs before the ssh daemon (sun sshd version Sun_SSH_1.1.1) close
Any idea what caused the ssh daemon to call buffer_append_space?
Thanks
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
----------------------------------------------------------------------
You can respond by visiting:
|