{"action":"created","issue":{"url":"https://api.github.com/repos/robbiehanson/CocoaAsyncSocket/issues/126","labels_url":"https://api.github.com/repos/robbiehanson/CocoaAsyncSocket/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/robbiehanson/CocoaAsyncSocket/issues/126/comments","events_url":"https://api.github.com/repos/robbiehanson/CocoaAsyncSocket/issues/126/events","html_url":"https://github.com/robbiehanson/CocoaAsyncSocket/pull/126","id":10644312,"number":126,"title":"support keep socket live even read data time out","user":{"login":"myrual","id":201597,"avatar_url":"https://avatars.githubusercontent.com/u/201597?v=3","gravatar_id":"","url":"https://api.github.com/users/myrual","html_url":"https://github.com/myrual","followers_url":"https://api.github.com/users/myrual/followers","following_url":"https://api.github.com/users/myrual/following{/other_user}","gists_url":"https://api.github.com/users/myrual/gists{/gist_id}","starred_url":"https://api.github.com/users/myrual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myrual/subscriptions","organizations_url":"https://api.github.com/users/myrual/orgs","repos_url":"https://api.github.com/users/myrual/repos","events_url":"https://api.github.com/users/myrual/events{/privacy}","received_events_url":"https://api.github.com/users/myrual/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2013-02-05T10:20:29Z","updated_at":"2015-02-26T07:37:10Z","closed_at":"2013-03-18T05:24:45Z","pull_request":{"url":"https://api.github.com/repos/robbiehanson/CocoaAsyncSocket/pulls/126","html_url":"https://github.com/robbiehanson/CocoaAsyncSocket/pull/126","diff_url":"https://github.com/robbiehanson/CocoaAsyncSocket/pull/126.diff","patch_url":"https://github.com/robbiehanson/CocoaAsyncSocket/pull/126.patch"},"body":"My application need such feature to read until time out and write next command to tcp socket. "},"comment":{"url":"https://api.github.com/repos/robbiehanson/CocoaAsyncSocket/issues/comments/76134477","html_url":"https://github.com/robbiehanson/CocoaAsyncSocket/pull/126#issuecomment-76134477","issue_url":"https://api.github.com/repos/robbiehanson/CocoaAsyncSocket/issues/126","id":76134477,"user":{"login":"guptatarun84","id":9568033,"avatar_url":"https://avatars.githubusercontent.com/u/9568033?v=3","gravatar_id":"","url":"https://api.github.com/users/guptatarun84","html_url":"https://github.com/guptatarun84","followers_url":"https://api.github.com/users/guptatarun84/followers","following_url":"https://api.github.com/users/guptatarun84/following{/other_user}","gists_url":"https://api.github.com/users/guptatarun84/gists{/gist_id}","starred_url":"https://api.github.com/users/guptatarun84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guptatarun84/subscriptions","organizations_url":"https://api.github.com/users/guptatarun84/orgs","repos_url":"https://api.github.com/users/guptatarun84/repos","events_url":"https://api.github.com/users/guptatarun84/events{/privacy}","received_events_url":"https://api.github.com/users/guptatarun84/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T07:37:10Z","updated_at":"2015-02-26T07:37:10Z","body":"I know I could able to achieve this if my readSource keeps on reading the data and able to write at receiver end. But while debugging the GCDAsynSocket I found that it calls closeWithError method once the write is complete for 1st message"}}