{ "id": "130596", "key": "AC-1122", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-06-10T20:28:28.000+0000", "created": "2014-05-18T03:46:48.000+0000", "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:28.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "On Android calling HTTPClient.abort() right after send() does not abort the transfer. It continues running and it even triggers all the callbacks (ondatastream, onload etc...).\r\n\r\nA simple snippet :\r\n\r\nvar oXHR = Ti.Network.createHTTPClient(\r\n{\r\n onload: function(e){ ... },\r\n});\r\noXHR.open('GET',url);\r\noXHR.send();\r\noXHR.abort();\r\n\r\nThe transfer will continue as if abort() wasn't called.\r\n", "attachment": [], "flagged": false, "summary": "HTTPClient.abort() does not work if called right after send().", "creator": { "name": "s.stefanek", "key": "s.stefanek", "displayName": "Szymon Tomasz Stefanek", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "s.stefanek", "key": "s.stefanek", "displayName": "Szymon Tomasz Stefanek", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.2.3.GA", "comment": { "comments": [ { "id": "305748", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for providing the code snippet but we need a runnable test case to reproduce the issue. Please provide a simple test case so that I can see the issue you are seeing.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-20T18:27:30.000+0000", "updated": "2014-05-20T18:27:30.000+0000" }, { "id": "308334", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving the ticket as we cannot reproduce the issue in house and the reporter has not provided the complete test case. We will be happy to reopen the ticket once we have the test case to reproduce the issue. ", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-10T20:28:20.000+0000", "updated": "2014-06-10T20:28:20.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }