diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-06-20 09:19:26 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-06-20 09:22:15 +0200 |
commit | 376ae3cfffce2544cb08a9124b325d3aa4a6a5d9 (patch) | |
tree | f21804bc7ce80d06efbb1f4c8b84edd3b084485a | |
parent | ae99b4de1c443ae9892b1c0fc2b39e3afe73c4bc (diff) | |
download | curl-bagder/multiplex-default.tar.gz |
multi: enable multiplexing by default (again)bagder/multiplex-default
It was originally made default in d7c4213bd0c (7.62.0) but mistakenly reverted
in commit 2f44e94efb3d (7.65.0).
Now enabled again.
-rw-r--r-- | lib/multi.c | 2 |
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; |