GitHub PullRequestEvent at 2014-11-11 15:40:10
Repository: mojo
Actor: dex4er
Payload: {"action":"opened","number":706,"pull_request":{"url":"https://api.github.com/repos/kraih/mojo/pulls/706","id":24227273,"html_url":"https://github.com/kraih/mojo/pull/706","diff_url":"https://github.com/kraih/mojo/pull/706.diff","patch_url":"https://github.com/kraih/mojo/pull/706.patch","issue_url":"https://api.github.com/repos/kraih/mojo/issues/706","number":706,"state":"open","locked":false,"title":"Emitting eof event when there is no more to read on socket","user":{"login":"dex4er","id":174367,"avatar_url":"https://avatars.githubusercontent.com/u/174367?v=3","gravatar_id":"","url":"https://api.github.com/users/dex4er","html_url":"https://github.com/dex4er","followers_url":"https://api.github.com/users/dex4er/followers","following_url":"https://api.github.com/users/dex4er/following{/other_user}","gists_url":"https://api.github.com/users/dex4er/gists{/gist_id}","starred_url":"https://api.github.com/users/dex4er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dex4er/subscriptions","organizations_url":"https://api.github.com/users/dex4er/orgs","repos_url":"https://api.github.com/users/dex4er/repos","events_url":"https://api.github.com/users/dex4er/events{/privacy}","received_events_url":"https://api.github.com/users/dex4er/received_events","type":"User","site_admin":false},"body":"I need to create a server which returns last message after the socked was shutdown and before was closed.\r\nIt is similar to, ie. FTP server which returns 500 error if the connection was not finished gracefuly:\r\n\r\n```\r\n$ nc ftp.debian.org 21 </dev/null\r\n220 ftp.debian.org FTP server\r\n500 OOPS: vsf_sysutil_recv_peek: no data\r\n500 OOPS: priv_sock_get_cmd\r\n```\r\n\r\nMy proposition is the new event `eof` called when `sysread` returns `0`.\r\n","created_at":"2014-11-11T15:40:09Z","updated_at":"2014-11-11T15:40:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kraih/mojo/pulls/706/commits","review_comments_url":"https://api.github.com/repos/kraih/mojo/pulls/706/comments","review_comment_url":"https://api.github.com/repos/kraih/mojo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/kraih/mojo/issues/706/comments","statuses_url":"https://api.github.com/repos/kraih/mojo/statuses/7f7d18ee9d0a4a48aece00fb25d22f96b7b9d132","head":{"label":"dex4er:feature_on_eof","ref":"feature_on_eof","sha":"7f7d18ee9d0a4a48aece00fb25d22f96b7b9d132","user":{"login":"dex4er","id":174367,"avatar_url":"https://avatars.githubusercontent.com/u/174367?v=3","gravatar_id":"","url":"https://api.github.com/users/dex4er","html_url":"https://github.com/dex4er","followers_url":"https://api.github.com/users/dex4er/followers","following_url":"https://api.github.com/users/dex4er/following{/other_user}","gists_url":"https://api.github.com/users/dex4er/gists{/gist_id}","starred_url":"https://api.github.com/users/dex4er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dex4er/subscriptions","organizations_url":"https://api.github.com/users/dex4er/orgs","repos_url":"https://api.github.com/users/dex4er/repos","events_url":"https://api.github.com/users/dex4er/events{/privacy}","received_events_url":"https://api.github.com/users/dex4er/received_events","type":"User","site_admin":false},"repo":{"id":26438897,"name":"perl-Mojolicious","full_name":"dex4er/perl-Mojolicious","owner":{"login":"dex4er","id":174367,"avatar_url":"https://avatars.githubusercontent.com/u/174367?v=3","gravatar_id":"","url":"https://api.github.com/users/dex4er","html_url":"https://github.com/dex4er","followers_url":"https://api.github.com/users/dex4er/followers","following_url":"https://api.github.com/users/dex4er/following{/other_user}","gists_url":"https://api.github.com/users/dex4er/gists{/gist_id}","starred_url":"https://api.github.com/users/dex4er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dex4er/subscriptions","organizations_url":"https://api.github.com/users/dex4er/orgs","repos_url":"https://api.github.com/users/dex4er/repos","events_url":"https://api.github.com/users/dex4er/events{/privacy}","received_events_url":"https://api.github.com/users/dex4er/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dex4er/perl-Mojolicious","description":"Mojolicious - Perl real-time web framework","fork":true,"url":"https://api.github.com/repos/dex4er/perl-Mojolicious","forks_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/forks","keys_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/teams","hooks_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/hooks","issue_events_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/issues/events{/number}","events_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/events","assignees_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/assignees{/user}","branches_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/branches{/branch}","tags_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/tags","blobs_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/git/refs{/sha}","trees_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/statuses/{sha}","languages_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/languages","stargazers_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/stargazers","contributors_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/contributors","subscribers_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/subscribers","subscription_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/subscription","commits_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/commits{/sha}","git_commits_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/git/commits{/sha}","comments_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/comments{/number}","issue_comment_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/issues/comments/{number}","contents_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/contents/{+path}","compare_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/merges","archive_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/downloads","issues_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/issues{/number}","pulls_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/pulls{/number}","milestones_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/milestones{/number}","notifications_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/labels{/name}","releases_url":"https://api.github.com/repos/dex4er/perl-Mojolicious/releases{/id}","created_at":"2014-11-10T14:08:40Z","updated_at":"2014-11-10T14:09:33Z","pushed_at":"2014-11-11T15:27:07Z","git_url":"git://github.com/dex4er/perl-Mojolicious.git","ssh_url":"git@github.com:dex4er/perl-Mojolicious.git","clone_url":"https://github.com/dex4er/perl-Mojolicious.git","svn_url":"https://github.com/dex4er/perl-Mojolicious","homepage":"http://mojolicio.us","size":53184,"stargazers_count":0,"watchers_count":0,"language":null,"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":"kraih:master","ref":"master","sha":"aa3c6bb0a46f99a38ec08001474b910e75e5928a","user":{"login":"kraih","id":30094,"avatar_url":"https://avatars.githubusercontent.com/u/30094?v=3","gravatar_id":"","url":"https://api.github.com/users/kraih","html_url":"https://github.com/kraih","followers_url":"https://api.github.com/users/kraih/followers","following_url":"https://api.github.com/users/kraih/following{/other_user}","gists_url":"https://api.github.com/users/kraih/gists{/gist_id}","starred_url":"https://api.github.com/users/kraih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraih/subscriptions","organizations_url":"https://api.github.com/users/kraih/orgs","repos_url":"https://api.github.com/users/kraih/repos","events_url":"https://api.github.com/users/kraih/events{/privacy}","received_events_url":"https://api.github.com/users/kraih/received_events","type":"User","site_admin":false},"repo":{"id":65646,"name":"mojo","full_name":"kraih/mojo","owner":{"login":"kraih","id":30094,"avatar_url":"https://avatars.githubusercontent.com/u/30094?v=3","gravatar_id":"","url":"https://api.github.com/users/kraih","html_url":"https://github.com/kraih","followers_url":"https://api.github.com/users/kraih/followers","following_url":"https://api.github.com/users/kraih/following{/other_user}","gists_url":"https://api.github.com/users/kraih/gists{/gist_id}","starred_url":"https://api.github.com/users/kraih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraih/subscriptions","organizations_url":"https://api.github.com/users/kraih/orgs","repos_url":"https://api.github.com/users/kraih/repos","events_url":"https://api.github.com/users/kraih/events{/privacy}","received_events_url":"https://api.github.com/users/kraih/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kraih/mojo","description":"Mojolicious - Perl real-time web framework","fork":false,"url":"https://api.github.com/repos/kraih/mojo","forks_url":"https://api.github.com/repos/kraih/mojo/forks","keys_url":"https://api.github.com/repos/kraih/mojo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kraih/mojo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kraih/mojo/teams","hooks_url":"https://api.github.com/repos/kraih/mojo/hooks","issue_events_url":"https://api.github.com/repos/kraih/mojo/issues/events{/number}","events_url":"https://api.github.com/repos/kraih/mojo/events","assignees_url":"https://api.github.com/repos/kraih/mojo/assignees{/user}","branches_url":"https://api.github.com/repos/kraih/mojo/branches{/branch}","tags_url":"https://api.github.com/repos/kraih/mojo/tags","blobs_url":"https://api.github.com/repos/kraih/mojo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kraih/mojo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kraih/mojo/git/refs{/sha}","trees_url":"https://api.github.com/repos/kraih/mojo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kraih/mojo/statuses/{sha}","languages_url":"https://api.github.com/repos/kraih/mojo/languages","stargazers_url":"https://api.github.com/repos/kraih/mojo/stargazers","contributors_url":"https://api.github.com/repos/kraih/mojo/contributors","subscribers_url":"https://api.github.com/repos/kraih/mojo/subscribers","subscription_url":"https://api.github.com/repos/kraih/mojo/subscription","commits_url":"https://api.github.com/repos/kraih/mojo/commits{/sha}","git_commits_url":"https://api.github.com/repos/kraih/mojo/git/commits{/sha}","comments_url":"https://api.github.com/repos/kraih/mojo/comments{/number}","issue_comment_url":"https://api.github.com/repos/kraih/mojo/issues/comments/{number}","contents_url":"https://api.github.com/repos/kraih/mojo/contents/{+path}","compare_url":"https://api.github.com/repos/kraih/mojo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kraih/mojo/merges","archive_url":"https://api.github.com/repos/kraih/mojo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kraih/mojo/downloads","issues_url":"https://api.github.com/repos/kraih/mojo/issues{/number}","pulls_url":"https://api.github.com/repos/kraih/mojo/pulls{/number}","milestones_url":"https://api.github.com/repos/kraih/mojo/milestones{/number}","notifications_url":"https://api.github.com/repos/kraih/mojo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kraih/mojo/labels{/name}","releases_url":"https://api.github.com/repos/kraih/mojo/releases{/id}","created_at":"2008-10-21T07:50:26Z","updated_at":"2014-11-10T22:04:17Z","pushed_at":"2014-11-11T15:09:01Z","git_url":"git://github.com/kraih/mojo.git","ssh_url":"git@github.com:kraih/mojo.git","clone_url":"https://github.com/kraih/mojo.git","svn_url":"https://github.com/kraih/mojo","homepage":"http://mojolicio.us","size":53184,"stargazers_count":1347,"watchers_count":1347,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":297,"mirror_url":null,"open_issues_count":8,"forks":297,"open_issues":8,"watchers":1347,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kraih/mojo/pulls/706"},"html":{"href":"https://github.com/kraih/mojo/pull/706"},"issue":{"href":"https://api.github.com/repos/kraih/mojo/issues/706"},"comments":{"href":"https://api.github.com/repos/kraih/mojo/issues/706/comments"},"review_comments":{"href":"https://api.github.com/repos/kraih/mojo/pulls/706/comments"},"review_comment":{"href":"https://api.github.com/repos/kraih/mojo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/kraih/mojo/pulls/706/commits"},"statuses":{"href":"https://api.github.com/repos/kraih/mojo/statuses/7f7d18ee9d0a4a48aece00fb25d22f96b7b9d132"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":51,"deletions":1,"changed_files":2}}