cURL / Mailing Lists / curl-library / Single Mail


Re: HTTP pipelining

From: Daniel Stenberg <>
Date: Wed, 21 Jan 2009 09:24:50 +0100 (CET)

On Wed, 21 Jan 2009, KwangYul Seo wrote:

> Regarding HTTP pipelining, I found CURLMOPT_PIPELING option in multi.h. What
> is the current status of HTTP pipelining implementation in cURL?

To my knowledge it works pretty good, although there's at least one known flaw
when the multi_socket() API is used when enabling it.

> Does it buffer multiple HTTP requests to send it in fewer TCP packets?

No, HTTP pipelining means that libcurl sends several HTTP requests over the
same connection without waiting for the previous responses. It primarily
reduces round-trip delays and keeps the pipe "filled" better.

Received on 2009-01-21