CCHttpClient track progress


#1

Currently, it calls a selector when it is done but it doesn’t do anything while the download is happening.
I was able to do it in libcurl by using CURLOPT_PROGRESSFUNC but I needed the multi-thread feature of CCHttpClient.

Is there a way to track the download progress when using CCHttpClient?
Thanks.


#2

Tweak CCHttpClient and use atomic variable as progress counter.