From: Jay Satiro Date: Fri, 28 Oct 2016 03:15:12 +0000 (-0400) Subject: CURLMOPT_MAX_PIPELINE_LENGTH.3: Clarify it's not for HTTP/2 X-Git-Tag: curl-7_51_0~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=568037f6af69c52fb1796a147eb18d6eb5638f0d;p=curl CURLMOPT_MAX_PIPELINE_LENGTH.3: Clarify it's not for HTTP/2 - Clarify that this option is only for HTTP/1.1 pipelining. Bug: https://github.com/curl/curl/issues/1059 Reported-by: Jeroen Ooms Assisted-by: Daniel Stenberg --- diff --git a/docs/libcurl/opts/CURLMOPT_MAX_PIPELINE_LENGTH.3 b/docs/libcurl/opts/CURLMOPT_MAX_PIPELINE_LENGTH.3 index cac3c7193..1204a0f9d 100644 --- a/docs/libcurl/opts/CURLMOPT_MAX_PIPELINE_LENGTH.3 +++ b/docs/libcurl/opts/CURLMOPT_MAX_PIPELINE_LENGTH.3 @@ -29,8 +29,8 @@ CURLMOPT_MAX_PIPELINE_LENGTH \- maximum number of requests in a pipeline CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_MAX_PIPELINE_LENGTH, long max); .SH DESCRIPTION Pass a long. The set \fBmax\fP number will be used as the maximum amount of -outstanding requests in a pipelined connection. Only used if pipelining is -enabled. +outstanding requests in an HTTP/1.1 pipelined connection. This option is only +used for HTTP/1.1 pipelining, not for HTTP/2 multiplexing. When this limit is reached, libcurl will use another connection to the same host (see \fICURLMOPT_MAX_HOST_CONNECTIONS(3)\fP), or queue the request until