{"action":"closed","number":212,"pull_request":{"url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/pulls/212","id":42709434,"html_url":"https://github.com/DyKnow/SignalR-ObjC/pull/212","diff_url":"https://github.com/DyKnow/SignalR-ObjC/pull/212.diff","patch_url":"https://github.com/DyKnow/SignalR-ObjC/pull/212.patch","issue_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/issues/212","number":212,"state":"closed","locked":false,"title":"Fixed server send event stream reader handler","user":{"login":"benhongh","id":2332765,"avatar_url":"https://avatars.githubusercontent.com/u/2332765?v=3","gravatar_id":"","url":"https://api.github.com/users/benhongh","html_url":"https://github.com/benhongh","followers_url":"https://api.github.com/users/benhongh/followers","following_url":"https://api.github.com/users/benhongh/following{/other_user}","gists_url":"https://api.github.com/users/benhongh/gists{/gist_id}","starred_url":"https://api.github.com/users/benhongh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhongh/subscriptions","organizations_url":"https://api.github.com/users/benhongh/orgs","repos_url":"https://api.github.com/users/benhongh/repos","events_url":"https://api.github.com/users/benhongh/events{/privacy}","received_events_url":"https://api.github.com/users/benhongh/received_events","type":"User","site_admin":false},"body":"If the stream is already opened by the time it's passed to the stream reader and getting NSStreamEventOpenCompleted event is in a race condition.\r\n\r\nWhen NSStreamEventHasSpaceAvailable event is handled, it is safe to assume that the stream has already been opened and the reader state m\r\nust be updated accordingly. Otherwise the stream can never be read.","created_at":"2015-08-18T15:04:54Z","updated_at":"2016-02-05T16:23:00Z","closed_at":"2016-02-05T16:23:00Z","merged_at":null,"merge_commit_sha":"1049e2a16a95ca87a05bae84735745ab98f72055","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/pulls/212/commits","review_comments_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/pulls/212/comments","review_comment_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/issues/212/comments","statuses_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/statuses/e34866cfc11ef41ed0b01cb00b6183512446de14","head":{"label":"benhongh:master","ref":"master","sha":"e34866cfc11ef41ed0b01cb00b6183512446de14","user":{"login":"benhongh","id":2332765,"avatar_url":"https://avatars.githubusercontent.com/u/2332765?v=3","gravatar_id":"","url":"https://api.github.com/users/benhongh","html_url":"https://github.com/benhongh","followers_url":"https://api.github.com/users/benhongh/followers","following_url":"https://api.github.com/users/benhongh/following{/other_user}","gists_url":"https://api.github.com/users/benhongh/gists{/gist_id}","starred_url":"https://api.github.com/users/benhongh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhongh/subscriptions","organizations_url":"https://api.github.com/users/benhongh/orgs","repos_url":"https://api.github.com/users/benhongh/repos","events_url":"https://api.github.com/users/benhongh/events{/privacy}","received_events_url":"https://api.github.com/users/benhongh/received_events","type":"User","site_admin":false},"repo":{"id":40978561,"name":"SignalR-ObjC","full_name":"benhongh/SignalR-ObjC","owner":{"login":"benhongh","id":2332765,"avatar_url":"https://avatars.githubusercontent.com/u/2332765?v=3","gravatar_id":"","url":"https://api.github.com/users/benhongh","html_url":"https://github.com/benhongh","followers_url":"https://api.github.com/users/benhongh/followers","following_url":"https://api.github.com/users/benhongh/following{/other_user}","gists_url":"https://api.github.com/users/benhongh/gists{/gist_id}","starred_url":"https://api.github.com/users/benhongh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benhongh/subscriptions","organizations_url":"https://api.github.com/users/benhongh/orgs","repos_url":"https://api.github.com/users/benhongh/repos","events_url":"https://api.github.com/users/benhongh/events{/privacy}","received_events_url":"https://api.github.com/users/benhongh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benhongh/SignalR-ObjC","description":"Objective-C Client for the SignalR Project works with iOS and Mac","fork":true,"url":"https://api.github.com/repos/benhongh/SignalR-ObjC","forks_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/forks","keys_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/teams","hooks_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/hooks","issue_events_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/issues/events{/number}","events_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/events","assignees_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/assignees{/user}","branches_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/branches{/branch}","tags_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/tags","blobs_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/git/refs{/sha}","trees_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/statuses/{sha}","languages_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/languages","stargazers_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/stargazers","contributors_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/contributors","subscribers_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/subscribers","subscription_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/subscription","commits_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/commits{/sha}","git_commits_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/git/commits{/sha}","comments_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/comments{/number}","issue_comment_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/issues/comments{/number}","contents_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/contents/{+path}","compare_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/merges","archive_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/downloads","issues_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/issues{/number}","pulls_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/pulls{/number}","milestones_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/milestones{/number}","notifications_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/labels{/name}","releases_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/releases{/id}","deployments_url":"https://api.github.com/repos/benhongh/SignalR-ObjC/deployments","created_at":"2015-08-18T15:01:27Z","updated_at":"2015-08-18T15:01:28Z","pushed_at":"2015-08-18T15:03:43Z","git_url":"git://github.com/benhongh/SignalR-ObjC.git","ssh_url":"git@github.com:benhongh/SignalR-ObjC.git","clone_url":"https://github.com/benhongh/SignalR-ObjC.git","svn_url":"https://github.com/benhongh/SignalR-ObjC","homepage":"http://dyknow.github.com/SignalR-ObjC/","size":4674,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DyKnow:master","ref":"master","sha":"8dd16e02fcdc7516282f8e130ee5b68c587611e1","user":{"login":"DyKnow","id":445495,"avatar_url":"https://avatars.githubusercontent.com/u/445495?v=3","gravatar_id":"","url":"https://api.github.com/users/DyKnow","html_url":"https://github.com/DyKnow","followers_url":"https://api.github.com/users/DyKnow/followers","following_url":"https://api.github.com/users/DyKnow/following{/other_user}","gists_url":"https://api.github.com/users/DyKnow/gists{/gist_id}","starred_url":"https://api.github.com/users/DyKnow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DyKnow/subscriptions","organizations_url":"https://api.github.com/users/DyKnow/orgs","repos_url":"https://api.github.com/users/DyKnow/repos","events_url":"https://api.github.com/users/DyKnow/events{/privacy}","received_events_url":"https://api.github.com/users/DyKnow/received_events","type":"Organization","site_admin":false},"repo":{"id":2927807,"name":"SignalR-ObjC","full_name":"DyKnow/SignalR-ObjC","owner":{"login":"DyKnow","id":445495,"avatar_url":"https://avatars.githubusercontent.com/u/445495?v=3","gravatar_id":"","url":"https://api.github.com/users/DyKnow","html_url":"https://github.com/DyKnow","followers_url":"https://api.github.com/users/DyKnow/followers","following_url":"https://api.github.com/users/DyKnow/following{/other_user}","gists_url":"https://api.github.com/users/DyKnow/gists{/gist_id}","starred_url":"https://api.github.com/users/DyKnow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DyKnow/subscriptions","organizations_url":"https://api.github.com/users/DyKnow/orgs","repos_url":"https://api.github.com/users/DyKnow/repos","events_url":"https://api.github.com/users/DyKnow/events{/privacy}","received_events_url":"https://api.github.com/users/DyKnow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DyKnow/SignalR-ObjC","description":"Objective-C Client for the SignalR Project works with iOS and Mac","fork":false,"url":"https://api.github.com/repos/DyKnow/SignalR-ObjC","forks_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/forks","keys_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/teams","hooks_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/hooks","issue_events_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/issues/events{/number}","events_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/events","assignees_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/assignees{/user}","branches_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/branches{/branch}","tags_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/tags","blobs_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/git/refs{/sha}","trees_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/statuses/{sha}","languages_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/languages","stargazers_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/stargazers","contributors_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/contributors","subscribers_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/subscribers","subscription_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/subscription","commits_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/commits{/sha}","git_commits_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/git/commits{/sha}","comments_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/comments{/number}","issue_comment_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/issues/comments{/number}","contents_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/contents/{+path}","compare_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/merges","archive_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/downloads","issues_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/issues{/number}","pulls_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/pulls{/number}","milestones_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/milestones{/number}","notifications_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/labels{/name}","releases_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/releases{/id}","deployments_url":"https://api.github.com/repos/DyKnow/SignalR-ObjC/deployments","created_at":"2011-12-06T20:37:56Z","updated_at":"2016-01-28T08:42:28Z","pushed_at":"2016-02-05T16:18:43Z","git_url":"git://github.com/DyKnow/SignalR-ObjC.git","ssh_url":"git@github.com:DyKnow/SignalR-ObjC.git","clone_url":"https://github.com/DyKnow/SignalR-ObjC.git","svn_url":"https://github.com/DyKnow/SignalR-ObjC","homepage":"http://dyknow.github.com/SignalR-ObjC/","size":5001,"stargazers_count":293,"watchers_count":293,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":127,"mirror_url":null,"open_issues_count":29,"forks":127,"open_issues":29,"watchers":293,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DyKnow/SignalR-ObjC/pulls/212"},"html":{"href":"https://github.com/DyKnow/SignalR-ObjC/pull/212"},"issue":{"href":"https://api.github.com/repos/DyKnow/SignalR-ObjC/issues/212"},"comments":{"href":"https://api.github.com/repos/DyKnow/SignalR-ObjC/issues/212/comments"},"review_comments":{"href":"https://api.github.com/repos/DyKnow/SignalR-ObjC/pulls/212/comments"},"review_comment":{"href":"https://api.github.com/repos/DyKnow/SignalR-ObjC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DyKnow/SignalR-ObjC/pulls/212/commits"},"statuses":{"href":"https://api.github.com/repos/DyKnow/SignalR-ObjC/statuses/e34866cfc11ef41ed0b01cb00b6183512446de14"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":1}}