{"action":"created","comment":{"url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/comments/36750909","id":36750909,"diff_hunk":"@@ -118,7 +118,10 @@ def initialize(host,port,required_commands=[])\n                     :host => host, :port => port)\n       raise\n     end\n-    @logger.info? and @logger.info(\"Started RELP Server\", :host => host, :port => port)\n+    if ssl_context\n+      @server = OpenSSL::SSL::SSLServer.new(@server, ssl_context)\n+    end\n+    @logger.info? and @logger.info(\"Started #{ssl_context ? 'SSL-enabled ' : ''}RELP Server\", :host => host, :port => port)","path":"lib/logstash/util/relp.rb","position":17,"original_position":17,"commit_id":"5587efaedf9e02f6ca958508b91da736f3236f44","original_commit_id":"5587efaedf9e02f6ca958508b91da736f3236f44","user":{"login":"jsvd","id":31809,"avatar_url":"https://avatars.githubusercontent.com/u/31809?v=3","gravatar_id":"","url":"https://api.github.com/users/jsvd","html_url":"https://github.com/jsvd","followers_url":"https://api.github.com/users/jsvd/followers","following_url":"https://api.github.com/users/jsvd/following{/other_user}","gists_url":"https://api.github.com/users/jsvd/gists{/gist_id}","starred_url":"https://api.github.com/users/jsvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsvd/subscriptions","organizations_url":"https://api.github.com/users/jsvd/orgs","repos_url":"https://api.github.com/users/jsvd/repos","events_url":"https://api.github.com/users/jsvd/events{/privacy}","received_events_url":"https://api.github.com/users/jsvd/received_events","type":"User","site_admin":false},"body":"since this a call that happens during initalize then it's not worth having the .info? and .info performance pattern","created_at":"2015-08-11T14:28:57Z","updated_at":"2015-08-11T14:28:57Z","html_url":"https://github.com/logstash-plugins/logstash-input-relp/pull/9#discussion_r36750909","pull_request_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/comments/36750909"},"html":{"href":"https://github.com/logstash-plugins/logstash-input-relp/pull/9#discussion_r36750909"},"pull_request":{"href":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/9","id":41891493,"html_url":"https://github.com/logstash-plugins/logstash-input-relp/pull/9","diff_url":"https://github.com/logstash-plugins/logstash-input-relp/pull/9.diff","patch_url":"https://github.com/logstash-plugins/logstash-input-relp/pull/9.patch","issue_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/issues/9","number":9,"state":"open","locked":false,"title":"Add ssl support","user":{"login":"purbon","id":68540,"avatar_url":"https://avatars.githubusercontent.com/u/68540?v=3","gravatar_id":"","url":"https://api.github.com/users/purbon","html_url":"https://github.com/purbon","followers_url":"https://api.github.com/users/purbon/followers","following_url":"https://api.github.com/users/purbon/following{/other_user}","gists_url":"https://api.github.com/users/purbon/gists{/gist_id}","starred_url":"https://api.github.com/users/purbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purbon/subscriptions","organizations_url":"https://api.github.com/users/purbon/orgs","repos_url":"https://api.github.com/users/purbon/repos","events_url":"https://api.github.com/users/purbon/events{/privacy}","received_events_url":"https://api.github.com/users/purbon/received_events","type":"User","site_admin":false},"body":"Incorporate #1, rebase it to update the code include the recent  and add test to it.","created_at":"2015-08-07T13:29:07Z","updated_at":"2015-08-11T14:28:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"149cad219cc4eb465f794aadeeb94d9096430f0b","assignee":{"login":"jsvd","id":31809,"avatar_url":"https://avatars.githubusercontent.com/u/31809?v=3","gravatar_id":"","url":"https://api.github.com/users/jsvd","html_url":"https://github.com/jsvd","followers_url":"https://api.github.com/users/jsvd/followers","following_url":"https://api.github.com/users/jsvd/following{/other_user}","gists_url":"https://api.github.com/users/jsvd/gists{/gist_id}","starred_url":"https://api.github.com/users/jsvd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsvd/subscriptions","organizations_url":"https://api.github.com/users/jsvd/orgs","repos_url":"https://api.github.com/users/jsvd/repos","events_url":"https://api.github.com/users/jsvd/events{/privacy}","received_events_url":"https://api.github.com/users/jsvd/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/9/commits","review_comments_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/9/comments","review_comment_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/issues/9/comments","statuses_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/statuses/5587efaedf9e02f6ca958508b91da736f3236f44","head":{"label":"purbon:feature/add_ssl_support","ref":"feature/add_ssl_support","sha":"5587efaedf9e02f6ca958508b91da736f3236f44","user":{"login":"purbon","id":68540,"avatar_url":"https://avatars.githubusercontent.com/u/68540?v=3","gravatar_id":"","url":"https://api.github.com/users/purbon","html_url":"https://github.com/purbon","followers_url":"https://api.github.com/users/purbon/followers","following_url":"https://api.github.com/users/purbon/following{/other_user}","gists_url":"https://api.github.com/users/purbon/gists{/gist_id}","starred_url":"https://api.github.com/users/purbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purbon/subscriptions","organizations_url":"https://api.github.com/users/purbon/orgs","repos_url":"https://api.github.com/users/purbon/repos","events_url":"https://api.github.com/users/purbon/events{/privacy}","received_events_url":"https://api.github.com/users/purbon/received_events","type":"User","site_admin":false},"repo":{"id":40361286,"name":"logstash-input-relp","full_name":"purbon/logstash-input-relp","owner":{"login":"purbon","id":68540,"avatar_url":"https://avatars.githubusercontent.com/u/68540?v=3","gravatar_id":"","url":"https://api.github.com/users/purbon","html_url":"https://github.com/purbon","followers_url":"https://api.github.com/users/purbon/followers","following_url":"https://api.github.com/users/purbon/following{/other_user}","gists_url":"https://api.github.com/users/purbon/gists{/gist_id}","starred_url":"https://api.github.com/users/purbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purbon/subscriptions","organizations_url":"https://api.github.com/users/purbon/orgs","repos_url":"https://api.github.com/users/purbon/repos","events_url":"https://api.github.com/users/purbon/events{/privacy}","received_events_url":"https://api.github.com/users/purbon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/purbon/logstash-input-relp","description":null,"fork":true,"url":"https://api.github.com/repos/purbon/logstash-input-relp","forks_url":"https://api.github.com/repos/purbon/logstash-input-relp/forks","keys_url":"https://api.github.com/repos/purbon/logstash-input-relp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/purbon/logstash-input-relp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/purbon/logstash-input-relp/teams","hooks_url":"https://api.github.com/repos/purbon/logstash-input-relp/hooks","issue_events_url":"https://api.github.com/repos/purbon/logstash-input-relp/issues/events{/number}","events_url":"https://api.github.com/repos/purbon/logstash-input-relp/events","assignees_url":"https://api.github.com/repos/purbon/logstash-input-relp/assignees{/user}","branches_url":"https://api.github.com/repos/purbon/logstash-input-relp/branches{/branch}","tags_url":"https://api.github.com/repos/purbon/logstash-input-relp/tags","blobs_url":"https://api.github.com/repos/purbon/logstash-input-relp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/purbon/logstash-input-relp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/purbon/logstash-input-relp/git/refs{/sha}","trees_url":"https://api.github.com/repos/purbon/logstash-input-relp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/purbon/logstash-input-relp/statuses/{sha}","languages_url":"https://api.github.com/repos/purbon/logstash-input-relp/languages","stargazers_url":"https://api.github.com/repos/purbon/logstash-input-relp/stargazers","contributors_url":"https://api.github.com/repos/purbon/logstash-input-relp/contributors","subscribers_url":"https://api.github.com/repos/purbon/logstash-input-relp/subscribers","subscription_url":"https://api.github.com/repos/purbon/logstash-input-relp/subscription","commits_url":"https://api.github.com/repos/purbon/logstash-input-relp/commits{/sha}","git_commits_url":"https://api.github.com/repos/purbon/logstash-input-relp/git/commits{/sha}","comments_url":"https://api.github.com/repos/purbon/logstash-input-relp/comments{/number}","issue_comment_url":"https://api.github.com/repos/purbon/logstash-input-relp/issues/comments{/number}","contents_url":"https://api.github.com/repos/purbon/logstash-input-relp/contents/{+path}","compare_url":"https://api.github.com/repos/purbon/logstash-input-relp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/purbon/logstash-input-relp/merges","archive_url":"https://api.github.com/repos/purbon/logstash-input-relp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/purbon/logstash-input-relp/downloads","issues_url":"https://api.github.com/repos/purbon/logstash-input-relp/issues{/number}","pulls_url":"https://api.github.com/repos/purbon/logstash-input-relp/pulls{/number}","milestones_url":"https://api.github.com/repos/purbon/logstash-input-relp/milestones{/number}","notifications_url":"https://api.github.com/repos/purbon/logstash-input-relp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/purbon/logstash-input-relp/labels{/name}","releases_url":"https://api.github.com/repos/purbon/logstash-input-relp/releases{/id}","created_at":"2015-08-07T13:16:45Z","updated_at":"2015-08-07T13:16:45Z","pushed_at":"2015-08-10T15:41:38Z","git_url":"git://github.com/purbon/logstash-input-relp.git","ssh_url":"git@github.com:purbon/logstash-input-relp.git","clone_url":"https://github.com/purbon/logstash-input-relp.git","svn_url":"https://github.com/purbon/logstash-input-relp","homepage":null,"size":105,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"logstash-plugins:master","ref":"master","sha":"bc847f0bac0fd1961fc8a3f31666cc2b24da07be","user":{"login":"logstash-plugins","id":8961934,"avatar_url":"https://avatars.githubusercontent.com/u/8961934?v=3","gravatar_id":"","url":"https://api.github.com/users/logstash-plugins","html_url":"https://github.com/logstash-plugins","followers_url":"https://api.github.com/users/logstash-plugins/followers","following_url":"https://api.github.com/users/logstash-plugins/following{/other_user}","gists_url":"https://api.github.com/users/logstash-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/logstash-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logstash-plugins/subscriptions","organizations_url":"https://api.github.com/users/logstash-plugins/orgs","repos_url":"https://api.github.com/users/logstash-plugins/repos","events_url":"https://api.github.com/users/logstash-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/logstash-plugins/received_events","type":"Organization","site_admin":false},"repo":{"id":25312493,"name":"logstash-input-relp","full_name":"logstash-plugins/logstash-input-relp","owner":{"login":"logstash-plugins","id":8961934,"avatar_url":"https://avatars.githubusercontent.com/u/8961934?v=3","gravatar_id":"","url":"https://api.github.com/users/logstash-plugins","html_url":"https://github.com/logstash-plugins","followers_url":"https://api.github.com/users/logstash-plugins/followers","following_url":"https://api.github.com/users/logstash-plugins/following{/other_user}","gists_url":"https://api.github.com/users/logstash-plugins/gists{/gist_id}","starred_url":"https://api.github.com/users/logstash-plugins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logstash-plugins/subscriptions","organizations_url":"https://api.github.com/users/logstash-plugins/orgs","repos_url":"https://api.github.com/users/logstash-plugins/repos","events_url":"https://api.github.com/users/logstash-plugins/events{/privacy}","received_events_url":"https://api.github.com/users/logstash-plugins/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/logstash-plugins/logstash-input-relp","description":null,"fork":false,"url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp","forks_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/forks","keys_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/teams","hooks_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/hooks","issue_events_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/issues/events{/number}","events_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/events","assignees_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/assignees{/user}","branches_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/branches{/branch}","tags_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/tags","blobs_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/git/refs{/sha}","trees_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/statuses/{sha}","languages_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/languages","stargazers_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/stargazers","contributors_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/contributors","subscribers_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/subscribers","subscription_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/subscription","commits_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/commits{/sha}","git_commits_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/git/commits{/sha}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/comments{/number}","issue_comment_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/issues/comments{/number}","contents_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/contents/{+path}","compare_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/merges","archive_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/downloads","issues_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/issues{/number}","pulls_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls{/number}","milestones_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/milestones{/number}","notifications_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/labels{/name}","releases_url":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/releases{/id}","created_at":"2014-10-16T17:03:34Z","updated_at":"2015-04-20T13:59:35Z","pushed_at":"2015-08-10T15:41:38Z","git_url":"git://github.com/logstash-plugins/logstash-input-relp.git","ssh_url":"git@github.com:logstash-plugins/logstash-input-relp.git","clone_url":"https://github.com/logstash-plugins/logstash-input-relp.git","svn_url":"https://github.com/logstash-plugins/logstash-input-relp","homepage":null,"size":260,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":5,"forks":7,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/9"},"html":{"href":"https://github.com/logstash-plugins/logstash-input-relp/pull/9"},"issue":{"href":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/issues/9"},"comments":{"href":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/logstash-plugins/logstash-input-relp/statuses/5587efaedf9e02f6ca958508b91da736f3236f44"}}}}