{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/mailgun/manners/pulls/6","id":32980402,"html_url":"https://github.com/mailgun/manners/pull/6","diff_url":"https://github.com/mailgun/manners/pull/6.diff","patch_url":"https://github.com/mailgun/manners/pull/6.patch","issue_url":"https://api.github.com/repos/mailgun/manners/issues/6","number":6,"state":"open","locked":false,"title":"Connections in StateNew that transition to StateActive after closing cause shutdown to fail","user":{"login":"epipho","id":622665,"avatar_url":"https://avatars.githubusercontent.com/u/622665?v=3","gravatar_id":"","url":"https://api.github.com/users/epipho","html_url":"https://github.com/epipho","followers_url":"https://api.github.com/users/epipho/followers","following_url":"https://api.github.com/users/epipho/following{/other_user}","gists_url":"https://api.github.com/users/epipho/gists{/gist_id}","starred_url":"https://api.github.com/users/epipho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epipho/subscriptions","organizations_url":"https://api.github.com/users/epipho/orgs","repos_url":"https://api.github.com/users/epipho/repos","events_url":"https://api.github.com/users/epipho/events{/privacy}","received_events_url":"https://api.github.com/users/epipho/received_events","type":"User","site_admin":false},"body":"If the gracefulHandler is closed after a new connection is made but before it becomes active it will call StartRoutine but not EndRoutine.\r\n\r\n","created_at":"2015-04-09T18:02:11Z","updated_at":"2015-04-09T18:02:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mailgun/manners/pulls/6/commits","review_comments_url":"https://api.github.com/repos/mailgun/manners/pulls/6/comments","review_comment_url":"https://api.github.com/repos/mailgun/manners/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mailgun/manners/issues/6/comments","statuses_url":"https://api.github.com/repos/mailgun/manners/statuses/c620fcb2d49bfbfa86e442cd930e3d5eb9bf8cbf","head":{"label":"turbine:fix-race","ref":"fix-race","sha":"c620fcb2d49bfbfa86e442cd930e3d5eb9bf8cbf","user":{"login":"turbine","id":10271027,"avatar_url":"https://avatars.githubusercontent.com/u/10271027?v=3","gravatar_id":"","url":"https://api.github.com/users/turbine","html_url":"https://github.com/turbine","followers_url":"https://api.github.com/users/turbine/followers","following_url":"https://api.github.com/users/turbine/following{/other_user}","gists_url":"https://api.github.com/users/turbine/gists{/gist_id}","starred_url":"https://api.github.com/users/turbine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbine/subscriptions","organizations_url":"https://api.github.com/users/turbine/orgs","repos_url":"https://api.github.com/users/turbine/repos","events_url":"https://api.github.com/users/turbine/events{/privacy}","received_events_url":"https://api.github.com/users/turbine/received_events","type":"Organization","site_admin":false},"repo":{"id":33682848,"name":"manners","full_name":"turbine/manners","owner":{"login":"turbine","id":10271027,"avatar_url":"https://avatars.githubusercontent.com/u/10271027?v=3","gravatar_id":"","url":"https://api.github.com/users/turbine","html_url":"https://github.com/turbine","followers_url":"https://api.github.com/users/turbine/followers","following_url":"https://api.github.com/users/turbine/following{/other_user}","gists_url":"https://api.github.com/users/turbine/gists{/gist_id}","starred_url":"https://api.github.com/users/turbine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbine/subscriptions","organizations_url":"https://api.github.com/users/turbine/orgs","repos_url":"https://api.github.com/users/turbine/repos","events_url":"https://api.github.com/users/turbine/events{/privacy}","received_events_url":"https://api.github.com/users/turbine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turbine/manners","description":"A polite Go HTTP server that shuts down gracefully.","fork":true,"url":"https://api.github.com/repos/turbine/manners","forks_url":"https://api.github.com/repos/turbine/manners/forks","keys_url":"https://api.github.com/repos/turbine/manners/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turbine/manners/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turbine/manners/teams","hooks_url":"https://api.github.com/repos/turbine/manners/hooks","issue_events_url":"https://api.github.com/repos/turbine/manners/issues/events{/number}","events_url":"https://api.github.com/repos/turbine/manners/events","assignees_url":"https://api.github.com/repos/turbine/manners/assignees{/user}","branches_url":"https://api.github.com/repos/turbine/manners/branches{/branch}","tags_url":"https://api.github.com/repos/turbine/manners/tags","blobs_url":"https://api.github.com/repos/turbine/manners/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turbine/manners/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turbine/manners/git/refs{/sha}","trees_url":"https://api.github.com/repos/turbine/manners/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turbine/manners/statuses/{sha}","languages_url":"https://api.github.com/repos/turbine/manners/languages","stargazers_url":"https://api.github.com/repos/turbine/manners/stargazers","contributors_url":"https://api.github.com/repos/turbine/manners/contributors","subscribers_url":"https://api.github.com/repos/turbine/manners/subscribers","subscription_url":"https://api.github.com/repos/turbine/manners/subscription","commits_url":"https://api.github.com/repos/turbine/manners/commits{/sha}","git_commits_url":"https://api.github.com/repos/turbine/manners/git/commits{/sha}","comments_url":"https://api.github.com/repos/turbine/manners/comments{/number}","issue_comment_url":"https://api.github.com/repos/turbine/manners/issues/comments{/number}","contents_url":"https://api.github.com/repos/turbine/manners/contents/{+path}","compare_url":"https://api.github.com/repos/turbine/manners/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turbine/manners/merges","archive_url":"https://api.github.com/repos/turbine/manners/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turbine/manners/downloads","issues_url":"https://api.github.com/repos/turbine/manners/issues{/number}","pulls_url":"https://api.github.com/repos/turbine/manners/pulls{/number}","milestones_url":"https://api.github.com/repos/turbine/manners/milestones{/number}","notifications_url":"https://api.github.com/repos/turbine/manners/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turbine/manners/labels{/name}","releases_url":"https://api.github.com/repos/turbine/manners/releases{/id}","created_at":"2015-04-09T17:31:15Z","updated_at":"2015-04-09T17:31:15Z","pushed_at":"2015-04-09T18:00:08Z","git_url":"git://github.com/turbine/manners.git","ssh_url":"git@github.com:turbine/manners.git","clone_url":"https://github.com/turbine/manners.git","svn_url":"https://github.com/turbine/manners","homepage":null,"size":147,"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":"mailgun:master","ref":"master","sha":"439abb10d384a9ca69a511be39f29580ee5009c6","user":{"login":"mailgun","id":447686,"avatar_url":"https://avatars.githubusercontent.com/u/447686?v=3","gravatar_id":"","url":"https://api.github.com/users/mailgun","html_url":"https://github.com/mailgun","followers_url":"https://api.github.com/users/mailgun/followers","following_url":"https://api.github.com/users/mailgun/following{/other_user}","gists_url":"https://api.github.com/users/mailgun/gists{/gist_id}","starred_url":"https://api.github.com/users/mailgun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailgun/subscriptions","organizations_url":"https://api.github.com/users/mailgun/orgs","repos_url":"https://api.github.com/users/mailgun/repos","events_url":"https://api.github.com/users/mailgun/events{/privacy}","received_events_url":"https://api.github.com/users/mailgun/received_events","type":"Organization","site_admin":false},"repo":{"id":23243795,"name":"manners","full_name":"mailgun/manners","owner":{"login":"mailgun","id":447686,"avatar_url":"https://avatars.githubusercontent.com/u/447686?v=3","gravatar_id":"","url":"https://api.github.com/users/mailgun","html_url":"https://github.com/mailgun","followers_url":"https://api.github.com/users/mailgun/followers","following_url":"https://api.github.com/users/mailgun/following{/other_user}","gists_url":"https://api.github.com/users/mailgun/gists{/gist_id}","starred_url":"https://api.github.com/users/mailgun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailgun/subscriptions","organizations_url":"https://api.github.com/users/mailgun/orgs","repos_url":"https://api.github.com/users/mailgun/repos","events_url":"https://api.github.com/users/mailgun/events{/privacy}","received_events_url":"https://api.github.com/users/mailgun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mailgun/manners","description":"A polite Go HTTP server that shuts down gracefully.","fork":true,"url":"https://api.github.com/repos/mailgun/manners","forks_url":"https://api.github.com/repos/mailgun/manners/forks","keys_url":"https://api.github.com/repos/mailgun/manners/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mailgun/manners/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mailgun/manners/teams","hooks_url":"https://api.github.com/repos/mailgun/manners/hooks","issue_events_url":"https://api.github.com/repos/mailgun/manners/issues/events{/number}","events_url":"https://api.github.com/repos/mailgun/manners/events","assignees_url":"https://api.github.com/repos/mailgun/manners/assignees{/user}","branches_url":"https://api.github.com/repos/mailgun/manners/branches{/branch}","tags_url":"https://api.github.com/repos/mailgun/manners/tags","blobs_url":"https://api.github.com/repos/mailgun/manners/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mailgun/manners/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mailgun/manners/git/refs{/sha}","trees_url":"https://api.github.com/repos/mailgun/manners/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mailgun/manners/statuses/{sha}","languages_url":"https://api.github.com/repos/mailgun/manners/languages","stargazers_url":"https://api.github.com/repos/mailgun/manners/stargazers","contributors_url":"https://api.github.com/repos/mailgun/manners/contributors","subscribers_url":"https://api.github.com/repos/mailgun/manners/subscribers","subscription_url":"https://api.github.com/repos/mailgun/manners/subscription","commits_url":"https://api.github.com/repos/mailgun/manners/commits{/sha}","git_commits_url":"https://api.github.com/repos/mailgun/manners/git/commits{/sha}","comments_url":"https://api.github.com/repos/mailgun/manners/comments{/number}","issue_comment_url":"https://api.github.com/repos/mailgun/manners/issues/comments{/number}","contents_url":"https://api.github.com/repos/mailgun/manners/contents/{+path}","compare_url":"https://api.github.com/repos/mailgun/manners/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mailgun/manners/merges","archive_url":"https://api.github.com/repos/mailgun/manners/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mailgun/manners/downloads","issues_url":"https://api.github.com/repos/mailgun/manners/issues{/number}","pulls_url":"https://api.github.com/repos/mailgun/manners/pulls{/number}","milestones_url":"https://api.github.com/repos/mailgun/manners/milestones{/number}","notifications_url":"https://api.github.com/repos/mailgun/manners/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mailgun/manners/labels{/name}","releases_url":"https://api.github.com/repos/mailgun/manners/releases{/id}","created_at":"2014-08-23T00:16:29Z","updated_at":"2015-03-19T13:35:36Z","pushed_at":"2015-03-17T00:43:41Z","git_url":"git://github.com/mailgun/manners.git","ssh_url":"git@github.com:mailgun/manners.git","clone_url":"https://github.com/mailgun/manners.git","svn_url":"https://github.com/mailgun/manners","homepage":null,"size":337,"stargazers_count":17,"watchers_count":17,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mailgun/manners/pulls/6"},"html":{"href":"https://github.com/mailgun/manners/pull/6"},"issue":{"href":"https://api.github.com/repos/mailgun/manners/issues/6"},"comments":{"href":"https://api.github.com/repos/mailgun/manners/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/mailgun/manners/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/mailgun/manners/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mailgun/manners/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/mailgun/manners/statuses/c620fcb2d49bfbfa86e442cd930e3d5eb9bf8cbf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}