mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 20:15:03 -05:00
docs: fix bugs in CURLOPT_HTTP_VERSION.3 and CURLOPT_PIPEWAIT.3
Closes #786
This commit is contained in:
parent
ffd0e6193f
commit
6940f4b52a
@ -48,7 +48,7 @@ Enforce HTTP 1.1 requests.
|
|||||||
Attempt HTTP 2 requests. libcurl will fall back to HTTP 1.1 if HTTP 2 can't be
|
Attempt HTTP 2 requests. libcurl will fall back to HTTP 1.1 if HTTP 2 can't be
|
||||||
negotiated with the server. (Added in 7.33.0)
|
negotiated with the server. (Added in 7.33.0)
|
||||||
|
|
||||||
The alias \fICURL_HTTP_VERSION_2\fI was added in 7.43.0 to better reflect the
|
The alias \fICURL_HTTP_VERSION_2\fP was added in 7.43.0 to better reflect the
|
||||||
actual protocol name.
|
actual protocol name.
|
||||||
.IP CURL_HTTP_VERSION_2TLS
|
.IP CURL_HTTP_VERSION_2TLS
|
||||||
Attempt HTTP 2 over TLS (HTTPS) only. libcurl will fall back to HTTP 1.1 if
|
Attempt HTTP 2 over TLS (HTTPS) only. libcurl will fall back to HTTP 1.1 if
|
||||||
@ -58,7 +58,7 @@ libcurl will use 1.1. (Added in 7.47.0)
|
|||||||
Issue non-TLS HTTP requests using HTTP/2 without HTTP/1.1 Upgrade. It requires
|
Issue non-TLS HTTP requests using HTTP/2 without HTTP/1.1 Upgrade. It requires
|
||||||
prior knowledge that the server supports HTTP/2 straight away. HTTPS requests
|
prior knowledge that the server supports HTTP/2 straight away. HTTPS requests
|
||||||
will still do HTTP/2 the standard way with negotiated protocol version in the
|
will still do HTTP/2 the standard way with negotiated protocol version in the
|
||||||
TLS handshake.
|
TLS handshake. (Added in 7.49.0)
|
||||||
.SH DEFAULT
|
.SH DEFAULT
|
||||||
CURL_HTTP_VERSION_NONE
|
CURL_HTTP_VERSION_NONE
|
||||||
.SH PROTOCOLS
|
.SH PROTOCOLS
|
||||||
|
@ -36,7 +36,7 @@ libcurl will check for existing connections to re-use and pipeline on. If no
|
|||||||
such connection exists it will immediately continue and create a fresh new
|
such connection exists it will immediately continue and create a fresh new
|
||||||
connection to use.
|
connection to use.
|
||||||
|
|
||||||
By setting this option to 1 - and having \fICURLMOPT_PIPELINE(3)\fP enabled
|
By setting this option to 1 - and having \fICURLMOPT_PIPELINING(3)\fP enabled
|
||||||
for the multi handle this transfer is associated with - libcurl will instead
|
for the multi handle this transfer is associated with - libcurl will instead
|
||||||
wait for the connection to reveal if it is possible to pipeline/multiplex on
|
wait for the connection to reveal if it is possible to pipeline/multiplex on
|
||||||
before it continues. This enables libcurl to much better keep the number of
|
before it continues. This enables libcurl to much better keep the number of
|
||||||
|
Loading…
Reference in New Issue
Block a user