{"action":"created","issue":{"url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/3651","repository_url":"https://api.github.com/repos/AFNetworking/AFNetworking","labels_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/3651/labels{/name}","comments_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/3651/comments","events_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/3651/events","html_url":"https://github.com/AFNetworking/AFNetworking/issues/3651","id":171890979,"number":3651,"title":"download crash in iOS7.1.1 iPod","user":{"login":"circlestriker","id":9349606,"avatar_url":"https://avatars.githubusercontent.com/u/9349606?v=3","gravatar_id":"","url":"https://api.github.com/users/circlestriker","html_url":"https://github.com/circlestriker","followers_url":"https://api.github.com/users/circlestriker/followers","following_url":"https://api.github.com/users/circlestriker/following{/other_user}","gists_url":"https://api.github.com/users/circlestriker/gists{/gist_id}","starred_url":"https://api.github.com/users/circlestriker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/circlestriker/subscriptions","organizations_url":"https://api.github.com/users/circlestriker/orgs","repos_url":"https://api.github.com/users/circlestriker/repos","events_url":"https://api.github.com/users/circlestriker/events{/privacy}","received_events_url":"https://api.github.com/users/circlestriker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-18T12:38:37Z","updated_at":"2016-10-10T13:55:53Z","closed_at":null,"body":"in iOS7.1.1, AF3.1.0 crash easily in AFURLSessionManager.m\r\n`- (void)URLSession:(__unused NSURLSession *)session\r\n          dataTask:(__unused NSURLSessionDataTask *)dataTask\r\n    didReceiveData:(NSData *)data\r\n{\r\n        [self.mutableData appendData:data]; //crash here\r\n}`\r\n\r\nI have to fix it as bellow\r\n`- (void)URLSession:(__unused NSURLSession *)session\r\n          dataTask:(__unused NSURLSessionDataTask *)dataTask\r\n    didReceiveData:(NSData *)data\r\n{\r\n    @synchronized (self) {\r\n        if(self.mutableData == nil){\r\n            self.mutableData = [NSMutableData data];\r\n        }\r\n        [self.mutableData appendData:data];\r\n    }\r\n}`"},"comment":{"url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/comments/252627366","html_url":"https://github.com/AFNetworking/AFNetworking/issues/3651#issuecomment-252627366","issue_url":"https://api.github.com/repos/AFNetworking/AFNetworking/issues/3651","id":252627366,"user":{"login":"skyline75489","id":4710575,"avatar_url":"https://avatars.githubusercontent.com/u/4710575?v=3","gravatar_id":"","url":"https://api.github.com/users/skyline75489","html_url":"https://github.com/skyline75489","followers_url":"https://api.github.com/users/skyline75489/followers","following_url":"https://api.github.com/users/skyline75489/following{/other_user}","gists_url":"https://api.github.com/users/skyline75489/gists{/gist_id}","starred_url":"https://api.github.com/users/skyline75489/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyline75489/subscriptions","organizations_url":"https://api.github.com/users/skyline75489/orgs","repos_url":"https://api.github.com/users/skyline75489/repos","events_url":"https://api.github.com/users/skyline75489/events{/privacy}","received_events_url":"https://api.github.com/users/skyline75489/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T13:55:53Z","updated_at":"2016-10-10T13:55:53Z","body":"And (historical) #2356"}}
{"actor":{"display_login":"skyline75489"}}