ons 2011-08-10 klockan 22:49 +0200 skrev Daniel Stenberg:
> In order to reach a good flow and transfer speed, you never let the window
> size reach zero. Of course there might still be cases where you really cannot
> accept more data for the moment and then you tell the other side to not send
> more by setting the window to 0.
What is a good method to wait for the window to reopen in libssh2?
Should ret = 0 be handled like EAGAIN? Or is some special handling
needed?
The examples seem to busywait if this happens.
Regards
Henrik
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-08-11