cURL / Mailing Lists / curl-library / Single Mail


Re: Pipelining and connection management

From: Daniel Stenberg <>
Date: Sun, 22 Jun 2014 00:04:19 +0200 (CEST)

On Tue, 17 Jun 2014, m brandenberg wrote:

> I'm looking at http pipelining and trying to resolve multi_setopt()
> documentation with what I'm seeing in the code. In create_conn() in url.c
> (7.37.0 release) I see:

> are set to positive values and neither limit has been reached, then
> libcurl will only open a new connection (i.e. breadth-first). Otherwise,
> it prefers pipelining over a new connection (i.e. depth-first) and
> in creating new connections, a limit value of 0 is always unlimited,
> never interpreted as '1'.
> Is that the intended behavior?

Yes I think so. Is there any problems with that logic you think or is it
contradicing the existing docs?

List admin:
Received on 2014-06-22