CCHttpClient track progress


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?


Tweak CCHttpClient and use atomic variable as progress counter.