{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/stewrutledge/gelfHandler/pulls/2","id":33663237,"html_url":"https://github.com/stewrutledge/gelfHandler/pull/2","diff_url":"https://github.com/stewrutledge/gelfHandler/pull/2.diff","patch_url":"https://github.com/stewrutledge/gelfHandler/pull/2.patch","issue_url":"https://api.github.com/repos/stewrutledge/gelfHandler/issues/2","number":2,"state":"open","locked":false,"title":"adds TLS support for TCP and keepes TCP connections alive","user":{"login":"MrMarvin","id":100136,"avatar_url":"https://avatars.githubusercontent.com/u/100136?v=3","gravatar_id":"","url":"https://api.github.com/users/MrMarvin","html_url":"https://github.com/MrMarvin","followers_url":"https://api.github.com/users/MrMarvin/followers","following_url":"https://api.github.com/users/MrMarvin/following{/other_user}","gists_url":"https://api.github.com/users/MrMarvin/gists{/gist_id}","starred_url":"https://api.github.com/users/MrMarvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrMarvin/subscriptions","organizations_url":"https://api.github.com/users/MrMarvin/orgs","repos_url":"https://api.github.com/users/MrMarvin/repos","events_url":"https://api.github.com/users/MrMarvin/events{/privacy}","received_events_url":"https://api.github.com/users/MrMarvin/received_events","type":"User","site_admin":false},"body":"Especially when using TLS it is wise to keep a connection open over multiple emit() calls.\r\n\r\nPlease note that I found no reliable way to notice that a running connection is no longer correctly set up. It works most of the time but when the remote end does drop off suddenly, our code doesn't notice and still sends out logs happily. \r\nI am open to suggestions on how to improve this further!","created_at":"2015-04-20T13:05:36Z","updated_at":"2015-04-20T13:05:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/stewrutledge/gelfHandler/pulls/2/commits","review_comments_url":"https://api.github.com/repos/stewrutledge/gelfHandler/pulls/2/comments","review_comment_url":"https://api.github.com/repos/stewrutledge/gelfHandler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stewrutledge/gelfHandler/issues/2/comments","statuses_url":"https://api.github.com/repos/stewrutledge/gelfHandler/statuses/eae183b45a479eb4e09f40d5d67f3a6177729051","head":{"label":"MrMarvin:tcp_keepopen","ref":"tcp_keepopen","sha":"eae183b45a479eb4e09f40d5d67f3a6177729051","user":{"login":"MrMarvin","id":100136,"avatar_url":"https://avatars.githubusercontent.com/u/100136?v=3","gravatar_id":"","url":"https://api.github.com/users/MrMarvin","html_url":"https://github.com/MrMarvin","followers_url":"https://api.github.com/users/MrMarvin/followers","following_url":"https://api.github.com/users/MrMarvin/following{/other_user}","gists_url":"https://api.github.com/users/MrMarvin/gists{/gist_id}","starred_url":"https://api.github.com/users/MrMarvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrMarvin/subscriptions","organizations_url":"https://api.github.com/users/MrMarvin/orgs","repos_url":"https://api.github.com/users/MrMarvin/repos","events_url":"https://api.github.com/users/MrMarvin/events{/privacy}","received_events_url":"https://api.github.com/users/MrMarvin/received_events","type":"User","site_admin":false},"repo":{"id":34260510,"name":"gelfHandler","full_name":"MrMarvin/gelfHandler","owner":{"login":"MrMarvin","id":100136,"avatar_url":"https://avatars.githubusercontent.com/u/100136?v=3","gravatar_id":"","url":"https://api.github.com/users/MrMarvin","html_url":"https://github.com/MrMarvin","followers_url":"https://api.github.com/users/MrMarvin/followers","following_url":"https://api.github.com/users/MrMarvin/following{/other_user}","gists_url":"https://api.github.com/users/MrMarvin/gists{/gist_id}","starred_url":"https://api.github.com/users/MrMarvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrMarvin/subscriptions","organizations_url":"https://api.github.com/users/MrMarvin/orgs","repos_url":"https://api.github.com/users/MrMarvin/repos","events_url":"https://api.github.com/users/MrMarvin/events{/privacy}","received_events_url":"https://api.github.com/users/MrMarvin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MrMarvin/gelfHandler","description":"gelfHandler","fork":true,"url":"https://api.github.com/repos/MrMarvin/gelfHandler","forks_url":"https://api.github.com/repos/MrMarvin/gelfHandler/forks","keys_url":"https://api.github.com/repos/MrMarvin/gelfHandler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrMarvin/gelfHandler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrMarvin/gelfHandler/teams","hooks_url":"https://api.github.com/repos/MrMarvin/gelfHandler/hooks","issue_events_url":"https://api.github.com/repos/MrMarvin/gelfHandler/issues/events{/number}","events_url":"https://api.github.com/repos/MrMarvin/gelfHandler/events","assignees_url":"https://api.github.com/repos/MrMarvin/gelfHandler/assignees{/user}","branches_url":"https://api.github.com/repos/MrMarvin/gelfHandler/branches{/branch}","tags_url":"https://api.github.com/repos/MrMarvin/gelfHandler/tags","blobs_url":"https://api.github.com/repos/MrMarvin/gelfHandler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrMarvin/gelfHandler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrMarvin/gelfHandler/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrMarvin/gelfHandler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrMarvin/gelfHandler/statuses/{sha}","languages_url":"https://api.github.com/repos/MrMarvin/gelfHandler/languages","stargazers_url":"https://api.github.com/repos/MrMarvin/gelfHandler/stargazers","contributors_url":"https://api.github.com/repos/MrMarvin/gelfHandler/contributors","subscribers_url":"https://api.github.com/repos/MrMarvin/gelfHandler/subscribers","subscription_url":"https://api.github.com/repos/MrMarvin/gelfHandler/subscription","commits_url":"https://api.github.com/repos/MrMarvin/gelfHandler/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrMarvin/gelfHandler/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrMarvin/gelfHandler/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrMarvin/gelfHandler/issues/comments{/number}","contents_url":"https://api.github.com/repos/MrMarvin/gelfHandler/contents/{+path}","compare_url":"https://api.github.com/repos/MrMarvin/gelfHandler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrMarvin/gelfHandler/merges","archive_url":"https://api.github.com/repos/MrMarvin/gelfHandler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrMarvin/gelfHandler/downloads","issues_url":"https://api.github.com/repos/MrMarvin/gelfHandler/issues{/number}","pulls_url":"https://api.github.com/repos/MrMarvin/gelfHandler/pulls{/number}","milestones_url":"https://api.github.com/repos/MrMarvin/gelfHandler/milestones{/number}","notifications_url":"https://api.github.com/repos/MrMarvin/gelfHandler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrMarvin/gelfHandler/labels{/name}","releases_url":"https://api.github.com/repos/MrMarvin/gelfHandler/releases{/id}","created_at":"2015-04-20T12:58:16Z","updated_at":"2015-04-20T12:58:16Z","pushed_at":"2015-04-20T13:01:17Z","git_url":"git://github.com/MrMarvin/gelfHandler.git","ssh_url":"git@github.com:MrMarvin/gelfHandler.git","clone_url":"https://github.com/MrMarvin/gelfHandler.git","svn_url":"https://github.com/MrMarvin/gelfHandler","homepage":null,"size":85,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"stewrutledge:master","ref":"master","sha":"2f0a66e68a140b8a1a33dbc01ceb069dd4a0a25c","user":{"login":"stewrutledge","id":1089738,"avatar_url":"https://avatars.githubusercontent.com/u/1089738?v=3","gravatar_id":"","url":"https://api.github.com/users/stewrutledge","html_url":"https://github.com/stewrutledge","followers_url":"https://api.github.com/users/stewrutledge/followers","following_url":"https://api.github.com/users/stewrutledge/following{/other_user}","gists_url":"https://api.github.com/users/stewrutledge/gists{/gist_id}","starred_url":"https://api.github.com/users/stewrutledge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewrutledge/subscriptions","organizations_url":"https://api.github.com/users/stewrutledge/orgs","repos_url":"https://api.github.com/users/stewrutledge/repos","events_url":"https://api.github.com/users/stewrutledge/events{/privacy}","received_events_url":"https://api.github.com/users/stewrutledge/received_events","type":"User","site_admin":false},"repo":{"id":19496714,"name":"gelfHandler","full_name":"stewrutledge/gelfHandler","owner":{"login":"stewrutledge","id":1089738,"avatar_url":"https://avatars.githubusercontent.com/u/1089738?v=3","gravatar_id":"","url":"https://api.github.com/users/stewrutledge","html_url":"https://github.com/stewrutledge","followers_url":"https://api.github.com/users/stewrutledge/followers","following_url":"https://api.github.com/users/stewrutledge/following{/other_user}","gists_url":"https://api.github.com/users/stewrutledge/gists{/gist_id}","starred_url":"https://api.github.com/users/stewrutledge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewrutledge/subscriptions","organizations_url":"https://api.github.com/users/stewrutledge/orgs","repos_url":"https://api.github.com/users/stewrutledge/repos","events_url":"https://api.github.com/users/stewrutledge/events{/privacy}","received_events_url":"https://api.github.com/users/stewrutledge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stewrutledge/gelfHandler","description":"gelfHandler","fork":false,"url":"https://api.github.com/repos/stewrutledge/gelfHandler","forks_url":"https://api.github.com/repos/stewrutledge/gelfHandler/forks","keys_url":"https://api.github.com/repos/stewrutledge/gelfHandler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stewrutledge/gelfHandler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stewrutledge/gelfHandler/teams","hooks_url":"https://api.github.com/repos/stewrutledge/gelfHandler/hooks","issue_events_url":"https://api.github.com/repos/stewrutledge/gelfHandler/issues/events{/number}","events_url":"https://api.github.com/repos/stewrutledge/gelfHandler/events","assignees_url":"https://api.github.com/repos/stewrutledge/gelfHandler/assignees{/user}","branches_url":"https://api.github.com/repos/stewrutledge/gelfHandler/branches{/branch}","tags_url":"https://api.github.com/repos/stewrutledge/gelfHandler/tags","blobs_url":"https://api.github.com/repos/stewrutledge/gelfHandler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stewrutledge/gelfHandler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stewrutledge/gelfHandler/git/refs{/sha}","trees_url":"https://api.github.com/repos/stewrutledge/gelfHandler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stewrutledge/gelfHandler/statuses/{sha}","languages_url":"https://api.github.com/repos/stewrutledge/gelfHandler/languages","stargazers_url":"https://api.github.com/repos/stewrutledge/gelfHandler/stargazers","contributors_url":"https://api.github.com/repos/stewrutledge/gelfHandler/contributors","subscribers_url":"https://api.github.com/repos/stewrutledge/gelfHandler/subscribers","subscription_url":"https://api.github.com/repos/stewrutledge/gelfHandler/subscription","commits_url":"https://api.github.com/repos/stewrutledge/gelfHandler/commits{/sha}","git_commits_url":"https://api.github.com/repos/stewrutledge/gelfHandler/git/commits{/sha}","comments_url":"https://api.github.com/repos/stewrutledge/gelfHandler/comments{/number}","issue_comment_url":"https://api.github.com/repos/stewrutledge/gelfHandler/issues/comments{/number}","contents_url":"https://api.github.com/repos/stewrutledge/gelfHandler/contents/{+path}","compare_url":"https://api.github.com/repos/stewrutledge/gelfHandler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stewrutledge/gelfHandler/merges","archive_url":"https://api.github.com/repos/stewrutledge/gelfHandler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stewrutledge/gelfHandler/downloads","issues_url":"https://api.github.com/repos/stewrutledge/gelfHandler/issues{/number}","pulls_url":"https://api.github.com/repos/stewrutledge/gelfHandler/pulls{/number}","milestones_url":"https://api.github.com/repos/stewrutledge/gelfHandler/milestones{/number}","notifications_url":"https://api.github.com/repos/stewrutledge/gelfHandler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stewrutledge/gelfHandler/labels{/name}","releases_url":"https://api.github.com/repos/stewrutledge/gelfHandler/releases{/id}","created_at":"2014-05-06T14:12:28Z","updated_at":"2014-09-25T14:03:24Z","pushed_at":"2014-09-17T06:06:11Z","git_url":"git://github.com/stewrutledge/gelfHandler.git","ssh_url":"git@github.com:stewrutledge/gelfHandler.git","clone_url":"https://github.com/stewrutledge/gelfHandler.git","svn_url":"https://github.com/stewrutledge/gelfHandler","homepage":null,"size":172,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stewrutledge/gelfHandler/pulls/2"},"html":{"href":"https://github.com/stewrutledge/gelfHandler/pull/2"},"issue":{"href":"https://api.github.com/repos/stewrutledge/gelfHandler/issues/2"},"comments":{"href":"https://api.github.com/repos/stewrutledge/gelfHandler/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/stewrutledge/gelfHandler/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/stewrutledge/gelfHandler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stewrutledge/gelfHandler/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/stewrutledge/gelfHandler/statuses/eae183b45a479eb4e09f40d5d67f3a6177729051"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":49,"deletions":14,"changed_files":1}}