]> granicus.if.org Git - curl/commitdiff
multi: enable multiplexing by default (again)
authorDaniel Stenberg <daniel@haxx.se>
Thu, 20 Jun 2019 07:19:26 +0000 (09:19 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 23 Jun 2019 21:02:23 +0000 (23:02 +0200)
It was originally made default in d7c4213bd0c (7.62.0) but mistakenly
reverted in commit 2f44e94efb3d (7.65.0). Now enabled again.

Closes #4051

lib/multi.c

index abd8ae563b7be4e86a8c62e419f298015f712387..2b6b1bc52219703cf243b4593e22856ee96925a2 100644 (file)
@@ -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;