cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] A CURLINFO_XFER_STATE perhaps?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 6 Aug 2013 00:16:54 +0200 (CEST)

Hi,

As we discussed a little while ago, we could provide a curl_easy_getinfo()
option that provides the current state of the transfer the easy handle
identifies. This is meant to work fine to extract really at any point during a
transfer. Either from a callback when the easy interface is used, or wherever
when the multi interface is used.

I've made a first go at that, see attachment. I'll be happy to all and any
feedback, praises or criticism of anything in the patch. Give me your
thoughts!

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2013-08-06