curl-library
Re: non-blocking read function
From: Richard Atterer <richard_at_2007.atterer.net>
Date: Tue, 30 Oct 2007 15:52:45 +0100
Date: Tue, 30 Oct 2007 15:52:45 +0100
On Tue, Oct 30, 2007 at 08:34:59PM +0600, Dmitriy Sergeyev wrote:
> For example, our implementation of read callback reads data from
> another socket and receives EWOULDBLOCK. We return "special code"
> (CURL_READFUNC_PAUSE for instance), and after that libcurl is pause
> calling read callback.
Sounds great! - If possible, it would be nice to also have an explicit
curl_easy_pause_read/write() function.
Cheers,
Richard
-- __ _ |_) /| Richard Atterer | GnuPG key: 888354F7 | \/¯| http://atterer.net | 08A9 7B7D 3D13 3EF2 3D25 D157 79E6 F6DC 8883 54F7 ¯ '` ¯Received on 2007-10-30