Archive Index
This month's Index
|
Subject: Re: Bad window size in WINDOW_ADJUST from SSH.COM ssh server
Re: Bad window size in WINDOW_ADJUST from SSH.COM ssh server
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 12 Jun 2009 23:55:26 +0200 (CEST)
On Thu, 11 Jun 2009, robs_maillists_at_cotrone.com wrote:
> There seems to be an issue with libssh2 1.1 with SFTP while opening a
...
> [libssh2] 1.693161 Transport: Disconnect(2): Bad window size in
Ouch.
> [libssh2] 1.337098 Conn: Adjusting window 39321600 bytes for data on
Right. 39321600 is libssh2's current maximum window size it sets.
> sshconn.c:#define MAX_WINDOW_SIZE (16*1024*1024)
So it seem we have a bug where libssh2 decides a failure to set this huge
A quick work-around for your case is of course to edit src/channel.c to lower
-- / daniel.haxx.se ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ libssh2-devel mailing list libssh2-devel_at_lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-develReceived on 2009-06-12 |