{"action":"created","comment":{"url":"https://api.github.com/repos/hashicorp/yamux/pulls/comments/38813191","id":38813191,"diff_hunk":"@@ -416,6 +425,10 @@ func (s *Session) recvLoop() error {\n \t\t\thandler = s.handleStreamMessage\n \t\tcase typeGoAway:\n \t\t\thandler = s.handleGoAway\n+\t\t\tselect{","path":"session.go","position":null,"original_position":41,"commit_id":"ef7d65eb4423ba3e90a64d6fa6cee025caa780ce","original_commit_id":"e065b5d0101e8bacc97f6aa0dd4fbfa6010da79e","user":{"login":"ginkoob","id":8826831,"avatar_url":"https://avatars.githubusercontent.com/u/8826831?v=3","gravatar_id":"","url":"https://api.github.com/users/ginkoob","html_url":"https://github.com/ginkoob","followers_url":"https://api.github.com/users/ginkoob/followers","following_url":"https://api.github.com/users/ginkoob/following{/other_user}","gists_url":"https://api.github.com/users/ginkoob/gists{/gist_id}","starred_url":"https://api.github.com/users/ginkoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ginkoob/subscriptions","organizations_url":"https://api.github.com/users/ginkoob/orgs","repos_url":"https://api.github.com/users/ginkoob/repos","events_url":"https://api.github.com/users/ginkoob/events{/privacy}","received_events_url":"https://api.github.com/users/ginkoob/received_events","type":"User","site_admin":false},"body":"done!","created_at":"2015-09-05T18:04:04Z","updated_at":"2015-09-05T18:04:04Z","html_url":"https://github.com/hashicorp/yamux/pull/18#discussion_r38813191","pull_request_url":"https://api.github.com/repos/hashicorp/yamux/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/hashicorp/yamux/pulls/comments/38813191"},"html":{"href":"https://github.com/hashicorp/yamux/pull/18#discussion_r38813191"},"pull_request":{"href":"https://api.github.com/repos/hashicorp/yamux/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/hashicorp/yamux/pulls/18","id":44048656,"html_url":"https://github.com/hashicorp/yamux/pull/18","diff_url":"https://github.com/hashicorp/yamux/pull/18.diff","patch_url":"https://github.com/hashicorp/yamux/pull/18.patch","issue_url":"https://api.github.com/repos/hashicorp/yamux/issues/18","number":18,"state":"open","locked":false,"title":"session.go: AcceptStream  handles GoAway","user":{"login":"ginkoob","id":8826831,"avatar_url":"https://avatars.githubusercontent.com/u/8826831?v=3","gravatar_id":"","url":"https://api.github.com/users/ginkoob","html_url":"https://github.com/ginkoob","followers_url":"https://api.github.com/users/ginkoob/followers","following_url":"https://api.github.com/users/ginkoob/following{/other_user}","gists_url":"https://api.github.com/users/ginkoob/gists{/gist_id}","starred_url":"https://api.github.com/users/ginkoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ginkoob/subscriptions","organizations_url":"https://api.github.com/users/ginkoob/orgs","repos_url":"https://api.github.com/users/ginkoob/repos","events_url":"https://api.github.com/users/ginkoob/events{/privacy}","received_events_url":"https://api.github.com/users/ginkoob/received_events","type":"User","site_admin":false},"body":"Closes #17 ","created_at":"2015-09-02T22:07:10Z","updated_at":"2015-09-05T18:04:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac76a5dd06924ee9a00c637b61855a3423950f02","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/yamux/pulls/18/commits","review_comments_url":"https://api.github.com/repos/hashicorp/yamux/pulls/18/comments","review_comment_url":"https://api.github.com/repos/hashicorp/yamux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/yamux/issues/18/comments","statuses_url":"https://api.github.com/repos/hashicorp/yamux/statuses/ef7d65eb4423ba3e90a64d6fa6cee025caa780ce","head":{"label":"ginkoob:goaway","ref":"goaway","sha":"ef7d65eb4423ba3e90a64d6fa6cee025caa780ce","user":{"login":"ginkoob","id":8826831,"avatar_url":"https://avatars.githubusercontent.com/u/8826831?v=3","gravatar_id":"","url":"https://api.github.com/users/ginkoob","html_url":"https://github.com/ginkoob","followers_url":"https://api.github.com/users/ginkoob/followers","following_url":"https://api.github.com/users/ginkoob/following{/other_user}","gists_url":"https://api.github.com/users/ginkoob/gists{/gist_id}","starred_url":"https://api.github.com/users/ginkoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ginkoob/subscriptions","organizations_url":"https://api.github.com/users/ginkoob/orgs","repos_url":"https://api.github.com/users/ginkoob/repos","events_url":"https://api.github.com/users/ginkoob/events{/privacy}","received_events_url":"https://api.github.com/users/ginkoob/received_events","type":"User","site_admin":false},"repo":{"id":41245202,"name":"yamux","full_name":"ginkoob/yamux","owner":{"login":"ginkoob","id":8826831,"avatar_url":"https://avatars.githubusercontent.com/u/8826831?v=3","gravatar_id":"","url":"https://api.github.com/users/ginkoob","html_url":"https://github.com/ginkoob","followers_url":"https://api.github.com/users/ginkoob/followers","following_url":"https://api.github.com/users/ginkoob/following{/other_user}","gists_url":"https://api.github.com/users/ginkoob/gists{/gist_id}","starred_url":"https://api.github.com/users/ginkoob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ginkoob/subscriptions","organizations_url":"https://api.github.com/users/ginkoob/orgs","repos_url":"https://api.github.com/users/ginkoob/repos","events_url":"https://api.github.com/users/ginkoob/events{/privacy}","received_events_url":"https://api.github.com/users/ginkoob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ginkoob/yamux","description":"Golang connection multiplexing library","fork":true,"url":"https://api.github.com/repos/ginkoob/yamux","forks_url":"https://api.github.com/repos/ginkoob/yamux/forks","keys_url":"https://api.github.com/repos/ginkoob/yamux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ginkoob/yamux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ginkoob/yamux/teams","hooks_url":"https://api.github.com/repos/ginkoob/yamux/hooks","issue_events_url":"https://api.github.com/repos/ginkoob/yamux/issues/events{/number}","events_url":"https://api.github.com/repos/ginkoob/yamux/events","assignees_url":"https://api.github.com/repos/ginkoob/yamux/assignees{/user}","branches_url":"https://api.github.com/repos/ginkoob/yamux/branches{/branch}","tags_url":"https://api.github.com/repos/ginkoob/yamux/tags","blobs_url":"https://api.github.com/repos/ginkoob/yamux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ginkoob/yamux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ginkoob/yamux/git/refs{/sha}","trees_url":"https://api.github.com/repos/ginkoob/yamux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ginkoob/yamux/statuses/{sha}","languages_url":"https://api.github.com/repos/ginkoob/yamux/languages","stargazers_url":"https://api.github.com/repos/ginkoob/yamux/stargazers","contributors_url":"https://api.github.com/repos/ginkoob/yamux/contributors","subscribers_url":"https://api.github.com/repos/ginkoob/yamux/subscribers","subscription_url":"https://api.github.com/repos/ginkoob/yamux/subscription","commits_url":"https://api.github.com/repos/ginkoob/yamux/commits{/sha}","git_commits_url":"https://api.github.com/repos/ginkoob/yamux/git/commits{/sha}","comments_url":"https://api.github.com/repos/ginkoob/yamux/comments{/number}","issue_comment_url":"https://api.github.com/repos/ginkoob/yamux/issues/comments{/number}","contents_url":"https://api.github.com/repos/ginkoob/yamux/contents/{+path}","compare_url":"https://api.github.com/repos/ginkoob/yamux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ginkoob/yamux/merges","archive_url":"https://api.github.com/repos/ginkoob/yamux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ginkoob/yamux/downloads","issues_url":"https://api.github.com/repos/ginkoob/yamux/issues{/number}","pulls_url":"https://api.github.com/repos/ginkoob/yamux/pulls{/number}","milestones_url":"https://api.github.com/repos/ginkoob/yamux/milestones{/number}","notifications_url":"https://api.github.com/repos/ginkoob/yamux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ginkoob/yamux/labels{/name}","releases_url":"https://api.github.com/repos/ginkoob/yamux/releases{/id}","created_at":"2015-08-23T10:23:26Z","updated_at":"2015-08-23T10:23:26Z","pushed_at":"2015-09-05T17:54:36Z","git_url":"git://github.com/ginkoob/yamux.git","ssh_url":"git@github.com:ginkoob/yamux.git","clone_url":"https://github.com/ginkoob/yamux.git","svn_url":"https://github.com/ginkoob/yamux","homepage":null,"size":204,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"hashicorp:master","ref":"master","sha":"ae139c4ae7fe21e9d99459d2acc57967cebb6918","user":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":20073531,"name":"yamux","full_name":"hashicorp/yamux","owner":{"login":"hashicorp","id":761456,"avatar_url":"https://avatars.githubusercontent.com/u/761456?v=3","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashicorp/yamux","description":"Golang connection multiplexing library","fork":false,"url":"https://api.github.com/repos/hashicorp/yamux","forks_url":"https://api.github.com/repos/hashicorp/yamux/forks","keys_url":"https://api.github.com/repos/hashicorp/yamux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/yamux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/yamux/teams","hooks_url":"https://api.github.com/repos/hashicorp/yamux/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/yamux/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/yamux/events","assignees_url":"https://api.github.com/repos/hashicorp/yamux/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/yamux/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/yamux/tags","blobs_url":"https://api.github.com/repos/hashicorp/yamux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/yamux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/yamux/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/yamux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/yamux/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/yamux/languages","stargazers_url":"https://api.github.com/repos/hashicorp/yamux/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/yamux/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/yamux/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/yamux/subscription","commits_url":"https://api.github.com/repos/hashicorp/yamux/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/yamux/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/yamux/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/yamux/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/yamux/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/yamux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/yamux/merges","archive_url":"https://api.github.com/repos/hashicorp/yamux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/yamux/downloads","issues_url":"https://api.github.com/repos/hashicorp/yamux/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/yamux/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/yamux/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/yamux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/yamux/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/yamux/releases{/id}","created_at":"2014-05-22T19:08:46Z","updated_at":"2015-09-01T20:53:33Z","pushed_at":"2015-09-05T17:54:37Z","git_url":"git://github.com/hashicorp/yamux.git","ssh_url":"git@github.com:hashicorp/yamux.git","clone_url":"https://github.com/hashicorp/yamux.git","svn_url":"https://github.com/hashicorp/yamux","homepage":null,"size":573,"stargazers_count":202,"watchers_count":202,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":5,"forks":22,"open_issues":5,"watchers":202,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/yamux/pulls/18"},"html":{"href":"https://github.com/hashicorp/yamux/pull/18"},"issue":{"href":"https://api.github.com/repos/hashicorp/yamux/issues/18"},"comments":{"href":"https://api.github.com/repos/hashicorp/yamux/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/yamux/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/yamux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/yamux/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/yamux/statuses/ef7d65eb4423ba3e90a64d6fa6cee025caa780ce"}}}}