From a311c727235390395c5bca08c91d32228cc20660 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 6 Oct 2023 09:22:26 +0200 Subject: [PATCH] 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 --- docs/libcurl/curl_easy_pause.3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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