{"action":"created","issue":{"url":"https://api.github.com/repos/elazarl/goproxy/issues/168","repository_url":"https://api.github.com/repos/elazarl/goproxy","labels_url":"https://api.github.com/repos/elazarl/goproxy/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/elazarl/goproxy/issues/168/comments","events_url":"https://api.github.com/repos/elazarl/goproxy/issues/168/events","html_url":"https://github.com/elazarl/goproxy/pull/168","id":157543272,"number":168,"title":"Fix panic if CONNECT transport is not a net.TCPConn","user":{"login":"gwatts","id":334535,"avatar_url":"https://avatars.githubusercontent.com/u/334535?v=3","gravatar_id":"","url":"https://api.github.com/users/gwatts","html_url":"https://github.com/gwatts","followers_url":"https://api.github.com/users/gwatts/followers","following_url":"https://api.github.com/users/gwatts/following{/other_user}","gists_url":"https://api.github.com/users/gwatts/gists{/gist_id}","starred_url":"https://api.github.com/users/gwatts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwatts/subscriptions","organizations_url":"https://api.github.com/users/gwatts/orgs","repos_url":"https://api.github.com/users/gwatts/repos","events_url":"https://api.github.com/users/gwatts/events{/privacy}","received_events_url":"https://api.github.com/users/gwatts/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-05-30T18:37:26Z","updated_at":"2016-09-01T06:47:11Z","closed_at":"2016-09-01T06:47:11Z","pull_request":{"url":"https://api.github.com/repos/elazarl/goproxy/pulls/168","html_url":"https://github.com/elazarl/goproxy/pull/168","diff_url":"https://github.com/elazarl/goproxy/pull/168.diff","patch_url":"https://github.com/elazarl/goproxy/pull/168.patch"},"body":"handleHttps would panic if Dial returned something other than a\r\nnet.TCPConn which was then used for a non MITM CONNECT request.\r\n\r\nFor example the golang.org/x/crypto/ssh package returns a net.Conn\r\nwhen opening a tunnel through an ssh connection.  This is backed\r\nby a wrapped ssh.Channel which also implements CloseWrite() so using\r\na type assertion achieves the same result in a portable fashion."},"comment":{"url":"https://api.github.com/repos/elazarl/goproxy/issues/comments/243990896","html_url":"https://github.com/elazarl/goproxy/pull/168#issuecomment-243990896","issue_url":"https://api.github.com/repos/elazarl/goproxy/issues/168","id":243990896,"user":{"login":"elazarl","id":260258,"avatar_url":"https://avatars.githubusercontent.com/u/260258?v=3","gravatar_id":"","url":"https://api.github.com/users/elazarl","html_url":"https://github.com/elazarl","followers_url":"https://api.github.com/users/elazarl/followers","following_url":"https://api.github.com/users/elazarl/following{/other_user}","gists_url":"https://api.github.com/users/elazarl/gists{/gist_id}","starred_url":"https://api.github.com/users/elazarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elazarl/subscriptions","organizations_url":"https://api.github.com/users/elazarl/orgs","repos_url":"https://api.github.com/users/elazarl/repos","events_url":"https://api.github.com/users/elazarl/events{/privacy}","received_events_url":"https://api.github.com/users/elazarl/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T06:47:11Z","updated_at":"2016-09-01T06:47:11Z","body":"@gwatts can you please see if de25c6ed252fdc01e23dae49d6a86742bd790b12 fixes it for you?"}}
{"actor":{"display_login":"elazarl"}}