diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-05-12 23:47:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-12 23:47:01 +0200 |
commit | a6af3df660ce88ae52659151f876cf3ea6ddf53f (patch) | |
tree | a473760fa6196ac58a4df75ef7490dcf5fc0eb59 /docs | |
parent | 2a746f6c28a926b2fd6f6db7fcff50c7bdc68fa6 (diff) |
CURLMOPT_MAX_HOST_CONNECTIONS: host = host name + port number
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/opts/CURLMOPT_MAX_HOST_CONNECTIONS.3 | 10 |
1 files changed, 7 insertions, 3 deletions
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, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, 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 |