curl_easy_pause: suggest one way to unpause
authorClemens Gruber <clemensgru@gmail.com>
Sun, 8 Sep 2013 17:01:26 +0000 (19:01 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 8 Sep 2013 17:26:28 +0000 (19:26 +0200)
docs/libcurl/curl_easy_pause.3

index 7debfd8..402bb05 100644 (file)
@@ -38,8 +38,11 @@ that returns pause signals to the library that it couldn't take care of any
 data at all, and that data will then be delivered again to the callback when
 the writing is later unpaused.
 
-NOTE: while it may feel tempting, take care and notice that you cannot call
-this function from another thread.
+While it may feel tempting, take care and notice that you cannot call this
+function from another thread. To unpause, you may for example call it from the
+progress callback (see \fIcurl_easy_setopt(3)\fP's
+\fICURLOPT_PROGRESSFUNCTION\fP), which gets called at least once per second,
+even if the connection is paused.
 
 When this function is called to unpause reading, the chance is high that you
 will get your write callback called before this function returns.