{"action":"closed","number":2430,"pull_request":{"url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/2430","id":200995930,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwOTk1OTMw","html_url":"https://github.com/dropwizard/dropwizard/pull/2430","diff_url":"https://github.com/dropwizard/dropwizard/pull/2430.diff","patch_url":"https://github.com/dropwizard/dropwizard/pull/2430.patch","issue_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/2430","number":2430,"state":"closed","locked":false,"title":"Fix incorrect reading of somaxconn for tcp backlog on linux","user":{"login":"nickbabcock","id":2106129,"node_id":"MDQ6VXNlcjIxMDYxMjk=","avatar_url":"https://avatars1.githubusercontent.com/u/2106129?v=4","gravatar_id":"","url":"https://api.github.com/users/nickbabcock","html_url":"https://github.com/nickbabcock","followers_url":"https://api.github.com/users/nickbabcock/followers","following_url":"https://api.github.com/users/nickbabcock/following{/other_user}","gists_url":"https://api.github.com/users/nickbabcock/gists{/gist_id}","starred_url":"https://api.github.com/users/nickbabcock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickbabcock/subscriptions","organizations_url":"https://api.github.com/users/nickbabcock/orgs","repos_url":"https://api.github.com/users/nickbabcock/repos","events_url":"https://api.github.com/users/nickbabcock/events{/privacy}","received_events_url":"https://api.github.com/users/nickbabcock/received_events","type":"User","site_admin":false},"body":"###### Problem:\r\nDropwizard drops connections during a burst of short lived connections, as the accept queue is set to (most commonly) 1 or 2 due to `Files.readAllBytes` unable to work with pseudo files like somaxconn\r\n\r\n###### Solution:\r\n[Adopt Netty's implementation](https://github.com/netty/netty/blob/77ec8397927e3ceb9b9a447a74e718f625ed9976/common/src/main/java/io/netty/util/NetUtil.java#L261-L269)\r\n\r\n###### Result:\r\nTest passed and dropwizard should be more burst resistant. Closes #2429\r\n\r\nDropwizard users currently afflicted by this bug, can override this default behavior by specifying an `acceptQueueSize` in their configuration.","created_at":"2018-07-12T13:09:59Z","updated_at":"2018-07-12T14:08:47Z","closed_at":"2018-07-12T14:08:47Z","merged_at":"2018-07-12T14:08:47Z","merge_commit_sha":"49e961cb41627909bfb8c479dfdd3465ae9193ca","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":236695,"node_id":"MDU6TGFiZWwyMzY2OTU=","url":"https://api.github.com/repos/dropwizard/dropwizard/labels/bug","name":"bug","color":"e10c02","default":true}],"milestone":{"url":"https://api.github.com/repos/dropwizard/dropwizard/milestones/18","html_url":"https://github.com/dropwizard/dropwizard/milestone/18","labels_url":"https://api.github.com/repos/dropwizard/dropwizard/milestones/18/labels","id":1958804,"node_id":"MDk6TWlsZXN0b25lMTk1ODgwNA==","number":18,"title":"2.0.0","description":null,"creator":{"login":"evnm","id":110020,"node_id":"MDQ6VXNlcjExMDAyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/110020?v=4","gravatar_id":"","url":"https://api.github.com/users/evnm","html_url":"https://github.com/evnm","followers_url":"https://api.github.com/users/evnm/followers","following_url":"https://api.github.com/users/evnm/following{/other_user}","gists_url":"https://api.github.com/users/evnm/gists{/gist_id}","starred_url":"https://api.github.com/users/evnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evnm/subscriptions","organizations_url":"https://api.github.com/users/evnm/orgs","repos_url":"https://api.github.com/users/evnm/repos","events_url":"https://api.github.com/users/evnm/events{/privacy}","received_events_url":"https://api.github.com/users/evnm/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":55,"state":"open","created_at":"2016-08-23T19:10:05Z","updated_at":"2018-07-12T14:08:47Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/2430/commits","review_comments_url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/2430/comments","review_comment_url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/2430/comments","statuses_url":"https://api.github.com/repos/dropwizard/dropwizard/statuses/3e1e1ab6f34abbd12ea329cf23f9d11262cb6c69","head":{"label":"nickbabcock:somaxconn-fix","ref":"somaxconn-fix","sha":"3e1e1ab6f34abbd12ea329cf23f9d11262cb6c69","user":{"login":"nickbabcock","id":2106129,"node_id":"MDQ6VXNlcjIxMDYxMjk=","avatar_url":"https://avatars1.githubusercontent.com/u/2106129?v=4","gravatar_id":"","url":"https://api.github.com/users/nickbabcock","html_url":"https://github.com/nickbabcock","followers_url":"https://api.github.com/users/nickbabcock/followers","following_url":"https://api.github.com/users/nickbabcock/following{/other_user}","gists_url":"https://api.github.com/users/nickbabcock/gists{/gist_id}","starred_url":"https://api.github.com/users/nickbabcock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickbabcock/subscriptions","organizations_url":"https://api.github.com/users/nickbabcock/orgs","repos_url":"https://api.github.com/users/nickbabcock/repos","events_url":"https://api.github.com/users/nickbabcock/events{/privacy}","received_events_url":"https://api.github.com/users/nickbabcock/received_events","type":"User","site_admin":false},"repo":{"id":18115354,"node_id":"MDEwOlJlcG9zaXRvcnkxODExNTM1NA==","name":"dropwizard","full_name":"nickbabcock/dropwizard","owner":{"login":"nickbabcock","id":2106129,"node_id":"MDQ6VXNlcjIxMDYxMjk=","avatar_url":"https://avatars1.githubusercontent.com/u/2106129?v=4","gravatar_id":"","url":"https://api.github.com/users/nickbabcock","html_url":"https://github.com/nickbabcock","followers_url":"https://api.github.com/users/nickbabcock/followers","following_url":"https://api.github.com/users/nickbabcock/following{/other_user}","gists_url":"https://api.github.com/users/nickbabcock/gists{/gist_id}","starred_url":"https://api.github.com/users/nickbabcock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickbabcock/subscriptions","organizations_url":"https://api.github.com/users/nickbabcock/orgs","repos_url":"https://api.github.com/users/nickbabcock/repos","events_url":"https://api.github.com/users/nickbabcock/events{/privacy}","received_events_url":"https://api.github.com/users/nickbabcock/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickbabcock/dropwizard","description":"A damn simple library for building production-ready RESTful web services.","fork":true,"url":"https://api.github.com/repos/nickbabcock/dropwizard","forks_url":"https://api.github.com/repos/nickbabcock/dropwizard/forks","keys_url":"https://api.github.com/repos/nickbabcock/dropwizard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickbabcock/dropwizard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickbabcock/dropwizard/teams","hooks_url":"https://api.github.com/repos/nickbabcock/dropwizard/hooks","issue_events_url":"https://api.github.com/repos/nickbabcock/dropwizard/issues/events{/number}","events_url":"https://api.github.com/repos/nickbabcock/dropwizard/events","assignees_url":"https://api.github.com/repos/nickbabcock/dropwizard/assignees{/user}","branches_url":"https://api.github.com/repos/nickbabcock/dropwizard/branches{/branch}","tags_url":"https://api.github.com/repos/nickbabcock/dropwizard/tags","blobs_url":"https://api.github.com/repos/nickbabcock/dropwizard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickbabcock/dropwizard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickbabcock/dropwizard/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickbabcock/dropwizard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickbabcock/dropwizard/statuses/{sha}","languages_url":"https://api.github.com/repos/nickbabcock/dropwizard/languages","stargazers_url":"https://api.github.com/repos/nickbabcock/dropwizard/stargazers","contributors_url":"https://api.github.com/repos/nickbabcock/dropwizard/contributors","subscribers_url":"https://api.github.com/repos/nickbabcock/dropwizard/subscribers","subscription_url":"https://api.github.com/repos/nickbabcock/dropwizard/subscription","commits_url":"https://api.github.com/repos/nickbabcock/dropwizard/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickbabcock/dropwizard/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickbabcock/dropwizard/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickbabcock/dropwizard/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickbabcock/dropwizard/contents/{+path}","compare_url":"https://api.github.com/repos/nickbabcock/dropwizard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickbabcock/dropwizard/merges","archive_url":"https://api.github.com/repos/nickbabcock/dropwizard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickbabcock/dropwizard/downloads","issues_url":"https://api.github.com/repos/nickbabcock/dropwizard/issues{/number}","pulls_url":"https://api.github.com/repos/nickbabcock/dropwizard/pulls{/number}","milestones_url":"https://api.github.com/repos/nickbabcock/dropwizard/milestones{/number}","notifications_url":"https://api.github.com/repos/nickbabcock/dropwizard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickbabcock/dropwizard/labels{/name}","releases_url":"https://api.github.com/repos/nickbabcock/dropwizard/releases{/id}","deployments_url":"https://api.github.com/repos/nickbabcock/dropwizard/deployments","created_at":"2014-03-25T20:24:18Z","updated_at":"2018-06-25T14:35:06Z","pushed_at":"2018-07-12T12:50:50Z","git_url":"git://github.com/nickbabcock/dropwizard.git","ssh_url":"git@github.com:nickbabcock/dropwizard.git","clone_url":"https://github.com/nickbabcock/dropwizard.git","svn_url":"https://github.com/nickbabcock/dropwizard","homepage":"http://www.dropwizard.io","size":10401,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"dropwizard:master","ref":"master","sha":"ea6be8957ab552c4ad2c6e208b56d056580ba326","user":{"login":"dropwizard","id":5478557,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0Nzg1NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/5478557?v=4","gravatar_id":"","url":"https://api.github.com/users/dropwizard","html_url":"https://github.com/dropwizard","followers_url":"https://api.github.com/users/dropwizard/followers","following_url":"https://api.github.com/users/dropwizard/following{/other_user}","gists_url":"https://api.github.com/users/dropwizard/gists{/gist_id}","starred_url":"https://api.github.com/users/dropwizard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dropwizard/subscriptions","organizations_url":"https://api.github.com/users/dropwizard/orgs","repos_url":"https://api.github.com/users/dropwizard/repos","events_url":"https://api.github.com/users/dropwizard/events{/privacy}","received_events_url":"https://api.github.com/users/dropwizard/received_events","type":"Organization","site_admin":false},"repo":{"id":1272129,"node_id":"MDEwOlJlcG9zaXRvcnkxMjcyMTI5","name":"dropwizard","full_name":"dropwizard/dropwizard","owner":{"login":"dropwizard","id":5478557,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0Nzg1NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/5478557?v=4","gravatar_id":"","url":"https://api.github.com/users/dropwizard","html_url":"https://github.com/dropwizard","followers_url":"https://api.github.com/users/dropwizard/followers","following_url":"https://api.github.com/users/dropwizard/following{/other_user}","gists_url":"https://api.github.com/users/dropwizard/gists{/gist_id}","starred_url":"https://api.github.com/users/dropwizard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dropwizard/subscriptions","organizations_url":"https://api.github.com/users/dropwizard/orgs","repos_url":"https://api.github.com/users/dropwizard/repos","events_url":"https://api.github.com/users/dropwizard/events{/privacy}","received_events_url":"https://api.github.com/users/dropwizard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dropwizard/dropwizard","description":"A damn simple library for building production-ready RESTful web services.","fork":false,"url":"https://api.github.com/repos/dropwizard/dropwizard","forks_url":"https://api.github.com/repos/dropwizard/dropwizard/forks","keys_url":"https://api.github.com/repos/dropwizard/dropwizard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dropwizard/dropwizard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dropwizard/dropwizard/teams","hooks_url":"https://api.github.com/repos/dropwizard/dropwizard/hooks","issue_events_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/events{/number}","events_url":"https://api.github.com/repos/dropwizard/dropwizard/events","assignees_url":"https://api.github.com/repos/dropwizard/dropwizard/assignees{/user}","branches_url":"https://api.github.com/repos/dropwizard/dropwizard/branches{/branch}","tags_url":"https://api.github.com/repos/dropwizard/dropwizard/tags","blobs_url":"https://api.github.com/repos/dropwizard/dropwizard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dropwizard/dropwizard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dropwizard/dropwizard/git/refs{/sha}","trees_url":"https://api.github.com/repos/dropwizard/dropwizard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dropwizard/dropwizard/statuses/{sha}","languages_url":"https://api.github.com/repos/dropwizard/dropwizard/languages","stargazers_url":"https://api.github.com/repos/dropwizard/dropwizard/stargazers","contributors_url":"https://api.github.com/repos/dropwizard/dropwizard/contributors","subscribers_url":"https://api.github.com/repos/dropwizard/dropwizard/subscribers","subscription_url":"https://api.github.com/repos/dropwizard/dropwizard/subscription","commits_url":"https://api.github.com/repos/dropwizard/dropwizard/commits{/sha}","git_commits_url":"https://api.github.com/repos/dropwizard/dropwizard/git/commits{/sha}","comments_url":"https://api.github.com/repos/dropwizard/dropwizard/comments{/number}","issue_comment_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/comments{/number}","contents_url":"https://api.github.com/repos/dropwizard/dropwizard/contents/{+path}","compare_url":"https://api.github.com/repos/dropwizard/dropwizard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dropwizard/dropwizard/merges","archive_url":"https://api.github.com/repos/dropwizard/dropwizard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dropwizard/dropwizard/downloads","issues_url":"https://api.github.com/repos/dropwizard/dropwizard/issues{/number}","pulls_url":"https://api.github.com/repos/dropwizard/dropwizard/pulls{/number}","milestones_url":"https://api.github.com/repos/dropwizard/dropwizard/milestones{/number}","notifications_url":"https://api.github.com/repos/dropwizard/dropwizard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dropwizard/dropwizard/labels{/name}","releases_url":"https://api.github.com/repos/dropwizard/dropwizard/releases{/id}","deployments_url":"https://api.github.com/repos/dropwizard/dropwizard/deployments","created_at":"2011-01-19T19:52:29Z","updated_at":"2018-07-12T10:37:27Z","pushed_at":"2018-07-12T14:08:47Z","git_url":"git://github.com/dropwizard/dropwizard.git","ssh_url":"git@github.com:dropwizard/dropwizard.git","clone_url":"https://github.com/dropwizard/dropwizard.git","svn_url":"https://github.com/dropwizard/dropwizard","homepage":"https://www.dropwizard.io","size":73222,"stargazers_count":6706,"watchers_count":6706,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2868,"mirror_url":null,"archived":false,"open_issues_count":94,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2868,"open_issues":94,"watchers":6706,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dropwizard/dropwizard/pulls/2430"},"html":{"href":"https://github.com/dropwizard/dropwizard/pull/2430"},"issue":{"href":"https://api.github.com/repos/dropwizard/dropwizard/issues/2430"},"comments":{"href":"https://api.github.com/repos/dropwizard/dropwizard/issues/2430/comments"},"review_comments":{"href":"https://api.github.com/repos/dropwizard/dropwizard/pulls/2430/comments"},"review_comment":{"href":"https://api.github.com/repos/dropwizard/dropwizard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dropwizard/dropwizard/pulls/2430/commits"},"statuses":{"href":"https://api.github.com/repos/dropwizard/dropwizard/statuses/3e1e1ab6f34abbd12ea329cf23f9d11262cb6c69"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"joschi","id":43951,"node_id":"MDQ6VXNlcjQzOTUx","avatar_url":"https://avatars1.githubusercontent.com/u/43951?v=4","gravatar_id":"","url":"https://api.github.com/users/joschi","html_url":"https://github.com/joschi","followers_url":"https://api.github.com/users/joschi/followers","following_url":"https://api.github.com/users/joschi/following{/other_user}","gists_url":"https://api.github.com/users/joschi/gists{/gist_id}","starred_url":"https://api.github.com/users/joschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joschi/subscriptions","organizations_url":"https://api.github.com/users/joschi/orgs","repos_url":"https://api.github.com/users/joschi/repos","events_url":"https://api.github.com/users/joschi/events{/privacy}","received_events_url":"https://api.github.com/users/joschi/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":9,"deletions":6,"changed_files":2}}
{"actor":{"display_login":"joschi"}}