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
This commit is contained in:
Daniel Stenberg 2023-10-06 09:22:26 +02:00
parent 4a80c7503f
commit a311c72723
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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