Issues with CCHttpClient

Issues with CCHttpClient
0.0 0


Hello, I have followed this tutorial to make a POST request using CCHttpRequest and CCHttClient in cocos2dx 2.1.5. and I have discovered a problem that when the device is connected to a router but this router does not have Internet, I get the –1 response code, and after I get ANR. This is happening every time.

I attach a git to the code of the app I use:

Thank you.


Thanks for your code