From a6af3df660ce88ae52659151f876cf3ea6ddf53f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 12 May 2015 23:47:01 +0200 Subject: CURLMOPT_MAX_HOST_CONNECTIONS: host = host name + port number --- docs/libcurl/opts/CURLMOPT_MAX_HOST_CONNECTIONS.3 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'docs/libcurl/opts/CURLMOPT_MAX_HOST_CONNECTIONS.3') diff --git a/docs/libcurl/opts/CURLMOPT_MAX_HOST_CONNECTIONS.3 b/docs/libcurl/opts/CURLMOPT_MAX_HOST_CONNECTIONS.3 index 778934737..7522d4375 100644 --- a/docs/libcurl/opts/CURLMOPT_MAX_HOST_CONNECTIONS.3 +++ b/docs/libcurl/opts/CURLMOPT_MAX_HOST_CONNECTIONS.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2014, Daniel Stenberg, , et al. +.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -29,8 +29,9 @@ CURLMOPT_MAX_HOST_CONNECTIONS \- set max number of connections to a single host CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_MAX_HOST_CONNECTIONS, long max); .SH DESCRIPTION Pass a long to indicate \fBmax\fP. The set number will be used as the maximum -amount of simultaneously open connections to a single host. For each new -session to a host, libcurl will open a new connection up to the limit set by +amount of simultaneously open connections to a single host (a host being the +same as a host name + port number pair). For each new session to a host, +libcurl will open a new connection up to the limit set by \fICURLMOPT_MAX_HOST_CONNECTIONS(3)\fP. When the limit is reached, the sessions will be pending until a connection becomes available. If \fICURLMOPT_PIPELINING(3)\fP is enabled, libcurl will try to pipeline if the @@ -40,6 +41,9 @@ The default \fBmax\fP value is 0, unlimited. However, for backwards compatibility, setting it to 0 when \fICURLMOPT_PIPELINING(3)\fP is 1 will not be treated as unlimited. Instead it will open only 1 connection and try to pipeline on it. + +This set limit is also used for proxy connections, and then the proxy is +considered to be the host for which this limit counts. .SH DEFAULT 0 .SH PROTOCOLS -- cgit v1.2.3