cocos2d x - libcurl 7.26.0 : garbage at the end of every http response -


i using cocos2d-x game engine develop game. game fetches lot of data server. reduce loading time , data consumption , used gzip encoding.

curl_easy_setopt(curl, curlopt_accept_encoding, "gzip,deflate");

but strangely, see garbage @ end of each http response , when don't use gzip , every http response ok , no garbage in end of http response.

please suggest can possible reason issue. appreciated.

thanks.

try

curl_easy_cleanup(curl); 

and

curl_global_cleanup(); 

after finished sending request curl_easy_perform(), see if error still exists.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -