{ "id": "111487", "key": "AC-2575", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-08T08:53:46.000+0000", "created": "2013-03-21T11:18:10.000+0000", "labels": [ "api", "ios" ], "versions": [], "issuelinks": [ { "id": "26893", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "111488", "key": "TIMOB-13163", "fields": { "summary": "iOS: HTTPClient setRequestHeader does not work for some headers", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-03-08T07:41:39.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "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": "I use the HTTPClient to setup a persistent connection (enableKeepAlive property = true and reguest header for connection set to 'keep-alive').\r\nWith a sniffer I see that the request header 'Connection' is still 'çlose'.\r\n\r\nI tried to set the enableKeepAlive at creation time of the htppclient and also with the setEnableKeepAlive method. Both without succes.\r\n\r\nIn the attachment you can find the code, as well as a printsreen of fiddler (the http sniffer tool)", "attachment": [ { "id": "36520", "filename": "fiddler.PNG", "author": { "name": "stefan@hestec.nl", "key": "stefan@hestec.nl", "displayName": "Stefan Hes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T11:18:10.000+0000", "size": 61369, "mimeType": "image/png" }, { "id": "36519", "filename": "httpclient code.txt", "author": { "name": "stefan@hestec.nl", "key": "stefan@hestec.nl", "displayName": "Stefan Hes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T11:18:10.000+0000", "size": 316, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: HTTPClient enableKeepAlive property true doesn't work", "creator": { "name": "stefan@hestec.nl", "key": "stefan@hestec.nl", "displayName": "Stefan Hes", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stefan@hestec.nl", "key": "stefan@hestec.nl", "displayName": "Stefan Hes", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium/3.02.GA\r\nIphone IOS 6.1.2", "comment": { "comments": [ { "id": "254079", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "It can't work with the current implementation and use of ASIHTTPRequest\nThat's why i personally created a new PersistentHTTPClient\ni had a pull request for that\nhttps://github.com/appcelerator/titanium_mobile/pull/2844\nbut it was never really followed", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-05-27T07:08:27.000+0000", "updated": "2013-05-27T07:08:27.000+0000" }, { "id": "256707", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hi Martin,\n\nLooks like you are in good contact with Blain Hammon of AppC to process this pull request. Is this JIRA needed any further? If not, I would like to close it.\n\nRegards,\nShak H.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-06-07T19:29:26.000+0000", "updated": "2013-06-07T19:29:26.000+0000" }, { "id": "256806", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "Personally I do think you can close this one ", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-06-08T08:50:57.000+0000", "updated": "2013-06-08T08:50:57.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }