Skip to content

Commit

Permalink
curl_easy_pause.3: mention it works within callbacks
Browse files Browse the repository at this point in the history
Reported-by: Maxim Dzhura
Bug: https://curl.se/mail/lib-2023-10/0010.html
Closes #12046
  • Loading branch information
bagder committed Oct 6, 2023
1 parent 4a80c75 commit a311c72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/libcurl/curl_easy_pause.3
Expand Up @@ -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
Expand Down

0 comments on commit a311c72

Please sign in to comment.