{ "id": "165834", "key": "TIMOB-24385", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-02-10T16:05:37.000+0000", "created": "2017-02-08T12:13:28.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-02-13T23:57:11.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "- When using {{Titanium.Stream.pump()}} - {{Titanium.Network.Socket.TCP.readAsync()}} does not stream data continuously to the callback. Only the first response is received.\r\n- When a connection is terminated the error is not handled elegantly, causing the application to crash.\r\n\r\nNOTE: The error parameters in the callbacks for both {{read}} and {{write}} should be updated accordingly.", "attachment": [], "flagged": false, "summary": "Windows: Ti.Network.Socket.TCP.readAsync() is not continuous", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 808, "state": "closed", "name": "2017 Sprint 03 SDK", "startDate": "2017-01-28T21:12:30.215Z", "endDate": "2017-02-12T21:12:00.000Z", "completeDate": "2017-02-12T23:37:14.667Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "406575", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile_windows/pull/947", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-08T12:38:56.000+0000", "updated": "2017-02-08T12:38:56.000+0000" }, { "id": "406945", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, was able to receive multiple responses and when I run the application when no server is running the application no longer crashes. \r\n\r\nLog output from the application in studio\r\n{code:java}\r\n-- Start application log -----------------------------------------------------\r\n[INFO] : Finished launching the application\r\n[INFO] : connecting...\r\n[INFO] : connected to server\r\n[INFO] : sending data...\r\n[INFO] : sent\r\n[INFO] : recv: test\r\n[INFO] : sending data...\r\n[INFO] : sent\r\n[INFO] : recv: test\r\n[INFO] : sending data...\r\n[INFO] : sent\r\n[INFO] : recv: test\r\n[INFO] : sending data...\r\n[INFO] : sent\r\n[INFO] : recv: test\r\n{code}\r\n\r\nLogout output from the server running in {{cmd}} using {{node index.js}}\r\n{code:java}\r\nPS C:\\Users\\Tester> cd desktop\r\nPS C:\\Users\\Tester\\desktop> node index.js\r\nserver listening on port 6262\r\nclient ::ffff:127.0.0.1 connected\r\nrecv: test\r\nrecv: test\r\nrecv: test\r\nrecv: test\r\nrecv: test\r\nrecv: test\r\n{code}\r\n\r\n*Environment*\r\n{code:java}\r\nPhone : Lumia 640 LTE (RM-1073)\r\nOperating System:\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 32bit\r\n# CPUs = 4\r\nMemory = 17034395648\r\n \r\nNode.js:\r\nNode.js Version = 4.6.0 \r\nnpm Version = 2.15.9\r\n \r\nTitanium SDK:\r\nSDK Version = 6.1.0.v20170213134957\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-13T23:57:05.000+0000", "updated": "2017-02-13T23:57:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }