Archive Index
This month's Index
|
Subject: Re: sftp_read problems with large buffer
Re: sftp_read problems with large buffer
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 4 Aug 2009 23:03:26 +0200 (CEST)
On Tue, 4 Aug 2009, Peter Stuge wrote:
> Daniel, can you describe the theory around _wait_socket() and
Certainly!
_libssh2_wait_socket() is simply an internal utility function that is used for
> BLOCK_ADJUST() a little?
BLOCK_ADJUST and BLOCK_ADJUST_ERRNO are two helper-macros that I added to make
Almost all the entry-point libssh2 functions now work in a manner like for
{
BLOCK_ADJUST(rc, session, session_startup(session, sock) );
return rc;
BLOCK_ADJUST() is then a macro that calls session_startup(session, sock) and
BLOCK_ADJUST_ERRNO() is basically the same function, but it is used for
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2009-08-04 |