Subject: Re: [PATCH] libssh2_channel_receive_window_adjust: adjust the remote window_size

Re: [PATCH] libssh2_channel_receive_window_adjust: adjust the remote window_size

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 30 Aug 2011 23:47:49 +0200 (CEST)

On Tue, 30 Aug 2011, m odd wrote:

> what's about packet.c:708, does it forget to change remote.window_size?

> + channelp->remote.window_size = 0;

Yes, that seems like the correct thing to do there. Of course that's an
unusual situation so perhaps that's rather an indication of an earlier
problem...

> 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.

I fail to see how the change above will fix that though. It looks more like
the opposite!

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-08-30