cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Testing HTTP pipeline with curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 13 Feb 2008 16:06:25 +0100 (CET)

On Wed, 13 Feb 2008, ofer blaut wrote:

> How can i use curl for testing HTTP pipeline/keepalive requests ?

curl always does "keepalive" if you do more than one request to the same host
with the same command line invoke.

Pipelining is a different matter though, and that's never enabled by the
command line tool. libcurl does offer the ability and curl _could_ be written
to use it.

> I can find any way to send more than one HTTP request per TCP connection

A quick example:

curl http://example.com/first http://example.com/second

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-02-13