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:

If *both* CURLOPTM_MAX_TOTAL_CONNECTIONS and CURLOPTM_MAX_HOST_CONNECTIONS
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?

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to