Yes, it does no effort here.
what's about packet.c:708, does it forget to change remote.window_size?
if ((datalen - data_head) > channelp->remote.window_size) {
_libssh2_error(session,
LIBSSH2_ERROR_CHANNEL_WINDOW_EXCEEDED,
"Remote sent more data than current "
"window allows, truncating");
datalen = channelp->remote.window_size + data_head;
+ channelp->remote.window_size = 0;
}
else
/* Now that we've received it, shrink our window */
channelp->remote.window_size -= datalen - data_head;
I have a problem about remote.window_size, I haven't find out the real
bug.In my test
the remote.window_size is often reduce to 0 and nerver grow.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-08-30