{"action":"created","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/15465","repository_url":"https://api.github.com/repos/cocos2d/cocos2d-x","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/15465/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/15465/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/15465/events","html_url":"https://github.com/cocos2d/cocos2d-x/pull/15465","id":149662982,"number":15465,"title":"[BugFixes]Several serious bug fixes related to network/asset_manager","user":{"login":"cezheng","id":2549967,"avatar_url":"https://avatars.githubusercontent.com/u/2549967?v=3","gravatar_id":"","url":"https://api.github.com/users/cezheng","html_url":"https://github.com/cezheng","followers_url":"https://api.github.com/users/cezheng/followers","following_url":"https://api.github.com/users/cezheng/following{/other_user}","gists_url":"https://api.github.com/users/cezheng/gists{/gist_id}","starred_url":"https://api.github.com/users/cezheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cezheng/subscriptions","organizations_url":"https://api.github.com/users/cezheng/orgs","repos_url":"https://api.github.com/users/cezheng/repos","events_url":"https://api.github.com/users/cezheng/events{/privacy}","received_events_url":"https://api.github.com/users/cezheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pandamicro","id":632460,"avatar_url":"https://avatars.githubusercontent.com/u/632460?v=3","gravatar_id":"","url":"https://api.github.com/users/pandamicro","html_url":"https://github.com/pandamicro","followers_url":"https://api.github.com/users/pandamicro/followers","following_url":"https://api.github.com/users/pandamicro/following{/other_user}","gists_url":"https://api.github.com/users/pandamicro/gists{/gist_id}","starred_url":"https://api.github.com/users/pandamicro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandamicro/subscriptions","organizations_url":"https://api.github.com/users/pandamicro/orgs","repos_url":"https://api.github.com/users/pandamicro/repos","events_url":"https://api.github.com/users/pandamicro/events{/privacy}","received_events_url":"https://api.github.com/users/pandamicro/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-04-20T05:24:59Z","updated_at":"2016-05-03T07:03:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/15465","html_url":"https://github.com/cocos2d/cocos2d-x/pull/15465","diff_url":"https://github.com/cocos2d/cocos2d-x/pull/15465.diff","patch_url":"https://github.com/cocos2d/cocos2d-x/pull/15465.patch"},"body":"This PR includes several bug fixes related to network/asset_manager\r\n\r\n### Downloader\r\n#### storage path space bug (iOS) https://github.com/cocos2d/cocos2d-x/commit/963efe78fe5d6f1e76a95eb0a20783cbae55faa1\r\nThis is merged to v3 in https://github.com/cocos2d/cocos2d-x/pull/14843 but not in v3.11 branch yet.\r\n#### thread safety (Android) https://github.com/cocos2d/cocos2d-x/commit/d848292860421ffd475b6482818060b501380955\r\nThis is related to [my previous fix](https://github.com/cocos2d/cocos2d-x/pull/14530) for android downloader that is not thread safe which may crash the app in certain circumstances\r\n\r\n### AssetManagerEx\r\n#### If the last task fails, it will stuck at `UPDATING` forever https://github.com/cocos2d/cocos2d-x/commit/58586871619d08a2ef3b8829a6c8529929e82562\r\nSee https://github.com/cocos2d/cocos2d-x/issues/15463\r\n#### performance improvement for manifest diff (this is not a bug) https://github.com/cocos2d/cocos2d-x/commit/f3cd1298af0f16d67f93d9be8bfbdd3f22ce2796\r\n\r\n### HTTPAsyncConnection\r\n#### Crash when custom SSL certificate is set(iOS) https://github.com/cocos2d/cocos2d-x/commit/200c9fda59f7a5fbece4ba4fa3a3729e38de6998\r\nThere is a redundant release of a CFArrayRef causing the object to be deallocated before NSURLConnectionLoader thread tries to release it, making it send a release message to an already deallocated object.\r\nThis also fixes a memory leak of SecCertificateRef\r\nSee https://github.com/cocos2d/cocos2d-x/issues/15464\r\n"},"comment":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/comments/216454548","html_url":"https://github.com/cocos2d/cocos2d-x/pull/15465#issuecomment-216454548","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/15465","id":216454548,"user":{"login":"pandamicro","id":632460,"avatar_url":"https://avatars.githubusercontent.com/u/632460?v=3","gravatar_id":"","url":"https://api.github.com/users/pandamicro","html_url":"https://github.com/pandamicro","followers_url":"https://api.github.com/users/pandamicro/followers","following_url":"https://api.github.com/users/pandamicro/following{/other_user}","gists_url":"https://api.github.com/users/pandamicro/gists{/gist_id}","starred_url":"https://api.github.com/users/pandamicro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandamicro/subscriptions","organizations_url":"https://api.github.com/users/pandamicro/orgs","repos_url":"https://api.github.com/users/pandamicro/repos","events_url":"https://api.github.com/users/pandamicro/events{/privacy}","received_events_url":"https://api.github.com/users/pandamicro/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T07:03:25Z","updated_at":"2016-05-03T07:03:25Z","body":"@cezheng Thanks for your PR, all fixes are valid ! I will test it and merge it once all tests pass\r\n\r\nAgain, I'm really sorry for the delay, I just finished a big task which require a lot of tests and bug fixes."}}