{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/nifoc/katja/pulls/9","id":46843223,"html_url":"https://github.com/nifoc/katja/pull/9","diff_url":"https://github.com/nifoc/katja/pull/9.diff","patch_url":"https://github.com/nifoc/katja/pull/9.patch","issue_url":"https://api.github.com/repos/nifoc/katja/issues/9","number":9,"state":"open","locked":false,"title":"Set timeout for send operation","user":{"login":"ichernetsky","id":96977,"avatar_url":"https://avatars.githubusercontent.com/u/96977?v=3","gravatar_id":"","url":"https://api.github.com/users/ichernetsky","html_url":"https://github.com/ichernetsky","followers_url":"https://api.github.com/users/ichernetsky/followers","following_url":"https://api.github.com/users/ichernetsky/following{/other_user}","gists_url":"https://api.github.com/users/ichernetsky/gists{/gist_id}","starred_url":"https://api.github.com/users/ichernetsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichernetsky/subscriptions","organizations_url":"https://api.github.com/users/ichernetsky/orgs","repos_url":"https://api.github.com/users/ichernetsky/repos","events_url":"https://api.github.com/users/ichernetsky/events{/privacy}","received_events_url":"https://api.github.com/users/ichernetsky/received_events","type":"User","site_admin":false},"body":"If a socket is in CLOSE_WAIT state, gen_tcp:send will be blocked indefinitely.\r\nIn order to mitigate it, when establishing a connection, send_timeout must be\r\nspecified. Also, use send_timeout_close to have a socket closed automatically\r\nin such case.","created_at":"2015-10-05T22:37:52Z","updated_at":"2015-10-05T22:37:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nifoc/katja/pulls/9/commits","review_comments_url":"https://api.github.com/repos/nifoc/katja/pulls/9/comments","review_comment_url":"https://api.github.com/repos/nifoc/katja/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nifoc/katja/issues/9/comments","statuses_url":"https://api.github.com/repos/nifoc/katja/statuses/e76459e9f2ab63ed7ce85ab1aacca607230f7311","head":{"label":"ichernetsky:master","ref":"master","sha":"e76459e9f2ab63ed7ce85ab1aacca607230f7311","user":{"login":"ichernetsky","id":96977,"avatar_url":"https://avatars.githubusercontent.com/u/96977?v=3","gravatar_id":"","url":"https://api.github.com/users/ichernetsky","html_url":"https://github.com/ichernetsky","followers_url":"https://api.github.com/users/ichernetsky/followers","following_url":"https://api.github.com/users/ichernetsky/following{/other_user}","gists_url":"https://api.github.com/users/ichernetsky/gists{/gist_id}","starred_url":"https://api.github.com/users/ichernetsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichernetsky/subscriptions","organizations_url":"https://api.github.com/users/ichernetsky/orgs","repos_url":"https://api.github.com/users/ichernetsky/repos","events_url":"https://api.github.com/users/ichernetsky/events{/privacy}","received_events_url":"https://api.github.com/users/ichernetsky/received_events","type":"User","site_admin":false},"repo":{"id":43717285,"name":"katja","full_name":"ichernetsky/katja","owner":{"login":"ichernetsky","id":96977,"avatar_url":"https://avatars.githubusercontent.com/u/96977?v=3","gravatar_id":"","url":"https://api.github.com/users/ichernetsky","html_url":"https://github.com/ichernetsky","followers_url":"https://api.github.com/users/ichernetsky/followers","following_url":"https://api.github.com/users/ichernetsky/following{/other_user}","gists_url":"https://api.github.com/users/ichernetsky/gists{/gist_id}","starred_url":"https://api.github.com/users/ichernetsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichernetsky/subscriptions","organizations_url":"https://api.github.com/users/ichernetsky/orgs","repos_url":"https://api.github.com/users/ichernetsky/repos","events_url":"https://api.github.com/users/ichernetsky/events{/privacy}","received_events_url":"https://api.github.com/users/ichernetsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ichernetsky/katja","description":"A simple Riemann client written in Erlang.","fork":true,"url":"https://api.github.com/repos/ichernetsky/katja","forks_url":"https://api.github.com/repos/ichernetsky/katja/forks","keys_url":"https://api.github.com/repos/ichernetsky/katja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ichernetsky/katja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ichernetsky/katja/teams","hooks_url":"https://api.github.com/repos/ichernetsky/katja/hooks","issue_events_url":"https://api.github.com/repos/ichernetsky/katja/issues/events{/number}","events_url":"https://api.github.com/repos/ichernetsky/katja/events","assignees_url":"https://api.github.com/repos/ichernetsky/katja/assignees{/user}","branches_url":"https://api.github.com/repos/ichernetsky/katja/branches{/branch}","tags_url":"https://api.github.com/repos/ichernetsky/katja/tags","blobs_url":"https://api.github.com/repos/ichernetsky/katja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ichernetsky/katja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ichernetsky/katja/git/refs{/sha}","trees_url":"https://api.github.com/repos/ichernetsky/katja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ichernetsky/katja/statuses/{sha}","languages_url":"https://api.github.com/repos/ichernetsky/katja/languages","stargazers_url":"https://api.github.com/repos/ichernetsky/katja/stargazers","contributors_url":"https://api.github.com/repos/ichernetsky/katja/contributors","subscribers_url":"https://api.github.com/repos/ichernetsky/katja/subscribers","subscription_url":"https://api.github.com/repos/ichernetsky/katja/subscription","commits_url":"https://api.github.com/repos/ichernetsky/katja/commits{/sha}","git_commits_url":"https://api.github.com/repos/ichernetsky/katja/git/commits{/sha}","comments_url":"https://api.github.com/repos/ichernetsky/katja/comments{/number}","issue_comment_url":"https://api.github.com/repos/ichernetsky/katja/issues/comments{/number}","contents_url":"https://api.github.com/repos/ichernetsky/katja/contents/{+path}","compare_url":"https://api.github.com/repos/ichernetsky/katja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ichernetsky/katja/merges","archive_url":"https://api.github.com/repos/ichernetsky/katja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ichernetsky/katja/downloads","issues_url":"https://api.github.com/repos/ichernetsky/katja/issues{/number}","pulls_url":"https://api.github.com/repos/ichernetsky/katja/pulls{/number}","milestones_url":"https://api.github.com/repos/ichernetsky/katja/milestones{/number}","notifications_url":"https://api.github.com/repos/ichernetsky/katja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ichernetsky/katja/labels{/name}","releases_url":"https://api.github.com/repos/ichernetsky/katja/releases{/id}","created_at":"2015-10-05T22:25:00Z","updated_at":"2015-10-05T22:25:00Z","pushed_at":"2015-10-05T22:32:11Z","git_url":"git://github.com/ichernetsky/katja.git","ssh_url":"git@github.com:ichernetsky/katja.git","clone_url":"https://github.com/ichernetsky/katja.git","svn_url":"https://github.com/ichernetsky/katja","homepage":"http://katja.nifoc.pw","size":933,"stargazers_count":0,"watchers_count":0,"language":"Erlang","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":"nifoc:master","ref":"master","sha":"ec7f78b85ec36570e528d21ed54038d74141f1ea","user":{"login":"nifoc","id":222412,"avatar_url":"https://avatars.githubusercontent.com/u/222412?v=3","gravatar_id":"","url":"https://api.github.com/users/nifoc","html_url":"https://github.com/nifoc","followers_url":"https://api.github.com/users/nifoc/followers","following_url":"https://api.github.com/users/nifoc/following{/other_user}","gists_url":"https://api.github.com/users/nifoc/gists{/gist_id}","starred_url":"https://api.github.com/users/nifoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nifoc/subscriptions","organizations_url":"https://api.github.com/users/nifoc/orgs","repos_url":"https://api.github.com/users/nifoc/repos","events_url":"https://api.github.com/users/nifoc/events{/privacy}","received_events_url":"https://api.github.com/users/nifoc/received_events","type":"User","site_admin":false},"repo":{"id":19182286,"name":"katja","full_name":"nifoc/katja","owner":{"login":"nifoc","id":222412,"avatar_url":"https://avatars.githubusercontent.com/u/222412?v=3","gravatar_id":"","url":"https://api.github.com/users/nifoc","html_url":"https://github.com/nifoc","followers_url":"https://api.github.com/users/nifoc/followers","following_url":"https://api.github.com/users/nifoc/following{/other_user}","gists_url":"https://api.github.com/users/nifoc/gists{/gist_id}","starred_url":"https://api.github.com/users/nifoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nifoc/subscriptions","organizations_url":"https://api.github.com/users/nifoc/orgs","repos_url":"https://api.github.com/users/nifoc/repos","events_url":"https://api.github.com/users/nifoc/events{/privacy}","received_events_url":"https://api.github.com/users/nifoc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nifoc/katja","description":"A simple Riemann client written in Erlang.","fork":false,"url":"https://api.github.com/repos/nifoc/katja","forks_url":"https://api.github.com/repos/nifoc/katja/forks","keys_url":"https://api.github.com/repos/nifoc/katja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nifoc/katja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nifoc/katja/teams","hooks_url":"https://api.github.com/repos/nifoc/katja/hooks","issue_events_url":"https://api.github.com/repos/nifoc/katja/issues/events{/number}","events_url":"https://api.github.com/repos/nifoc/katja/events","assignees_url":"https://api.github.com/repos/nifoc/katja/assignees{/user}","branches_url":"https://api.github.com/repos/nifoc/katja/branches{/branch}","tags_url":"https://api.github.com/repos/nifoc/katja/tags","blobs_url":"https://api.github.com/repos/nifoc/katja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nifoc/katja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nifoc/katja/git/refs{/sha}","trees_url":"https://api.github.com/repos/nifoc/katja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nifoc/katja/statuses/{sha}","languages_url":"https://api.github.com/repos/nifoc/katja/languages","stargazers_url":"https://api.github.com/repos/nifoc/katja/stargazers","contributors_url":"https://api.github.com/repos/nifoc/katja/contributors","subscribers_url":"https://api.github.com/repos/nifoc/katja/subscribers","subscription_url":"https://api.github.com/repos/nifoc/katja/subscription","commits_url":"https://api.github.com/repos/nifoc/katja/commits{/sha}","git_commits_url":"https://api.github.com/repos/nifoc/katja/git/commits{/sha}","comments_url":"https://api.github.com/repos/nifoc/katja/comments{/number}","issue_comment_url":"https://api.github.com/repos/nifoc/katja/issues/comments{/number}","contents_url":"https://api.github.com/repos/nifoc/katja/contents/{+path}","compare_url":"https://api.github.com/repos/nifoc/katja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nifoc/katja/merges","archive_url":"https://api.github.com/repos/nifoc/katja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nifoc/katja/downloads","issues_url":"https://api.github.com/repos/nifoc/katja/issues{/number}","pulls_url":"https://api.github.com/repos/nifoc/katja/pulls{/number}","milestones_url":"https://api.github.com/repos/nifoc/katja/milestones{/number}","notifications_url":"https://api.github.com/repos/nifoc/katja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nifoc/katja/labels{/name}","releases_url":"https://api.github.com/repos/nifoc/katja/releases{/id}","created_at":"2014-04-26T16:32:56Z","updated_at":"2015-08-31T12:16:32Z","pushed_at":"2015-03-26T21:47:23Z","git_url":"git://github.com/nifoc/katja.git","ssh_url":"git@github.com:nifoc/katja.git","clone_url":"https://github.com/nifoc/katja.git","svn_url":"https://github.com/nifoc/katja","homepage":"http://katja.nifoc.pw","size":933,"stargazers_count":20,"watchers_count":20,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nifoc/katja/pulls/9"},"html":{"href":"https://github.com/nifoc/katja/pull/9"},"issue":{"href":"https://api.github.com/repos/nifoc/katja/issues/9"},"comments":{"href":"https://api.github.com/repos/nifoc/katja/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/nifoc/katja/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/nifoc/katja/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nifoc/katja/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/nifoc/katja/statuses/e76459e9f2ab63ed7ce85ab1aacca607230f7311"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}