multi:SetOpt_Max_Host_Connections(max)
#CURLMOPT_MAX_HOST_CONNECTIONS
. When the limit is reached, the
sessions will be pending until a connection becomes available. If
#CURLMOPT_PIPELINING
is enabled, libcurl will try to pipeline if the
host is capable of it.
The default max value is 0, unlimited. However, for backwards
compatibility, setting it to 0 when #CURLMOPT_PIPELINING
is 1 will not
be treated as unlimited. Instead it will open only 1 connection and try to
pipeline on it.
This get limit is also used for proxy connections, and then the proxy is considered to be the host for which this limit counts.