{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/agl/xmpp/pulls/22","id":26798973,"html_url":"https://github.com/agl/xmpp/pull/22","diff_url":"https://github.com/agl/xmpp/pull/22.diff","patch_url":"https://github.com/agl/xmpp/pull/22.patch","issue_url":"https://api.github.com/repos/agl/xmpp/issues/22","number":22,"state":"open","locked":false,"title":"Allow user to pass custom tls.Config","user":{"login":"rmoore","id":309645,"avatar_url":"https://avatars.githubusercontent.com/u/309645?v=3","gravatar_id":"","url":"https://api.github.com/users/rmoore","html_url":"https://github.com/rmoore","followers_url":"https://api.github.com/users/rmoore/followers","following_url":"https://api.github.com/users/rmoore/following{/other_user}","gists_url":"https://api.github.com/users/rmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/rmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmoore/subscriptions","organizations_url":"https://api.github.com/users/rmoore/orgs","repos_url":"https://api.github.com/users/rmoore/repos","events_url":"https://api.github.com/users/rmoore/events{/privacy}","received_events_url":"https://api.github.com/users/rmoore/received_events","type":"User","site_admin":false},"body":"Permit the user to pass in a custom `tls.Config` inside the `xmpp.Config` which\r\nwill be used for the STARTTLS connection.  If this value is `nil` as it would be\r\nfor existing applications, the old default `tls.Config` will be applied.\r\n\r\nNote: This doesn't do any checking to make sure that the assumptions of the old\r\nconfiguration are met (i.e., that the user is passing `InsecureSkipVerify` as\r\n`true`, and setting `ServerName` properly) which might cause some issues with\r\nthe validation code.","created_at":"2015-01-04T20:13:49Z","updated_at":"2015-01-04T20:13:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/agl/xmpp/pulls/22/commits","review_comments_url":"https://api.github.com/repos/agl/xmpp/pulls/22/comments","review_comment_url":"https://api.github.com/repos/agl/xmpp/pulls/comments/{number}","comments_url":"https://api.github.com/repos/agl/xmpp/issues/22/comments","statuses_url":"https://api.github.com/repos/agl/xmpp/statuses/d4e160a2f8b3231a0f13c54e590d56fd28481348","head":{"label":"rmoore:custom-tls-config","ref":"custom-tls-config","sha":"d4e160a2f8b3231a0f13c54e590d56fd28481348","user":{"login":"rmoore","id":309645,"avatar_url":"https://avatars.githubusercontent.com/u/309645?v=3","gravatar_id":"","url":"https://api.github.com/users/rmoore","html_url":"https://github.com/rmoore","followers_url":"https://api.github.com/users/rmoore/followers","following_url":"https://api.github.com/users/rmoore/following{/other_user}","gists_url":"https://api.github.com/users/rmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/rmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmoore/subscriptions","organizations_url":"https://api.github.com/users/rmoore/orgs","repos_url":"https://api.github.com/users/rmoore/repos","events_url":"https://api.github.com/users/rmoore/events{/privacy}","received_events_url":"https://api.github.com/users/rmoore/received_events","type":"User","site_admin":false},"repo":{"id":28784744,"name":"xmpp","full_name":"rmoore/xmpp","owner":{"login":"rmoore","id":309645,"avatar_url":"https://avatars.githubusercontent.com/u/309645?v=3","gravatar_id":"","url":"https://api.github.com/users/rmoore","html_url":"https://github.com/rmoore","followers_url":"https://api.github.com/users/rmoore/followers","following_url":"https://api.github.com/users/rmoore/following{/other_user}","gists_url":"https://api.github.com/users/rmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/rmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmoore/subscriptions","organizations_url":"https://api.github.com/users/rmoore/orgs","repos_url":"https://api.github.com/users/rmoore/repos","events_url":"https://api.github.com/users/rmoore/events{/privacy}","received_events_url":"https://api.github.com/users/rmoore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmoore/xmpp","description":"Go XMPP client library","fork":true,"url":"https://api.github.com/repos/rmoore/xmpp","forks_url":"https://api.github.com/repos/rmoore/xmpp/forks","keys_url":"https://api.github.com/repos/rmoore/xmpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmoore/xmpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmoore/xmpp/teams","hooks_url":"https://api.github.com/repos/rmoore/xmpp/hooks","issue_events_url":"https://api.github.com/repos/rmoore/xmpp/issues/events{/number}","events_url":"https://api.github.com/repos/rmoore/xmpp/events","assignees_url":"https://api.github.com/repos/rmoore/xmpp/assignees{/user}","branches_url":"https://api.github.com/repos/rmoore/xmpp/branches{/branch}","tags_url":"https://api.github.com/repos/rmoore/xmpp/tags","blobs_url":"https://api.github.com/repos/rmoore/xmpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmoore/xmpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmoore/xmpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmoore/xmpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmoore/xmpp/statuses/{sha}","languages_url":"https://api.github.com/repos/rmoore/xmpp/languages","stargazers_url":"https://api.github.com/repos/rmoore/xmpp/stargazers","contributors_url":"https://api.github.com/repos/rmoore/xmpp/contributors","subscribers_url":"https://api.github.com/repos/rmoore/xmpp/subscribers","subscription_url":"https://api.github.com/repos/rmoore/xmpp/subscription","commits_url":"https://api.github.com/repos/rmoore/xmpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmoore/xmpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmoore/xmpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmoore/xmpp/issues/comments/{number}","contents_url":"https://api.github.com/repos/rmoore/xmpp/contents/{+path}","compare_url":"https://api.github.com/repos/rmoore/xmpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmoore/xmpp/merges","archive_url":"https://api.github.com/repos/rmoore/xmpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmoore/xmpp/downloads","issues_url":"https://api.github.com/repos/rmoore/xmpp/issues{/number}","pulls_url":"https://api.github.com/repos/rmoore/xmpp/pulls{/number}","milestones_url":"https://api.github.com/repos/rmoore/xmpp/milestones{/number}","notifications_url":"https://api.github.com/repos/rmoore/xmpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmoore/xmpp/labels{/name}","releases_url":"https://api.github.com/repos/rmoore/xmpp/releases{/id}","created_at":"2015-01-04T20:12:21Z","updated_at":"2015-01-04T20:12:21Z","pushed_at":"2015-01-04T20:12:52Z","git_url":"git://github.com/rmoore/xmpp.git","ssh_url":"git@github.com:rmoore/xmpp.git","clone_url":"https://github.com/rmoore/xmpp.git","svn_url":"https://github.com/rmoore/xmpp","homepage":"","size":469,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"agl:master","ref":"master","sha":"a5b10608a5c441a99c6380efa91d7f4fb517e9c2","user":{"login":"agl","id":21203,"avatar_url":"https://avatars.githubusercontent.com/u/21203?v=3","gravatar_id":"","url":"https://api.github.com/users/agl","html_url":"https://github.com/agl","followers_url":"https://api.github.com/users/agl/followers","following_url":"https://api.github.com/users/agl/following{/other_user}","gists_url":"https://api.github.com/users/agl/gists{/gist_id}","starred_url":"https://api.github.com/users/agl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agl/subscriptions","organizations_url":"https://api.github.com/users/agl/orgs","repos_url":"https://api.github.com/users/agl/repos","events_url":"https://api.github.com/users/agl/events{/privacy}","received_events_url":"https://api.github.com/users/agl/received_events","type":"User","site_admin":false},"repo":{"id":3049857,"name":"xmpp","full_name":"agl/xmpp","owner":{"login":"agl","id":21203,"avatar_url":"https://avatars.githubusercontent.com/u/21203?v=3","gravatar_id":"","url":"https://api.github.com/users/agl","html_url":"https://github.com/agl","followers_url":"https://api.github.com/users/agl/followers","following_url":"https://api.github.com/users/agl/following{/other_user}","gists_url":"https://api.github.com/users/agl/gists{/gist_id}","starred_url":"https://api.github.com/users/agl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agl/subscriptions","organizations_url":"https://api.github.com/users/agl/orgs","repos_url":"https://api.github.com/users/agl/repos","events_url":"https://api.github.com/users/agl/events{/privacy}","received_events_url":"https://api.github.com/users/agl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agl/xmpp","description":"Go XMPP client library","fork":false,"url":"https://api.github.com/repos/agl/xmpp","forks_url":"https://api.github.com/repos/agl/xmpp/forks","keys_url":"https://api.github.com/repos/agl/xmpp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agl/xmpp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agl/xmpp/teams","hooks_url":"https://api.github.com/repos/agl/xmpp/hooks","issue_events_url":"https://api.github.com/repos/agl/xmpp/issues/events{/number}","events_url":"https://api.github.com/repos/agl/xmpp/events","assignees_url":"https://api.github.com/repos/agl/xmpp/assignees{/user}","branches_url":"https://api.github.com/repos/agl/xmpp/branches{/branch}","tags_url":"https://api.github.com/repos/agl/xmpp/tags","blobs_url":"https://api.github.com/repos/agl/xmpp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agl/xmpp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agl/xmpp/git/refs{/sha}","trees_url":"https://api.github.com/repos/agl/xmpp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agl/xmpp/statuses/{sha}","languages_url":"https://api.github.com/repos/agl/xmpp/languages","stargazers_url":"https://api.github.com/repos/agl/xmpp/stargazers","contributors_url":"https://api.github.com/repos/agl/xmpp/contributors","subscribers_url":"https://api.github.com/repos/agl/xmpp/subscribers","subscription_url":"https://api.github.com/repos/agl/xmpp/subscription","commits_url":"https://api.github.com/repos/agl/xmpp/commits{/sha}","git_commits_url":"https://api.github.com/repos/agl/xmpp/git/commits{/sha}","comments_url":"https://api.github.com/repos/agl/xmpp/comments{/number}","issue_comment_url":"https://api.github.com/repos/agl/xmpp/issues/comments/{number}","contents_url":"https://api.github.com/repos/agl/xmpp/contents/{+path}","compare_url":"https://api.github.com/repos/agl/xmpp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agl/xmpp/merges","archive_url":"https://api.github.com/repos/agl/xmpp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agl/xmpp/downloads","issues_url":"https://api.github.com/repos/agl/xmpp/issues{/number}","pulls_url":"https://api.github.com/repos/agl/xmpp/pulls{/number}","milestones_url":"https://api.github.com/repos/agl/xmpp/milestones{/number}","notifications_url":"https://api.github.com/repos/agl/xmpp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agl/xmpp/labels{/name}","releases_url":"https://api.github.com/repos/agl/xmpp/releases{/id}","created_at":"2011-12-26T01:51:00Z","updated_at":"2015-01-02T07:55:12Z","pushed_at":"2014-11-09T23:16:57Z","git_url":"git://github.com/agl/xmpp.git","ssh_url":"git@github.com:agl/xmpp.git","clone_url":"https://github.com/agl/xmpp.git","svn_url":"https://github.com/agl/xmpp","homepage":"","size":469,"stargazers_count":67,"watchers_count":67,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":11,"forks":23,"open_issues":11,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/agl/xmpp/pulls/22"},"html":{"href":"https://github.com/agl/xmpp/pull/22"},"issue":{"href":"https://api.github.com/repos/agl/xmpp/issues/22"},"comments":{"href":"https://api.github.com/repos/agl/xmpp/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/agl/xmpp/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/agl/xmpp/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/agl/xmpp/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/agl/xmpp/statuses/d4e160a2f8b3231a0f13c54e590d56fd28481348"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":3,"changed_files":1}}