Peter Stuge wrote:
> > I promised to take a look but I haven't had a chance. I will get
> > to it right now and send an update in a bit.
>
> The most likely way for select() to end up with all empty fd_sets
> is in _libssh2_wait_socket(), if libssh2_session_block_directions()
> returns 0.
While I ponder the explanation and try to get my head around the code
a bit more, here is a patch that will change the hang behavior. I am
not sure this is a fix, but it will make something happen. :)
Those who can reproduce this problem, please test and report back.
Thanks!
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel