From: Daniel Stenberg Date: Fri, 6 Oct 2023 07:22:26 +0000 (+0200) Subject: curl_easy_pause.3: mention it works within callbacks X-Git-Tag: curl-8_4_0~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a311c727235390395c5bca08c91d32228cc20660;p=thirdparty%2Fcurl.git curl_easy_pause.3: mention it works within callbacks Reported-by: Maxim Dzhura Bug: https://curl.se/mail/lib-2023-10/0010.html Closes #12046 --- diff --git a/docs/libcurl/curl_easy_pause.3 b/docs/libcurl/curl_easy_pause.3 index f3a879391e..a3cf4b81cc 100644 --- a/docs/libcurl/curl_easy_pause.3 +++ b/docs/libcurl/curl_easy_pause.3 @@ -32,7 +32,9 @@ curl_easy_pause - pause and unpause a connection .fi .SH DESCRIPTION Using this function, you can explicitly mark a running connection to get -paused, and you can unpause a connection that was previously paused. +paused, and you can unpause a connection that was previously paused. Unlike +most other libcurl functions, \fIcurl_easy_pause(3)\fP can be used from within +callbacks. A connection can be paused by using this function or by letting the read or the write callbacks return the proper magic return code