On Tue, 7 Dec 2010, Michael Menegakis wrote:

I was trying to find a way to keep track of easies that may be re-used but not immediately, taking into account their individual chunks for CURLOPT_WRITEDATA, and then it dawned to me I could use the same.

Is it safe?

From libcurl's view it is perfectly safe and it won't have a problem with it.
It is up to your app to make sense of the data you pass into the callback that way.

--

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

Reply via email to