{"action":"created","issue":{"url":"https://api.github.com/repos/molnarg/node-http2/issues/176","repository_url":"https://api.github.com/repos/molnarg/node-http2","labels_url":"https://api.github.com/repos/molnarg/node-http2/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/molnarg/node-http2/issues/176/comments","events_url":"https://api.github.com/repos/molnarg/node-http2/issues/176/events","html_url":"https://github.com/molnarg/node-http2/pull/176","id":132168181,"number":176,"title":"Add ability to specify endpoint key","user":{"login":"iartem","id":1183310,"avatar_url":"https://avatars.githubusercontent.com/u/1183310?v=3","gravatar_id":"","url":"https://api.github.com/users/iartem","html_url":"https://github.com/iartem","followers_url":"https://api.github.com/users/iartem/followers","following_url":"https://api.github.com/users/iartem/following{/other_user}","gists_url":"https://api.github.com/users/iartem/gists{/gist_id}","starred_url":"https://api.github.com/users/iartem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iartem/subscriptions","organizations_url":"https://api.github.com/users/iartem/orgs","repos_url":"https://api.github.com/users/iartem/repos","events_url":"https://api.github.com/users/iartem/events{/privacy}","received_events_url":"https://api.github.com/users/iartem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-08T15:11:36Z","updated_at":"2016-03-15T20:18:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/molnarg/node-http2/pulls/176","html_url":"https://github.com/molnarg/node-http2/pull/176","diff_url":"https://github.com/molnarg/node-http2/pull/176.diff","patch_url":"https://github.com/molnarg/node-http2/pull/176.patch"},"body":"Spec says there can be only one connection per host/port, but there is a case with Apple Push Notifications Service where one host/port can be used with multiple certificates. This pull request makes it possible. \r\n\r\nNot sure whether this should be merged, but I think it won't hurt."},"comment":{"url":"https://api.github.com/repos/molnarg/node-http2/issues/comments/197004259","html_url":"https://github.com/molnarg/node-http2/pull/176#issuecomment-197004259","issue_url":"https://api.github.com/repos/molnarg/node-http2/issues/176","id":197004259,"user":{"login":"nwgh","id":98339,"avatar_url":"https://avatars.githubusercontent.com/u/98339?v=3","gravatar_id":"","url":"https://api.github.com/users/nwgh","html_url":"https://github.com/nwgh","followers_url":"https://api.github.com/users/nwgh/followers","following_url":"https://api.github.com/users/nwgh/following{/other_user}","gists_url":"https://api.github.com/users/nwgh/gists{/gist_id}","starred_url":"https://api.github.com/users/nwgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwgh/subscriptions","organizations_url":"https://api.github.com/users/nwgh/orgs","repos_url":"https://api.github.com/users/nwgh/repos","events_url":"https://api.github.com/users/nwgh/events{/privacy}","received_events_url":"https://api.github.com/users/nwgh/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T20:18:30Z","updated_at":"2016-03-15T20:18:30Z","body":"Sorry for the lag here (the downside of having little time to work on this). Are you talking about one physical host having SNI or Subject Alternate Names in the cert, making that physical host authoritative for multiple origins, and thus coalescing multiple domains onto one connection? (For example, host a.foo.com presents a cert for a.foo.com, b.foo.com, and foobar.com, so all requests for any of those hosts could go on the same connection.)\r\n\r\nIf so, the coalescing problem is more subtle than just allowing a user-defined key for connection pooling, and will take more than just the change here to get it right (we would want to make sure, among other things, that DNS and SNI match).\r\n\r\nIf you're meaning something else, could you perhaps explain the situation more in-depth so I can understand what's being fixed before accepting the PR? Thanks."}}