Subject: Re: [libssh2] Non-blocking vs. default mode

Re: [libssh2] Non-blocking vs. default mode

From: Lucas Newman <lucas_at_delicious-monster.com>
Date: Sun, 22 Apr 2007 15:10:36 -0700

On Apr 22, 2007, at 2:52 PM, James Housley wrote:

> I think maybe we should remove the *nb() functions and make the old
> names just work. I would also like to keep old programs working in
> all cases, as long as they didn't set non-blocking to true (since we
> know that didn't work). But before proceeding I would like to wait a
> while, April 29th, to allow others a chance to chime in.

I'm not a committer, so I don't know if my vote counts, but I would
definitely favor using the blocking mode of the socket to determine
the behavior of old functions and removing the *nb() functions.

The only situation where this breaks legacy code is if someone has
improperly set the blocking mode on the socket, so it is really just
exposing a bug in the client code, not showing a regression in libssh2.

-Lucas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-04-23