i'm trying to get some number of bytes from source using libcurl by setting:
curl_easy_setopt(curl, CURLOPT_BUFFERSIZE, 100); //get 100 bytes from source
But I get different size of data each time, not even close sometimes only 22 bytes. does this work?