Unverified Commit d7c4213b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

multiplex: enable by default

Starting 7.62.0, multiplexing is enabled by default in multi handles.
parent b004a174
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -63,7 +63,9 @@ This bit is deprecated and has no effect since version 7.62.0.
If this bit is set, libcurl will try to multiplex the new transfer over an
existing connection if possible. This requires HTTP/2.
.SH DEFAULT
0 (both pipeline and multiplexing are off)
Since 7.62.0, \fBCURLPIPE_MULTIPLEX\bP is enabled by default.

Before that, default was \fBCURLPIPE_NOTHING\fP.
.SH PROTOCOLS
HTTP(S)
.SH EXAMPLE
+1 −0
Original line number Diff line number Diff line
@@ -347,6 +347,7 @@ struct Curl_multi *Curl_multi_handle(int hashsize, /* socket hash */
  Curl_llist_init(&multi->pending, multi_freeamsg);

  multi->max_pipeline_length = 5;
  multi->pipelining = CURLPIPE_MULTIPLEX;

  /* -1 means it not set by user, use the default value */
  multi->maxconnects = -1;