{"action":"created","issue":{"url":"https://api.github.com/repos/sfackler/rust-security-framework/issues/23","repository_url":"https://api.github.com/repos/sfackler/rust-security-framework","labels_url":"https://api.github.com/repos/sfackler/rust-security-framework/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/sfackler/rust-security-framework/issues/23/comments","events_url":"https://api.github.com/repos/sfackler/rust-security-framework/issues/23/events","html_url":"https://github.com/sfackler/rust-security-framework/pull/23","id":195935049,"number":23,"title":"Add ClientBuilder::handshake2 for async clients","user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-15T22:38:26Z","updated_at":"2016-12-17T22:33:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sfackler/rust-security-framework/pulls/23","html_url":"https://github.com/sfackler/rust-security-framework/pull/23","diff_url":"https://github.com/sfackler/rust-security-framework/pull/23.diff","patch_url":"https://github.com/sfackler/rust-security-framework/pull/23.patch"},"body":"Currently the ClientBuilder::handshake function doesn't work with asynchronous\r\nclients as it just does a loop internally. This function extracts that logic\r\ninto a new `MidHandshakeClientBuilder` type and `ClientHandshakeError` enum to\r\nhandle the loop externally.\r\n\r\nThis should allow asynchronous clients to still use `ClientBuilder` and the\r\n`anchor_certificates` function, namely allowing `native-tls` to update to using\r\n`ClientBuilder` and leveraging this logic."},"comment":{"url":"https://api.github.com/repos/sfackler/rust-security-framework/issues/comments/267791441","html_url":"https://github.com/sfackler/rust-security-framework/pull/23#issuecomment-267791441","issue_url":"https://api.github.com/repos/sfackler/rust-security-framework/issues/23","id":267791441,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2016-12-17T22:33:07Z","updated_at":"2016-12-17T22:33:07Z","body":"Updated!"}}
{"actor":{"display_login":"alexcrichton"}}