{"action":"created","comment":{"url":"https://api.github.com/repos/composer/composer/pulls/comments/49933854","id":49933854,"diff_hunk":"@@ -291,10 +317,24 @@ protected function get($originUrl, $fileUrl, $additionalOptions = array(), $file\n             }\n         }\n \n+        // Check if the failure was due to a Common Name mismatch with remote SSL cert and retry once (excl normal retry)","path":"src/Composer/Util/RemoteFilesystem.php","position":85,"original_position":85,"commit_id":"80c96a2c0101c87b1824edebf13e4995ae531799","original_commit_id":"80c96a2c0101c87b1824edebf13e4995ae531799","user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"body":"Alright thanks @StormTide, I dropped this whole CN stuff then. And I only set CN_match + SNI_server_name to the URL's host if we run on php < 5.6 - and trust php core for higher versions.","created_at":"2016-01-16T16:31:55Z","updated_at":"2016-01-16T16:31:55Z","html_url":"https://github.com/composer/composer/pull/4759#discussion_r49933854","pull_request_url":"https://api.github.com/repos/composer/composer/pulls/4759","_links":{"self":{"href":"https://api.github.com/repos/composer/composer/pulls/comments/49933854"},"html":{"href":"https://github.com/composer/composer/pull/4759#discussion_r49933854"},"pull_request":{"href":"https://api.github.com/repos/composer/composer/pulls/4759"}}},"pull_request":{"url":"https://api.github.com/repos/composer/composer/pulls/4759","id":55573238,"html_url":"https://github.com/composer/composer/pull/4759","diff_url":"https://github.com/composer/composer/pull/4759.diff","patch_url":"https://github.com/composer/composer/pull/4759.patch","issue_url":"https://api.github.com/repos/composer/composer/issues/4759","number":4759,"state":"open","locked":false,"title":"SSL support improvements","user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"body":"Replaces #2745","created_at":"2016-01-10T20:18:12Z","updated_at":"2016-01-16T16:31:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e5f81c51cec33339b0d1bd7382e3c5a664054d1","assignee":null,"milestone":{"url":"https://api.github.com/repos/composer/composer/milestones/9","html_url":"https://github.com/composer/composer/milestones/Backwards%20Compatible","labels_url":"https://api.github.com/repos/composer/composer/milestones/9/labels","id":524151,"number":9,"title":"Backwards Compatible","description":"Issues that may impact BC in any way and that should be completed before getting out of alpha","creator":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":45,"state":"open","created_at":"2013-12-31T16:37:59Z","updated_at":"2016-01-10T20:22:34Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/composer/composer/pulls/4759/commits","review_comments_url":"https://api.github.com/repos/composer/composer/pulls/4759/comments","review_comment_url":"https://api.github.com/repos/composer/composer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/composer/composer/issues/4759/comments","statuses_url":"https://api.github.com/repos/composer/composer/statuses/80c96a2c0101c87b1824edebf13e4995ae531799","head":{"label":"Seldaek:tls-config","ref":"tls-config","sha":"80c96a2c0101c87b1824edebf13e4995ae531799","user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"repo":{"id":1864582,"name":"composer","full_name":"Seldaek/composer","owner":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Seldaek/composer","description":"Package Management for PHP","fork":true,"url":"https://api.github.com/repos/Seldaek/composer","forks_url":"https://api.github.com/repos/Seldaek/composer/forks","keys_url":"https://api.github.com/repos/Seldaek/composer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Seldaek/composer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Seldaek/composer/teams","hooks_url":"https://api.github.com/repos/Seldaek/composer/hooks","issue_events_url":"https://api.github.com/repos/Seldaek/composer/issues/events{/number}","events_url":"https://api.github.com/repos/Seldaek/composer/events","assignees_url":"https://api.github.com/repos/Seldaek/composer/assignees{/user}","branches_url":"https://api.github.com/repos/Seldaek/composer/branches{/branch}","tags_url":"https://api.github.com/repos/Seldaek/composer/tags","blobs_url":"https://api.github.com/repos/Seldaek/composer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Seldaek/composer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Seldaek/composer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Seldaek/composer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Seldaek/composer/statuses/{sha}","languages_url":"https://api.github.com/repos/Seldaek/composer/languages","stargazers_url":"https://api.github.com/repos/Seldaek/composer/stargazers","contributors_url":"https://api.github.com/repos/Seldaek/composer/contributors","subscribers_url":"https://api.github.com/repos/Seldaek/composer/subscribers","subscription_url":"https://api.github.com/repos/Seldaek/composer/subscription","commits_url":"https://api.github.com/repos/Seldaek/composer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Seldaek/composer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Seldaek/composer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Seldaek/composer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Seldaek/composer/contents/{+path}","compare_url":"https://api.github.com/repos/Seldaek/composer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Seldaek/composer/merges","archive_url":"https://api.github.com/repos/Seldaek/composer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Seldaek/composer/downloads","issues_url":"https://api.github.com/repos/Seldaek/composer/issues{/number}","pulls_url":"https://api.github.com/repos/Seldaek/composer/pulls{/number}","milestones_url":"https://api.github.com/repos/Seldaek/composer/milestones{/number}","notifications_url":"https://api.github.com/repos/Seldaek/composer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Seldaek/composer/labels{/name}","releases_url":"https://api.github.com/repos/Seldaek/composer/releases{/id}","created_at":"2011-06-08T09:45:42Z","updated_at":"2014-10-15T09:27:49Z","pushed_at":"2016-01-10T21:10:46Z","git_url":"git://github.com/Seldaek/composer.git","ssh_url":"git@github.com:Seldaek/composer.git","clone_url":"https://github.com/Seldaek/composer.git","svn_url":"https://github.com/Seldaek/composer","homepage":"","size":12106,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":4,"default_branch":"master"}},"base":{"label":"composer:master","ref":"master","sha":"b056d9ae4231a5b348f2133929092caa2e9abb99","user":{"login":"composer","id":837015,"avatar_url":"https://avatars.githubusercontent.com/u/837015?v=3","gravatar_id":"","url":"https://api.github.com/users/composer","html_url":"https://github.com/composer","followers_url":"https://api.github.com/users/composer/followers","following_url":"https://api.github.com/users/composer/following{/other_user}","gists_url":"https://api.github.com/users/composer/gists{/gist_id}","starred_url":"https://api.github.com/users/composer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/composer/subscriptions","organizations_url":"https://api.github.com/users/composer/orgs","repos_url":"https://api.github.com/users/composer/repos","events_url":"https://api.github.com/users/composer/events{/privacy}","received_events_url":"https://api.github.com/users/composer/received_events","type":"Organization","site_admin":false},"repo":{"id":1864363,"name":"composer","full_name":"composer/composer","owner":{"login":"composer","id":837015,"avatar_url":"https://avatars.githubusercontent.com/u/837015?v=3","gravatar_id":"","url":"https://api.github.com/users/composer","html_url":"https://github.com/composer","followers_url":"https://api.github.com/users/composer/followers","following_url":"https://api.github.com/users/composer/following{/other_user}","gists_url":"https://api.github.com/users/composer/gists{/gist_id}","starred_url":"https://api.github.com/users/composer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/composer/subscriptions","organizations_url":"https://api.github.com/users/composer/orgs","repos_url":"https://api.github.com/users/composer/repos","events_url":"https://api.github.com/users/composer/events{/privacy}","received_events_url":"https://api.github.com/users/composer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/composer/composer","description":"Dependency Manager for PHP","fork":false,"url":"https://api.github.com/repos/composer/composer","forks_url":"https://api.github.com/repos/composer/composer/forks","keys_url":"https://api.github.com/repos/composer/composer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/composer/composer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/composer/composer/teams","hooks_url":"https://api.github.com/repos/composer/composer/hooks","issue_events_url":"https://api.github.com/repos/composer/composer/issues/events{/number}","events_url":"https://api.github.com/repos/composer/composer/events","assignees_url":"https://api.github.com/repos/composer/composer/assignees{/user}","branches_url":"https://api.github.com/repos/composer/composer/branches{/branch}","tags_url":"https://api.github.com/repos/composer/composer/tags","blobs_url":"https://api.github.com/repos/composer/composer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/composer/composer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/composer/composer/git/refs{/sha}","trees_url":"https://api.github.com/repos/composer/composer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/composer/composer/statuses/{sha}","languages_url":"https://api.github.com/repos/composer/composer/languages","stargazers_url":"https://api.github.com/repos/composer/composer/stargazers","contributors_url":"https://api.github.com/repos/composer/composer/contributors","subscribers_url":"https://api.github.com/repos/composer/composer/subscribers","subscription_url":"https://api.github.com/repos/composer/composer/subscription","commits_url":"https://api.github.com/repos/composer/composer/commits{/sha}","git_commits_url":"https://api.github.com/repos/composer/composer/git/commits{/sha}","comments_url":"https://api.github.com/repos/composer/composer/comments{/number}","issue_comment_url":"https://api.github.com/repos/composer/composer/issues/comments{/number}","contents_url":"https://api.github.com/repos/composer/composer/contents/{+path}","compare_url":"https://api.github.com/repos/composer/composer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/composer/composer/merges","archive_url":"https://api.github.com/repos/composer/composer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/composer/composer/downloads","issues_url":"https://api.github.com/repos/composer/composer/issues{/number}","pulls_url":"https://api.github.com/repos/composer/composer/pulls{/number}","milestones_url":"https://api.github.com/repos/composer/composer/milestones{/number}","notifications_url":"https://api.github.com/repos/composer/composer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/composer/composer/labels{/name}","releases_url":"https://api.github.com/repos/composer/composer/releases{/id}","created_at":"2011-06-08T08:53:00Z","updated_at":"2016-01-16T16:20:59Z","pushed_at":"2016-01-16T16:17:41Z","git_url":"git://github.com/composer/composer.git","ssh_url":"git@github.com:composer/composer.git","clone_url":"https://github.com/composer/composer.git","svn_url":"https://github.com/composer/composer","homepage":"http://getcomposer.org/","size":18711,"stargazers_count":6851,"watchers_count":6851,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1909,"mirror_url":null,"open_issues_count":527,"forks":1909,"open_issues":527,"watchers":6851,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/composer/composer/pulls/4759"},"html":{"href":"https://github.com/composer/composer/pull/4759"},"issue":{"href":"https://api.github.com/repos/composer/composer/issues/4759"},"comments":{"href":"https://api.github.com/repos/composer/composer/issues/4759/comments"},"review_comments":{"href":"https://api.github.com/repos/composer/composer/pulls/4759/comments"},"review_comment":{"href":"https://api.github.com/repos/composer/composer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/composer/composer/pulls/4759/commits"},"statuses":{"href":"https://api.github.com/repos/composer/composer/statuses/80c96a2c0101c87b1824edebf13e4995ae531799"}}}}