{"action":"created","issue":{"url":"https://api.github.com/repos/akka/akka/issues/16153","repository_url":"https://api.github.com/repos/akka/akka","labels_url":"https://api.github.com/repos/akka/akka/issues/16153/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka/issues/16153/comments","events_url":"https://api.github.com/repos/akka/akka/issues/16153/events","html_url":"https://github.com/akka/akka/issues/16153","id":46922131,"number":16153,"title":"Add support for proxying HTTPS server connections on the client side","user":{"login":"sirthias","id":135347,"avatar_url":"https://avatars.githubusercontent.com/u/135347?v=3","gravatar_id":"","url":"https://api.github.com/users/sirthias","html_url":"https://github.com/sirthias","followers_url":"https://api.github.com/users/sirthias/followers","following_url":"https://api.github.com/users/sirthias/following{/other_user}","gists_url":"https://api.github.com/users/sirthias/gists{/gist_id}","starred_url":"https://api.github.com/users/sirthias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirthias/subscriptions","organizations_url":"https://api.github.com/users/sirthias/orgs","repos_url":"https://api.github.com/users/sirthias/repos","events_url":"https://api.github.com/users/sirthias/events{/privacy}","received_events_url":"https://api.github.com/users/sirthias/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akka/akka/labels/1%20-%20triaged","name":"1 - triaged","color":"5319e7"},{"url":"https://api.github.com/repos/akka/akka/labels/large","name":"large","color":"fad8c7"},{"url":"https://api.github.com/repos/akka/akka/labels/t:http","name":"t:http","color":"CCCCCC"},{"url":"https://api.github.com/repos/akka/akka/labels/t:http:client","name":"t:http:client","color":"ededed"},{"url":"https://api.github.com/repos/akka/akka/labels/t:http:core","name":"t:http:core","color":"ededed"},{"url":"https://api.github.com/repos/akka/akka/labels/t:io:tls","name":"t:io:tls","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/akka/akka/milestones/68","html_url":"https://github.com/akka/akka/milestones/http-backlog","labels_url":"https://api.github.com/repos/akka/akka/milestones/68/labels","id":1450172,"number":68,"title":"http-backlog","description":"","creator":{"login":"ktoso","id":120979,"avatar_url":"https://avatars.githubusercontent.com/u/120979?v=3","gravatar_id":"","url":"https://api.github.com/users/ktoso","html_url":"https://github.com/ktoso","followers_url":"https://api.github.com/users/ktoso/followers","following_url":"https://api.github.com/users/ktoso/following{/other_user}","gists_url":"https://api.github.com/users/ktoso/gists{/gist_id}","starred_url":"https://api.github.com/users/ktoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktoso/subscriptions","organizations_url":"https://api.github.com/users/ktoso/orgs","repos_url":"https://api.github.com/users/ktoso/repos","events_url":"https://api.github.com/users/ktoso/events{/privacy}","received_events_url":"https://api.github.com/users/ktoso/received_events","type":"User","site_admin":false},"open_issues":93,"closed_issues":36,"state":"open","created_at":"2015-12-08T15:56:08Z","updated_at":"2016-08-24T08:31:17Z","due_on":null,"closed_at":null},"comments":23,"created_at":"2014-10-27T15:52:37Z","updated_at":"2016-09-01T20:43:54Z","closed_at":null,"body":"Required for one connection:\r\n\r\n1. Establish plain-text connection to proxy\r\n2. Send plain-text `CONNECT target.host:443 HTTP/1.1` request to the proxy\r\n3. Wait for `2xx` response (afterwards all communication on the connection will be directly tunneled through to the target host)\r\n4. Start SSL handshake, i.e. upgrade the connection to TLS/SSL\r\n5. Send the actual requests, read actual responses\r\n\r\nThis feature should likely be implemented on the level of host-level client-side API as in most cases you'll want a managed connection pool to the proxy.\r\n\r\nSome pointers:\r\n\r\n- http://tools.ietf.org/html/rfc2817#section-5.2 (The other \"upgrading a connection\" parts of that RFC appear to be rarely used)\r\n- http://stackoverflow.com/questions/6594604/connect-request-to-a-forward-http-proxy-over-an-ssl-connection/6594880#6594880"},"comment":{"url":"https://api.github.com/repos/akka/akka/issues/comments/244206262","html_url":"https://github.com/akka/akka/issues/16153#issuecomment-244206262","issue_url":"https://api.github.com/repos/akka/akka/issues/16153","id":244206262,"user":{"login":"greenhost87","id":2277175,"avatar_url":"https://avatars.githubusercontent.com/u/2277175?v=3","gravatar_id":"","url":"https://api.github.com/users/greenhost87","html_url":"https://github.com/greenhost87","followers_url":"https://api.github.com/users/greenhost87/followers","following_url":"https://api.github.com/users/greenhost87/following{/other_user}","gists_url":"https://api.github.com/users/greenhost87/gists{/gist_id}","starred_url":"https://api.github.com/users/greenhost87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenhost87/subscriptions","organizations_url":"https://api.github.com/users/greenhost87/orgs","repos_url":"https://api.github.com/users/greenhost87/repos","events_url":"https://api.github.com/users/greenhost87/events{/privacy}","received_events_url":"https://api.github.com/users/greenhost87/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T20:43:54Z","updated_at":"2016-09-01T20:43:54Z","body":"+1"}}
{"actor":{"display_login":"greenhost87"}}