ckolivas/cgminer — pull request #374 by luke-jr (2012-12-27 11:41:44+00:00)
Title: Bugfix: Hook CURLOPT_DEBUGFUNCTION to count actual bytes sent/received by libcurl

CURLINFO_SIZE_UPLOAD and CURLINFO_SIZE_DOWNLOAD do not reflect the actual number of bytes transferred over the network, but instead post-processed.
Using CURLOPT_DEBUGFUNCTION, we can count the actual bytes being sent/received on the network.