summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-06-20 09:19:26 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-06-23 23:02:23 +0200
commite73b4782467d6db7c2c81b11f421afceba48daea (patch)
treefb0c6135503cbfa9f0e0fb49b700b7821e13c4cd /lib
parentbd4390b1a15ead209fb1436514057f4b440c082b (diff)
downloadcurl-e73b4782467d6db7c2c81b11f421afceba48daea.tar.gz
multi: enable multiplexing by default (again)
It was originally made default in d7c4213bd0c (7.62.0) but mistakenly reverted in commit 2f44e94efb3d (7.65.0). Now enabled again. Closes #4051
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/multi.c b/lib/multi.c
index abd8ae563..2b6b1bc52 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -363,6 +363,8 @@ struct Curl_multi *Curl_multi_handle(int hashsize, /* socket hash */
Curl_llist_init(&multi->msglist, NULL);
Curl_llist_init(&multi->pending, NULL);
+ multi->multiplexing = CURLPIPE_MULTIPLEX;
+
/* -1 means it not set by user, use the default value */
multi->maxconnects = -1;
return multi;