On Wed, 21 Nov 2012, Colin wrote:
Can you elaborate on your use case?
Imagine libcurl embedded in a large application that has a certain
infrastructure regarding logging and statistics etc. We would like to
instrument libcurl just above the socket in order to write a debug message
and feed the byte counters for every single read()/write() cal on the
socket, just as we do with other network operations for other protocols.
For that, I'd refer you to CURLOPT_DEBUGFUNCTION ...
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html