cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Total volume of data transferred out?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Sep 2011 20:03:25 +0200 (CEST)

On Wed, 14 Sep 2011, Felix E. Klee wrote:

> What's an easy way to find out the total volume of the data transferred out
> by an application linked against libcurl?

Use the CURLOPT_DEBUGFUNCTION perhaps and count sent headers and body? That's
of course only on TCP level and above.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-14