{"action":"opened","number":109,"pull_request":{"url":"https://api.github.com/repos/ninenines/gun/pulls/109","id":94138242,"html_url":"https://github.com/ninenines/gun/pull/109","diff_url":"https://github.com/ninenines/gun/pull/109.diff","patch_url":"https://github.com/ninenines/gun/pull/109.patch","issue_url":"https://api.github.com/repos/ninenines/gun/issues/109","number":109,"state":"open","locked":false,"title":"Add support for choosing a process to reply to","user":{"login":"manifest","id":439058,"avatar_url":"https://avatars.githubusercontent.com/u/439058?v=3","gravatar_id":"","url":"https://api.github.com/users/manifest","html_url":"https://github.com/manifest","followers_url":"https://api.github.com/users/manifest/followers","following_url":"https://api.github.com/users/manifest/following{/other_user}","gists_url":"https://api.github.com/users/manifest/gists{/gist_id}","starred_url":"https://api.github.com/users/manifest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manifest/subscriptions","organizations_url":"https://api.github.com/users/manifest/orgs","repos_url":"https://api.github.com/users/manifest/repos","events_url":"https://api.github.com/users/manifest/events{/privacy}","received_events_url":"https://api.github.com/users/manifest/received_events","type":"User","site_admin":false},"body":"Aims to [this](https://github.com/ninenines/gun/issues/108) issue.\r\n\r\nThere is [one case](https://github.com/ninenines/gun/blob/0414eede62946f995a5ab4879f9026548440199c/src/gun_http2.erl?ts=2#L86) when [Owner](https://github.com/ninenines/gun/blob/0414eede62946f995a5ab4879f9026548440199c/src/gun_http2.erl?ts=2#L276) still could receive an `gun_error` message for HTTP2. Because we can't find a particular stream when `connection_error` is occurred, and `StreamID` has't [parsed](https://github.com/ninenines/cowlib/blob/8e6d0f462850a90bd8a60995f52027839288d038/src/cow_http2.erl#L78-L234) yet). The same is for [SPDY](https://github.com/ninenines/gun/blob/0414eede62946f995a5ab4879f9026548440199c/src/gun_spdy.erl?ts=2#L182). I've added a note relating to this behavior to the sources.\r\n\r\nAs for the tests, it looks like `spdy_SUITE` is broken, and `twitter_SUITE` contains just one testcase. I've added one more testcase to it for now. It will take time to fully cover gun's functionality. Maybe we could merge this PR as is and write testcases as we go?\r\n","created_at":"2016-11-17T10:17:42Z","updated_at":"2016-11-17T10:17:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ninenines/gun/pulls/109/commits","review_comments_url":"https://api.github.com/repos/ninenines/gun/pulls/109/comments","review_comment_url":"https://api.github.com/repos/ninenines/gun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ninenines/gun/issues/109/comments","statuses_url":"https://api.github.com/repos/ninenines/gun/statuses/826be1e952f947c0bdaf0dfe36e3a4518ab6b38f","head":{"label":"manifest:feature/reply-to","ref":"feature/reply-to","sha":"826be1e952f947c0bdaf0dfe36e3a4518ab6b38f","user":{"login":"manifest","id":439058,"avatar_url":"https://avatars.githubusercontent.com/u/439058?v=3","gravatar_id":"","url":"https://api.github.com/users/manifest","html_url":"https://github.com/manifest","followers_url":"https://api.github.com/users/manifest/followers","following_url":"https://api.github.com/users/manifest/following{/other_user}","gists_url":"https://api.github.com/users/manifest/gists{/gist_id}","starred_url":"https://api.github.com/users/manifest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manifest/subscriptions","organizations_url":"https://api.github.com/users/manifest/orgs","repos_url":"https://api.github.com/users/manifest/repos","events_url":"https://api.github.com/users/manifest/events{/privacy}","received_events_url":"https://api.github.com/users/manifest/received_events","type":"User","site_admin":false},"repo":{"id":73924446,"name":"gun","full_name":"manifest/gun","owner":{"login":"manifest","id":439058,"avatar_url":"https://avatars.githubusercontent.com/u/439058?v=3","gravatar_id":"","url":"https://api.github.com/users/manifest","html_url":"https://github.com/manifest","followers_url":"https://api.github.com/users/manifest/followers","following_url":"https://api.github.com/users/manifest/following{/other_user}","gists_url":"https://api.github.com/users/manifest/gists{/gist_id}","starred_url":"https://api.github.com/users/manifest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manifest/subscriptions","organizations_url":"https://api.github.com/users/manifest/orgs","repos_url":"https://api.github.com/users/manifest/repos","events_url":"https://api.github.com/users/manifest/events{/privacy}","received_events_url":"https://api.github.com/users/manifest/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/manifest/gun","description":"HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP.","fork":true,"url":"https://api.github.com/repos/manifest/gun","forks_url":"https://api.github.com/repos/manifest/gun/forks","keys_url":"https://api.github.com/repos/manifest/gun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/manifest/gun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/manifest/gun/teams","hooks_url":"https://api.github.com/repos/manifest/gun/hooks","issue_events_url":"https://api.github.com/repos/manifest/gun/issues/events{/number}","events_url":"https://api.github.com/repos/manifest/gun/events","assignees_url":"https://api.github.com/repos/manifest/gun/assignees{/user}","branches_url":"https://api.github.com/repos/manifest/gun/branches{/branch}","tags_url":"https://api.github.com/repos/manifest/gun/tags","blobs_url":"https://api.github.com/repos/manifest/gun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/manifest/gun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/manifest/gun/git/refs{/sha}","trees_url":"https://api.github.com/repos/manifest/gun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/manifest/gun/statuses/{sha}","languages_url":"https://api.github.com/repos/manifest/gun/languages","stargazers_url":"https://api.github.com/repos/manifest/gun/stargazers","contributors_url":"https://api.github.com/repos/manifest/gun/contributors","subscribers_url":"https://api.github.com/repos/manifest/gun/subscribers","subscription_url":"https://api.github.com/repos/manifest/gun/subscription","commits_url":"https://api.github.com/repos/manifest/gun/commits{/sha}","git_commits_url":"https://api.github.com/repos/manifest/gun/git/commits{/sha}","comments_url":"https://api.github.com/repos/manifest/gun/comments{/number}","issue_comment_url":"https://api.github.com/repos/manifest/gun/issues/comments{/number}","contents_url":"https://api.github.com/repos/manifest/gun/contents/{+path}","compare_url":"https://api.github.com/repos/manifest/gun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/manifest/gun/merges","archive_url":"https://api.github.com/repos/manifest/gun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/manifest/gun/downloads","issues_url":"https://api.github.com/repos/manifest/gun/issues{/number}","pulls_url":"https://api.github.com/repos/manifest/gun/pulls{/number}","milestones_url":"https://api.github.com/repos/manifest/gun/milestones{/number}","notifications_url":"https://api.github.com/repos/manifest/gun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/manifest/gun/labels{/name}","releases_url":"https://api.github.com/repos/manifest/gun/releases{/id}","deployments_url":"https://api.github.com/repos/manifest/gun/deployments","created_at":"2016-11-16T13:49:27Z","updated_at":"2016-11-16T13:49:28Z","pushed_at":"2016-11-17T09:48:44Z","git_url":"git://github.com/manifest/gun.git","ssh_url":"git@github.com:manifest/gun.git","clone_url":"https://github.com/manifest/gun.git","svn_url":"https://github.com/manifest/gun","homepage":"","size":255,"stargazers_count":0,"watchers_count":0,"language":"Erlang","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":"ninenines:master","ref":"master","sha":"7678f97afdbcb88199aa84165ceb658f2e4708ed","user":{"login":"ninenines","id":1166740,"avatar_url":"https://avatars.githubusercontent.com/u/1166740?v=3","gravatar_id":"","url":"https://api.github.com/users/ninenines","html_url":"https://github.com/ninenines","followers_url":"https://api.github.com/users/ninenines/followers","following_url":"https://api.github.com/users/ninenines/following{/other_user}","gists_url":"https://api.github.com/users/ninenines/gists{/gist_id}","starred_url":"https://api.github.com/users/ninenines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninenines/subscriptions","organizations_url":"https://api.github.com/users/ninenines/orgs","repos_url":"https://api.github.com/users/ninenines/repos","events_url":"https://api.github.com/users/ninenines/events{/privacy}","received_events_url":"https://api.github.com/users/ninenines/received_events","type":"Organization","site_admin":false},"repo":{"id":12277346,"name":"gun","full_name":"ninenines/gun","owner":{"login":"ninenines","id":1166740,"avatar_url":"https://avatars.githubusercontent.com/u/1166740?v=3","gravatar_id":"","url":"https://api.github.com/users/ninenines","html_url":"https://github.com/ninenines","followers_url":"https://api.github.com/users/ninenines/followers","following_url":"https://api.github.com/users/ninenines/following{/other_user}","gists_url":"https://api.github.com/users/ninenines/gists{/gist_id}","starred_url":"https://api.github.com/users/ninenines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninenines/subscriptions","organizations_url":"https://api.github.com/users/ninenines/orgs","repos_url":"https://api.github.com/users/ninenines/repos","events_url":"https://api.github.com/users/ninenines/events{/privacy}","received_events_url":"https://api.github.com/users/ninenines/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ninenines/gun","description":"HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP.","fork":false,"url":"https://api.github.com/repos/ninenines/gun","forks_url":"https://api.github.com/repos/ninenines/gun/forks","keys_url":"https://api.github.com/repos/ninenines/gun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ninenines/gun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ninenines/gun/teams","hooks_url":"https://api.github.com/repos/ninenines/gun/hooks","issue_events_url":"https://api.github.com/repos/ninenines/gun/issues/events{/number}","events_url":"https://api.github.com/repos/ninenines/gun/events","assignees_url":"https://api.github.com/repos/ninenines/gun/assignees{/user}","branches_url":"https://api.github.com/repos/ninenines/gun/branches{/branch}","tags_url":"https://api.github.com/repos/ninenines/gun/tags","blobs_url":"https://api.github.com/repos/ninenines/gun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ninenines/gun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ninenines/gun/git/refs{/sha}","trees_url":"https://api.github.com/repos/ninenines/gun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ninenines/gun/statuses/{sha}","languages_url":"https://api.github.com/repos/ninenines/gun/languages","stargazers_url":"https://api.github.com/repos/ninenines/gun/stargazers","contributors_url":"https://api.github.com/repos/ninenines/gun/contributors","subscribers_url":"https://api.github.com/repos/ninenines/gun/subscribers","subscription_url":"https://api.github.com/repos/ninenines/gun/subscription","commits_url":"https://api.github.com/repos/ninenines/gun/commits{/sha}","git_commits_url":"https://api.github.com/repos/ninenines/gun/git/commits{/sha}","comments_url":"https://api.github.com/repos/ninenines/gun/comments{/number}","issue_comment_url":"https://api.github.com/repos/ninenines/gun/issues/comments{/number}","contents_url":"https://api.github.com/repos/ninenines/gun/contents/{+path}","compare_url":"https://api.github.com/repos/ninenines/gun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ninenines/gun/merges","archive_url":"https://api.github.com/repos/ninenines/gun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ninenines/gun/downloads","issues_url":"https://api.github.com/repos/ninenines/gun/issues{/number}","pulls_url":"https://api.github.com/repos/ninenines/gun/pulls{/number}","milestones_url":"https://api.github.com/repos/ninenines/gun/milestones{/number}","notifications_url":"https://api.github.com/repos/ninenines/gun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ninenines/gun/labels{/name}","releases_url":"https://api.github.com/repos/ninenines/gun/releases{/id}","deployments_url":"https://api.github.com/repos/ninenines/gun/deployments","created_at":"2013-08-21T17:57:12Z","updated_at":"2016-11-16T17:51:51Z","pushed_at":"2016-11-17T10:17:42Z","git_url":"git://github.com/ninenines/gun.git","ssh_url":"git@github.com:ninenines/gun.git","clone_url":"https://github.com/ninenines/gun.git","svn_url":"https://github.com/ninenines/gun","homepage":"","size":365,"stargazers_count":285,"watchers_count":285,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":42,"forks":72,"open_issues":42,"watchers":285,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ninenines/gun/pulls/109"},"html":{"href":"https://github.com/ninenines/gun/pull/109"},"issue":{"href":"https://api.github.com/repos/ninenines/gun/issues/109"},"comments":{"href":"https://api.github.com/repos/ninenines/gun/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/ninenines/gun/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/ninenines/gun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ninenines/gun/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/ninenines/gun/statuses/826be1e952f947c0bdaf0dfe36e3a4518ab6b38f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":200,"deletions":165,"changed_files":5}}
{"actor":{"display_login":"manifest"}}