Forums » C++ Framework » FAQ & FORUM RULES. Please read before posting »
| Zhe Wang | FAQ & FORUM RULES. Please read before posting | ||||
|---|---|---|---|---|---|
|
Added by Zhe Wang over 2 years ago
Welcome! Welcome to cocos2d-x forum! Here're some best practice for you to have a happy engagement with us. How can I set my avartar/portrait on forum¶The same as github.com accounts, your avartar here is linked to your Gravatar.com settings. You can link your registered email and your portrait on Gravatar.com, then it will be shown on both github.com and this forum. Where can I find documents¶
Where can I find API References¶
How to ask for help¶
How to report bugs?¶
How can I contribute to the community?¶
Thanks to all contributors! Enjoy Coding, Enjoy Life. |
||||
| sleepers tang | RE: FAQ | ||||
|
Added by sleepers tang 11 months ago
Good for you! |
||||
| KS Lam | RE: FAQ | ||||
|
OpenFeint integration (by Diego Abad) can't be access. |
||||
| C Zhang | RE: FAQ HttpClient bug | ||||
|
I found a bug in HttpClient.cpp method writeData(void ptr, size_t size, size_t nmemb, void *stream), below : maybe it is a bug in 2.0.2 |
||||
| Zhe Wang | RE: FAQ | ||||
|
Hi C Zhang, do you mean that, HTTP operations will call writeData more than once with a single curl_easy_perform() ? Enjoy Coding, Enjoy Life. |
||||
| C Zhang | RE: FAQ | ||||
|
Walzer Wang wrote:
yeap,almost, should we consider it? |
||||
| Zhe Wang | RE: FAQ | ||||
|
Hi zhang, I've fixed this bug, it will be release with v2.0.3 Enjoy Coding, Enjoy Life. |
||||
| C Zhang | RE: FAQ | ||||
|
Walzer Wang wrote: YES, I found it in github , thank you ![]() |
||||
| C Zhang | RE: FAQ | ||||
|
hi, I found a bug (maybe) when I using HttpClient in muilti threading environment, my origin using like this:
for(int i = 0 ; i < 10; i++){
ZCHttpClient::getInstance()->send(request);
}
it will excute configureCURL() in CCHttpClient 10 times, and it will call curl_easy_init() 10 times too, every times you call curl_easy_init() , the libcurl will call curl_global_init(long flags) first , so at this time , it maybe cause there are two threads calling curl_easy_init() , and they also call curl_global_init at one time ,but curl_global_init method is not thread safe ,so it will crash the process... so ,I solve these problem by adding curl_global_init before curl_easy_init to fix problem 1, and add curl_easy_setopt(handle, CURLOPT_NOSIGNAL, 1L); in configureCURL(). |
||||
| LI LONG | RE: FAQ & FORUM RULES. Please read before posting | ||||
|
alway use English? long long ago, I want to be a game designer, however, I may love code more now.. |
||||
| Zhe Wang | RE: FAQ & FORUM RULES. Please read before posting | ||||
|
LI LONG wrote:
Yeah, otherwise we will see Russian, Spanish, Korean, Japanese, Chinese all kinds of languages in this forum. That's what I want to avoid. Enjoy Coding, Enjoy Life. |
||||
| LI LONG | RE: FAQ & FORUM RULES. Please read before posting | ||||
|
Zhe Wang wrote:
so does it~cheers for cocos2d-x~ long long ago, I want to be a game designer, however, I may love code more now.. |
(1-11/11)

