Archive Index
This month's Index
|
Subject: [libssh2] EAGAIN but waiting for what?
[libssh2] EAGAIN but waiting for what?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 3 Jul 2008 13:15:36 +0200 (CEST)
Hey
I'm pondering about fixing one of the biggest flaws we have in libcurl's use
We use libssh2 entirely non-blocking as we can have N number of simultanoues
But what action should we wait for?
In the download case, transferring data from a SCP/SFTP server libcurl assumes
To be able to fix this, we need to be able to query libssh2 for what
I suggest we introduce a new function:
int libssh2_session_getfd(LIBSSH2_SESSION *session, int *socket, int *action);
This function will simply store the socket this session is using, and a
Comments?
-- / daniel.haxx.se ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ libssh2-devel mailing list libssh2-devel_at_lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-develReceived on 2008-07-03 |