Subject: Re: Get rid of get_socket_nonblocking ?

Re: Get rid of get_socket_nonblocking ?

From: Jose Baars <peut_at_peut.org>
Date: Mon, 19 Apr 2010 23:36:48 +0200

2010/4/19 Daniel Stenberg <daniel_at_haxx.se>

> No, it should make libssh2 work fine, it just can't restore the state to
> what it was before.
>
> Unless the calling application would remember this previous state of
course, and the actual blocking state of the socket is different from
session->api_block_mode.

>
> If this is your only hurdle, then certainly not! We can always add
> conditional code to allow even such libs to play libssh2.
>

As far as I can tell this is the only real hurdle. I'll do some more
testing, and go ahead
assuming this conditional code can be implemented.

Thanks,
Jose

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-04-19