ons 2011-08-31 klockan 20:40 +0800 skrev liuzl: > Handle the error code LIBSSH2_ERROR_BAD_USE correctly, > avoid the receive window reduce to zero.
You should never see LIBSSH2_ERROR_BAD_USE. If you do then the library is wrongly used (or perhaps there is a non-blocking bug in the library). When/why are you getting the BAD_USE error? Regards Henrik _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel