cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl and async I/O

From: Cory Nelson <phrosty_at_gmail.com>
Date: Fri, 15 Aug 2008 15:16:11 -0700

On Fri, Aug 15, 2008 at 3:06 PM, Andrew Barnert <abarnert_at_adobe.com> wrote:
> I've been investigating incorporating HTTP tunneling into a
> boost-asio-centered tool. Writing all the HTTP stuff myself is no fun; I'd
> much rather use libcurl. But I need the same asio engine to manage all of
> the sockets, concurrency, etc., whether they're curl-tunneled or native.
> After looking over the libcurl APIs, there appears to be no way to do what I
> want. The same would be true with native Windows (or Solaris) I/O completion
> ports, or the ACE proactor classes, or anything else that works the same
> way; the libcurl-hiper stuff only works with a select/poll/kqueue-style
> ("reactor") API.
>

Check out Pion, a HTTP library built on top of asio.
http://www.pion.org/projects/pion-network-library

-- 
Cory Nelson
Received on 2008-08-16