cURL / Mailing Lists / curl-library / Single Mail


Chunked Transfer read callback pause

From: Usman Raza <>
Date: Sat, 30 Jun 2012 18:47:38 +0500

Hello all, im using curl for chunked transfer in a separate thread, by
reading from a buffer, could anyone tell me how could i pause it, so i
could maybe switch to another thread (which will write to the buffer) and
then switch back to resume transfer? i did came across the curl_easy_pause(CURL
*handle , int bitmask ) function which could be used with returning
from a callback, but im not sure how i can use it to accomplish thread
synchronization.Appreciate any help on this.Thanks.

List admin:
Received on 2012-06-30