www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: [libssh2] Do we need libssh2_*_pending()?

Re: [libssh2] Do we need libssh2_*_pending()?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 Feb 2007 22:08:09 +0100 (CET)

On Tue, 13 Feb 2007, Sara Golemon wrote:

>> In OpenSSL they have a SSL_pending() call for exactly this purpose, and I'm
>> thinking we could indeed provide libssh2_sftp_pending() and
>> libssh2_channel_pending() ?
> Is there a particular reason we can't handle this through libssh2_poll()?

Indeed not. Only me not checking for existing solutions properly before I go
annoying you lot... :-O

libssh2_poll_channel_read() should be perfect for channels, but is there an
equivalent for LIBSSH2_SFTP handles?

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
libssh2-devel mailing list
Received on 2007-02-13

the libssh2 team