{"action":"closed","number":718,"pull_request":{"url":"https://api.github.com/repos/k9mail/k-9/pulls/718","id":40634520,"html_url":"https://github.com/k9mail/k-9/pull/718","diff_url":"https://github.com/k9mail/k-9/pull/718.diff","patch_url":"https://github.com/k9mail/k-9/pull/718.patch","issue_url":"https://api.github.com/repos/k9mail/k-9/issues/718","number":718,"state":"closed","locked":false,"title":"Set SNI hostname if we can for TLS connections","user":{"login":"moparisthebest","id":363760,"avatar_url":"https://avatars.githubusercontent.com/u/363760?v=3","gravatar_id":"","url":"https://api.github.com/users/moparisthebest","html_url":"https://github.com/moparisthebest","followers_url":"https://api.github.com/users/moparisthebest/followers","following_url":"https://api.github.com/users/moparisthebest/following{/other_user}","gists_url":"https://api.github.com/users/moparisthebest/gists{/gist_id}","starred_url":"https://api.github.com/users/moparisthebest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moparisthebest/subscriptions","organizations_url":"https://api.github.com/users/moparisthebest/orgs","repos_url":"https://api.github.com/users/moparisthebest/repos","events_url":"https://api.github.com/users/moparisthebest/events{/privacy}","received_events_url":"https://api.github.com/users/moparisthebest/received_events","type":"User","site_admin":false},"body":"This patch sets the SNI hostname for TLS connections, using documented APIs for newer androids, and undocumented which works on most androids back to 2.3. This is required for any TLS connection that requires SNI to pick the correct certificate to send to the client (or multiplex based on SNI, which is what I'm using it for).","created_at":"2015-07-23T03:41:29Z","updated_at":"2015-09-15T19:39:06Z","closed_at":"2015-09-15T19:39:06Z","merged_at":"2015-09-15T19:39:06Z","merge_commit_sha":"5cfb03c310cefe8c62e55b1223a9a028172aa24e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/k9mail/k-9/pulls/718/commits","review_comments_url":"https://api.github.com/repos/k9mail/k-9/pulls/718/comments","review_comment_url":"https://api.github.com/repos/k9mail/k-9/pulls/comments{/number}","comments_url":"https://api.github.com/repos/k9mail/k-9/issues/718/comments","statuses_url":"https://api.github.com/repos/k9mail/k-9/statuses/54f9fd36a77423a55f63fbf9b1bcea055a239768","head":{"label":"moparisthebest:master","ref":"master","sha":"54f9fd36a77423a55f63fbf9b1bcea055a239768","user":{"login":"moparisthebest","id":363760,"avatar_url":"https://avatars.githubusercontent.com/u/363760?v=3","gravatar_id":"","url":"https://api.github.com/users/moparisthebest","html_url":"https://github.com/moparisthebest","followers_url":"https://api.github.com/users/moparisthebest/followers","following_url":"https://api.github.com/users/moparisthebest/following{/other_user}","gists_url":"https://api.github.com/users/moparisthebest/gists{/gist_id}","starred_url":"https://api.github.com/users/moparisthebest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moparisthebest/subscriptions","organizations_url":"https://api.github.com/users/moparisthebest/orgs","repos_url":"https://api.github.com/users/moparisthebest/repos","events_url":"https://api.github.com/users/moparisthebest/events{/privacy}","received_events_url":"https://api.github.com/users/moparisthebest/received_events","type":"User","site_admin":false},"repo":{"id":39543806,"name":"k-9","full_name":"moparisthebest/k-9","owner":{"login":"moparisthebest","id":363760,"avatar_url":"https://avatars.githubusercontent.com/u/363760?v=3","gravatar_id":"","url":"https://api.github.com/users/moparisthebest","html_url":"https://github.com/moparisthebest","followers_url":"https://api.github.com/users/moparisthebest/followers","following_url":"https://api.github.com/users/moparisthebest/following{/other_user}","gists_url":"https://api.github.com/users/moparisthebest/gists{/gist_id}","starred_url":"https://api.github.com/users/moparisthebest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moparisthebest/subscriptions","organizations_url":"https://api.github.com/users/moparisthebest/orgs","repos_url":"https://api.github.com/users/moparisthebest/repos","events_url":"https://api.github.com/users/moparisthebest/events{/privacy}","received_events_url":"https://api.github.com/users/moparisthebest/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/moparisthebest/k-9","description":"K-9 Mail – Advanced Email for Android","fork":true,"url":"https://api.github.com/repos/moparisthebest/k-9","forks_url":"https://api.github.com/repos/moparisthebest/k-9/forks","keys_url":"https://api.github.com/repos/moparisthebest/k-9/keys{/key_id}","collaborators_url":"https://api.github.com/repos/moparisthebest/k-9/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/moparisthebest/k-9/teams","hooks_url":"https://api.github.com/repos/moparisthebest/k-9/hooks","issue_events_url":"https://api.github.com/repos/moparisthebest/k-9/issues/events{/number}","events_url":"https://api.github.com/repos/moparisthebest/k-9/events","assignees_url":"https://api.github.com/repos/moparisthebest/k-9/assignees{/user}","branches_url":"https://api.github.com/repos/moparisthebest/k-9/branches{/branch}","tags_url":"https://api.github.com/repos/moparisthebest/k-9/tags","blobs_url":"https://api.github.com/repos/moparisthebest/k-9/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/moparisthebest/k-9/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/moparisthebest/k-9/git/refs{/sha}","trees_url":"https://api.github.com/repos/moparisthebest/k-9/git/trees{/sha}","statuses_url":"https://api.github.com/repos/moparisthebest/k-9/statuses/{sha}","languages_url":"https://api.github.com/repos/moparisthebest/k-9/languages","stargazers_url":"https://api.github.com/repos/moparisthebest/k-9/stargazers","contributors_url":"https://api.github.com/repos/moparisthebest/k-9/contributors","subscribers_url":"https://api.github.com/repos/moparisthebest/k-9/subscribers","subscription_url":"https://api.github.com/repos/moparisthebest/k-9/subscription","commits_url":"https://api.github.com/repos/moparisthebest/k-9/commits{/sha}","git_commits_url":"https://api.github.com/repos/moparisthebest/k-9/git/commits{/sha}","comments_url":"https://api.github.com/repos/moparisthebest/k-9/comments{/number}","issue_comment_url":"https://api.github.com/repos/moparisthebest/k-9/issues/comments{/number}","contents_url":"https://api.github.com/repos/moparisthebest/k-9/contents/{+path}","compare_url":"https://api.github.com/repos/moparisthebest/k-9/compare/{base}...{head}","merges_url":"https://api.github.com/repos/moparisthebest/k-9/merges","archive_url":"https://api.github.com/repos/moparisthebest/k-9/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/moparisthebest/k-9/downloads","issues_url":"https://api.github.com/repos/moparisthebest/k-9/issues{/number}","pulls_url":"https://api.github.com/repos/moparisthebest/k-9/pulls{/number}","milestones_url":"https://api.github.com/repos/moparisthebest/k-9/milestones{/number}","notifications_url":"https://api.github.com/repos/moparisthebest/k-9/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/moparisthebest/k-9/labels{/name}","releases_url":"https://api.github.com/repos/moparisthebest/k-9/releases{/id}","created_at":"2015-07-23T03:32:04Z","updated_at":"2015-07-23T03:32:11Z","pushed_at":"2015-07-25T03:52:39Z","git_url":"git://github.com/moparisthebest/k-9.git","ssh_url":"git@github.com:moparisthebest/k-9.git","clone_url":"https://github.com/moparisthebest/k-9.git","svn_url":"https://github.com/moparisthebest/k-9","homepage":"","size":36227,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"k9mail:master","ref":"master","sha":"8de2ec7f27cfcb81baed81b0b8039c323401479a","user":{"login":"k9mail","id":567044,"avatar_url":"https://avatars.githubusercontent.com/u/567044?v=3","gravatar_id":"","url":"https://api.github.com/users/k9mail","html_url":"https://github.com/k9mail","followers_url":"https://api.github.com/users/k9mail/followers","following_url":"https://api.github.com/users/k9mail/following{/other_user}","gists_url":"https://api.github.com/users/k9mail/gists{/gist_id}","starred_url":"https://api.github.com/users/k9mail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k9mail/subscriptions","organizations_url":"https://api.github.com/users/k9mail/orgs","repos_url":"https://api.github.com/users/k9mail/repos","events_url":"https://api.github.com/users/k9mail/events{/privacy}","received_events_url":"https://api.github.com/users/k9mail/received_events","type":"Organization","site_admin":false},"repo":{"id":1326671,"name":"k-9","full_name":"k9mail/k-9","owner":{"login":"k9mail","id":567044,"avatar_url":"https://avatars.githubusercontent.com/u/567044?v=3","gravatar_id":"","url":"https://api.github.com/users/k9mail","html_url":"https://github.com/k9mail","followers_url":"https://api.github.com/users/k9mail/followers","following_url":"https://api.github.com/users/k9mail/following{/other_user}","gists_url":"https://api.github.com/users/k9mail/gists{/gist_id}","starred_url":"https://api.github.com/users/k9mail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k9mail/subscriptions","organizations_url":"https://api.github.com/users/k9mail/orgs","repos_url":"https://api.github.com/users/k9mail/repos","events_url":"https://api.github.com/users/k9mail/events{/privacy}","received_events_url":"https://api.github.com/users/k9mail/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/k9mail/k-9","description":"K-9 Mail – Advanced Email for Android","fork":false,"url":"https://api.github.com/repos/k9mail/k-9","forks_url":"https://api.github.com/repos/k9mail/k-9/forks","keys_url":"https://api.github.com/repos/k9mail/k-9/keys{/key_id}","collaborators_url":"https://api.github.com/repos/k9mail/k-9/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/k9mail/k-9/teams","hooks_url":"https://api.github.com/repos/k9mail/k-9/hooks","issue_events_url":"https://api.github.com/repos/k9mail/k-9/issues/events{/number}","events_url":"https://api.github.com/repos/k9mail/k-9/events","assignees_url":"https://api.github.com/repos/k9mail/k-9/assignees{/user}","branches_url":"https://api.github.com/repos/k9mail/k-9/branches{/branch}","tags_url":"https://api.github.com/repos/k9mail/k-9/tags","blobs_url":"https://api.github.com/repos/k9mail/k-9/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/k9mail/k-9/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/k9mail/k-9/git/refs{/sha}","trees_url":"https://api.github.com/repos/k9mail/k-9/git/trees{/sha}","statuses_url":"https://api.github.com/repos/k9mail/k-9/statuses/{sha}","languages_url":"https://api.github.com/repos/k9mail/k-9/languages","stargazers_url":"https://api.github.com/repos/k9mail/k-9/stargazers","contributors_url":"https://api.github.com/repos/k9mail/k-9/contributors","subscribers_url":"https://api.github.com/repos/k9mail/k-9/subscribers","subscription_url":"https://api.github.com/repos/k9mail/k-9/subscription","commits_url":"https://api.github.com/repos/k9mail/k-9/commits{/sha}","git_commits_url":"https://api.github.com/repos/k9mail/k-9/git/commits{/sha}","comments_url":"https://api.github.com/repos/k9mail/k-9/comments{/number}","issue_comment_url":"https://api.github.com/repos/k9mail/k-9/issues/comments{/number}","contents_url":"https://api.github.com/repos/k9mail/k-9/contents/{+path}","compare_url":"https://api.github.com/repos/k9mail/k-9/compare/{base}...{head}","merges_url":"https://api.github.com/repos/k9mail/k-9/merges","archive_url":"https://api.github.com/repos/k9mail/k-9/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/k9mail/k-9/downloads","issues_url":"https://api.github.com/repos/k9mail/k-9/issues{/number}","pulls_url":"https://api.github.com/repos/k9mail/k-9/pulls{/number}","milestones_url":"https://api.github.com/repos/k9mail/k-9/milestones{/number}","notifications_url":"https://api.github.com/repos/k9mail/k-9/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/k9mail/k-9/labels{/name}","releases_url":"https://api.github.com/repos/k9mail/k-9/releases{/id}","created_at":"2011-02-04T02:40:00Z","updated_at":"2015-09-14T15:06:02Z","pushed_at":"2015-09-15T19:39:04Z","git_url":"git://github.com/k9mail/k-9.git","ssh_url":"git@github.com:k9mail/k-9.git","clone_url":"https://github.com/k9mail/k-9.git","svn_url":"https://github.com/k9mail/k-9","homepage":"","size":86212,"stargazers_count":2055,"watchers_count":2055,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1257,"mirror_url":null,"open_issues_count":125,"forks":1257,"open_issues":125,"watchers":2055,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/k9mail/k-9/pulls/718"},"html":{"href":"https://github.com/k9mail/k-9/pull/718"},"issue":{"href":"https://api.github.com/repos/k9mail/k-9/issues/718"},"comments":{"href":"https://api.github.com/repos/k9mail/k-9/issues/718/comments"},"review_comments":{"href":"https://api.github.com/repos/k9mail/k-9/pulls/718/comments"},"review_comment":{"href":"https://api.github.com/repos/k9mail/k-9/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/k9mail/k-9/pulls/718/commits"},"statuses":{"href":"https://api.github.com/repos/k9mail/k-9/statuses/54f9fd36a77423a55f63fbf9b1bcea055a239768"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cketti","id":218061,"avatar_url":"https://avatars.githubusercontent.com/u/218061?v=3","gravatar_id":"","url":"https://api.github.com/users/cketti","html_url":"https://github.com/cketti","followers_url":"https://api.github.com/users/cketti/followers","following_url":"https://api.github.com/users/cketti/following{/other_user}","gists_url":"https://api.github.com/users/cketti/gists{/gist_id}","starred_url":"https://api.github.com/users/cketti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cketti/subscriptions","organizations_url":"https://api.github.com/users/cketti/orgs","repos_url":"https://api.github.com/users/cketti/repos","events_url":"https://api.github.com/users/cketti/events{/privacy}","received_events_url":"https://api.github.com/users/cketti/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":15,"deletions":0,"changed_files":2}}