summaryrefslogtreecommitdiff
path: root/src/tool_cfgable.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-10-17 10:05:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-10-17 10:05:53 +0200
commitd056dbb5beeb5d537e71725045c473bf5874578d (patch)
treea04d86bb24497b3ee0bd48d7e7e8884a5a0878c7 /src/tool_cfgable.h
parentce07f0b8a1ca91301f7fc79b5b0af95ed41bfd11 (diff)
downloadcurl-d056dbb5beeb5d537e71725045c473bf5874578d.tar.gz
curl: add --parallel-connectbagder/parallel-connect
Starting with this change when doing parallel transfers, without this option set, curl will prefer to create new transfers multiplexed on an existing connection rather than creating a brand new one. --parallel-connect can be set to tell curl to prefer to use new connections rather than to wait and try to multiplex. libcurl-wise, this means that curl will set CURLOPT_PIPEWAIT by default on parallel transfers. Suggested-by: Tom van der Woerdt
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r--src/tool_cfgable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index 7232c35e3..4372cc6fc 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -300,6 +300,7 @@ struct GlobalConfig {
#endif
bool parallel;
long parallel_max;
+ bool parallel_connect;
struct OperationConfig *first;
struct OperationConfig *current;
struct OperationConfig *last; /* Always last in the struct */