{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/pulls/1","id":82715869,"html_url":"https://github.com/olegwtf/p5-Net-HTTPS-NB/pull/1","diff_url":"https://github.com/olegwtf/p5-Net-HTTPS-NB/pull/1.diff","patch_url":"https://github.com/olegwtf/p5-Net-HTTPS-NB/pull/1.patch","issue_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/issues/1","number":1,"state":"closed","locked":false,"title":"Added PeerHost before calling $class->start_SSL","user":{"login":"renatocron","id":1919076,"avatar_url":"https://avatars.githubusercontent.com/u/1919076?v=3","gravatar_id":"","url":"https://api.github.com/users/renatocron","html_url":"https://github.com/renatocron","followers_url":"https://api.github.com/users/renatocron/followers","following_url":"https://api.github.com/users/renatocron/following{/other_user}","gists_url":"https://api.github.com/users/renatocron/gists{/gist_id}","starred_url":"https://api.github.com/users/renatocron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renatocron/subscriptions","organizations_url":"https://api.github.com/users/renatocron/orgs","repos_url":"https://api.github.com/users/renatocron/repos","events_url":"https://api.github.com/users/renatocron/events{/privacy}","received_events_url":"https://api.github.com/users/renatocron/received_events","type":"User","site_admin":false},"body":"added PeerHost before calling IO::Socket::SSL->start_SSL so it can make connections on servers with tls1.2 only.\r\n\r\nI don't really know all the details about the SSL negotiation, but PeerHost seem required to SSL work properly on `Sites using UniversalSSL are issued SHA2+ECDSA certificates, which require clients that support TLSv1.2 and *SNI* ` AKA: all free cloudflare websites.\r\n\r\nThe only doubt I have is if I should have used $args{Host} or $args{PeerAddr} is fine\r\n\r\nIf you need some more details about why this is needed I can provide, but just run https://gist.github.com/renatocron/bd3a3f8c9d35bca0ab1c799de62fa4f5 before applying this and try to make it work without it!","created_at":"2016-08-25T13:05:52Z","updated_at":"2016-08-25T17:44:44Z","closed_at":"2016-08-25T17:44:44Z","merged_at":null,"merge_commit_sha":"cccd97903752ecfe5a9e31c87e7adc1619526b15","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/pulls/1/commits","review_comments_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/pulls/1/comments","review_comment_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/pulls/comments{/number}","comments_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/issues/1/comments","statuses_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/statuses/3d2d2b2b470cfa7529a7af07ccac9a9828a560eb","head":{"label":"renatocron:master","ref":"master","sha":"3d2d2b2b470cfa7529a7af07ccac9a9828a560eb","user":{"login":"renatocron","id":1919076,"avatar_url":"https://avatars.githubusercontent.com/u/1919076?v=3","gravatar_id":"","url":"https://api.github.com/users/renatocron","html_url":"https://github.com/renatocron","followers_url":"https://api.github.com/users/renatocron/followers","following_url":"https://api.github.com/users/renatocron/following{/other_user}","gists_url":"https://api.github.com/users/renatocron/gists{/gist_id}","starred_url":"https://api.github.com/users/renatocron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renatocron/subscriptions","organizations_url":"https://api.github.com/users/renatocron/orgs","repos_url":"https://api.github.com/users/renatocron/repos","events_url":"https://api.github.com/users/renatocron/events{/privacy}","received_events_url":"https://api.github.com/users/renatocron/received_events","type":"User","site_admin":false},"repo":{"id":66557098,"name":"p5-Net-HTTPS-NB","full_name":"renatocron/p5-Net-HTTPS-NB","owner":{"login":"renatocron","id":1919076,"avatar_url":"https://avatars.githubusercontent.com/u/1919076?v=3","gravatar_id":"","url":"https://api.github.com/users/renatocron","html_url":"https://github.com/renatocron","followers_url":"https://api.github.com/users/renatocron/followers","following_url":"https://api.github.com/users/renatocron/following{/other_user}","gists_url":"https://api.github.com/users/renatocron/gists{/gist_id}","starred_url":"https://api.github.com/users/renatocron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renatocron/subscriptions","organizations_url":"https://api.github.com/users/renatocron/orgs","repos_url":"https://api.github.com/users/renatocron/repos","events_url":"https://api.github.com/users/renatocron/events{/privacy}","received_events_url":"https://api.github.com/users/renatocron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/renatocron/p5-Net-HTTPS-NB","description":"Non-blocking HTTPS client","fork":true,"url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB","forks_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/forks","keys_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/keys{/key_id}","collaborators_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/teams","hooks_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/hooks","issue_events_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/issues/events{/number}","events_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/events","assignees_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/assignees{/user}","branches_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/branches{/branch}","tags_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/tags","blobs_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/git/refs{/sha}","trees_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/git/trees{/sha}","statuses_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/statuses/{sha}","languages_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/languages","stargazers_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/stargazers","contributors_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/contributors","subscribers_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/subscribers","subscription_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/subscription","commits_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/commits{/sha}","git_commits_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/git/commits{/sha}","comments_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/comments{/number}","issue_comment_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/issues/comments{/number}","contents_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/contents/{+path}","compare_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/compare/{base}...{head}","merges_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/merges","archive_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/downloads","issues_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/issues{/number}","pulls_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/pulls{/number}","milestones_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/milestones{/number}","notifications_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/labels{/name}","releases_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/releases{/id}","deployments_url":"https://api.github.com/repos/renatocron/p5-Net-HTTPS-NB/deployments","created_at":"2016-08-25T12:46:01Z","updated_at":"2016-08-25T12:46:02Z","pushed_at":"2016-08-25T12:59:01Z","git_url":"git://github.com/renatocron/p5-Net-HTTPS-NB.git","ssh_url":"git@github.com:renatocron/p5-Net-HTTPS-NB.git","clone_url":"https://github.com/renatocron/p5-Net-HTTPS-NB.git","svn_url":"https://github.com/renatocron/p5-Net-HTTPS-NB","homepage":"http://search.cpan.org/perldoc?Net::HTTPS::NB","size":18,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"olegwtf:master","ref":"master","sha":"a9346ed7ecf9290131aee8ae70ff985fa6e4c9ac","user":{"login":"olegwtf","id":722138,"avatar_url":"https://avatars.githubusercontent.com/u/722138?v=3","gravatar_id":"","url":"https://api.github.com/users/olegwtf","html_url":"https://github.com/olegwtf","followers_url":"https://api.github.com/users/olegwtf/followers","following_url":"https://api.github.com/users/olegwtf/following{/other_user}","gists_url":"https://api.github.com/users/olegwtf/gists{/gist_id}","starred_url":"https://api.github.com/users/olegwtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegwtf/subscriptions","organizations_url":"https://api.github.com/users/olegwtf/orgs","repos_url":"https://api.github.com/users/olegwtf/repos","events_url":"https://api.github.com/users/olegwtf/events{/privacy}","received_events_url":"https://api.github.com/users/olegwtf/received_events","type":"User","site_admin":false},"repo":{"id":1776487,"name":"p5-Net-HTTPS-NB","full_name":"olegwtf/p5-Net-HTTPS-NB","owner":{"login":"olegwtf","id":722138,"avatar_url":"https://avatars.githubusercontent.com/u/722138?v=3","gravatar_id":"","url":"https://api.github.com/users/olegwtf","html_url":"https://github.com/olegwtf","followers_url":"https://api.github.com/users/olegwtf/followers","following_url":"https://api.github.com/users/olegwtf/following{/other_user}","gists_url":"https://api.github.com/users/olegwtf/gists{/gist_id}","starred_url":"https://api.github.com/users/olegwtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olegwtf/subscriptions","organizations_url":"https://api.github.com/users/olegwtf/orgs","repos_url":"https://api.github.com/users/olegwtf/repos","events_url":"https://api.github.com/users/olegwtf/events{/privacy}","received_events_url":"https://api.github.com/users/olegwtf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olegwtf/p5-Net-HTTPS-NB","description":"Non-blocking HTTPS client","fork":false,"url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB","forks_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/forks","keys_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/teams","hooks_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/hooks","issue_events_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/issues/events{/number}","events_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/events","assignees_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/assignees{/user}","branches_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/branches{/branch}","tags_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/tags","blobs_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/git/refs{/sha}","trees_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/statuses/{sha}","languages_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/languages","stargazers_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/stargazers","contributors_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/contributors","subscribers_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/subscribers","subscription_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/subscription","commits_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/commits{/sha}","git_commits_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/git/commits{/sha}","comments_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/comments{/number}","issue_comment_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/issues/comments{/number}","contents_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/contents/{+path}","compare_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/merges","archive_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/downloads","issues_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/issues{/number}","pulls_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/pulls{/number}","milestones_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/milestones{/number}","notifications_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/labels{/name}","releases_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/releases{/id}","deployments_url":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/deployments","created_at":"2011-05-20T13:03:27Z","updated_at":"2014-10-21T11:03:53Z","pushed_at":"2016-08-25T17:43:55Z","git_url":"git://github.com/olegwtf/p5-Net-HTTPS-NB.git","ssh_url":"git@github.com:olegwtf/p5-Net-HTTPS-NB.git","clone_url":"https://github.com/olegwtf/p5-Net-HTTPS-NB.git","svn_url":"https://github.com/olegwtf/p5-Net-HTTPS-NB","homepage":"http://search.cpan.org/perldoc?Net::HTTPS::NB","size":164,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":true,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/pulls/1"},"html":{"href":"https://github.com/olegwtf/p5-Net-HTTPS-NB/pull/1"},"issue":{"href":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/issues/1"},"comments":{"href":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/olegwtf/p5-Net-HTTPS-NB/statuses/3d2d2b2b470cfa7529a7af07ccac9a9828a560eb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":25,"deletions":22,"changed_files":1}}
{"actor":{"display_login":"olegwtf"}}