]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_CONNECT_ONLY.3: clarify multi API use
authorDaniel Stenberg <daniel@haxx.se>
Sat, 6 Aug 2022 22:25:30 +0000 (00:25 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 7 Aug 2022 12:07:23 +0000 (14:07 +0200)
Reported-by: Maxim Ivanov
Fixes #9244
Closes #9262

docs/libcurl/opts/CURLOPT_CONNECT_ONLY.3

index 5f0413f29f5de608b3783f44cb292870aac78ab0..8429e37d906d736bea9e47dae256d81779fbebac 100644 (file)
@@ -44,6 +44,12 @@ transfers.
 
 Transfers marked connect only will not reuse any existing connections and
 connections marked connect only will not be allowed to get reused.
+
+If the connect only transfer is done using the multi interface, the particular
+easy handle must remain added to the multi handle for as long as the
+application wants to use it. Once it has been removed with
+\fIcurl_multi_remove_handle(3)\fP, \fIcurl_easy_send(3)\fP and
+\fIcurl_easy_recv(3)\fP do not function.
 .SH DEFAULT
 0
 .SH PROTOCOLS