cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl and http pipelining

From: <Gereon.Steffens_at_OnVista.de>
Date: Mon, 8 Apr 2002 16:23:15 +0200

Thanks for the reply.

From my current need, what I'm looking for is a API that allows me to do
something like this:

1) prepare some sort of container (array/stack/queue/list, whatever) for N
URIs that I want pipelined
2) for (i=0; i<N; ++i) { prepare request_container[i] }
3) call the equivalent of curl_easy_perform on the container, which
returns a N element container of responses
4) for (i=0; i<N; ++i) { deal with response_container[i] }
5) destroy both containers

In our specific application, N is actually pretty small - more than 6 or 8
pipelined requests don't really improve performance.

Is there a (vague) timeframe when you plan to add this? I'd hate to have
to learn libwww :-)

Gereon

-- 
This message represents the official views of the voices in my head.
Daniel Stenberg <daniel_at_haxx.se>
05.04.02 11:14
 
        An:     Gereon.Steffens_at_OnVista.de
        Kopie:  libcurl Mailing list <curl-library_at_lists.sourceforge.net>
        Thema:  Re: curl and http pipelining
On Fri, 5 Apr 2002 Gereon.Steffens_at_OnVista.de wrote:
> sorry if this is a FAQ, but I couldn't find anything adressing my 
question:
> does curl support pipelining of HTTP/1.1 requests on a persistent
> connection? (I.e., sending multiple requests to a server and reading all
> responses in at once)
Short answer: no.
I'm open for ideas and suggestions on how this can be added to libcurl. 
I've
touched the subject before in various mails regarding mixed ideas, but so 
far
we have no code and no actual implementation proposal of how it would be
added...
-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-04-08