{"action":"created","issue":{"url":"https://api.github.com/repos/netty/netty/issues/5056","repository_url":"https://api.github.com/repos/netty/netty","labels_url":"https://api.github.com/repos/netty/netty/issues/5056/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/5056/comments","events_url":"https://api.github.com/repos/netty/netty/issues/5056/events","html_url":"https://github.com/netty/netty/pull/5056","id":144477212,"number":5056,"title":"Allow to disable leak detection for all buffers when using UnpooledBy…","user":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/netty/netty/labels/improvement","name":"improvement","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/netty/netty/milestones/137","html_url":"https://github.com/netty/netty/milestones/4.0.36.Final","labels_url":"https://api.github.com/repos/netty/netty/milestones/137/labels","id":1656953,"number":137,"title":"4.0.36.Final","description":"","creator":{"login":"normanmaurer","id":439362,"avatar_url":"https://avatars.githubusercontent.com/u/439362?v=3","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"open_issues":64,"closed_issues":17,"state":"open","created_at":"2016-03-21T10:40:25Z","updated_at":"2016-03-30T06:27:38Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-03-30T06:27:33Z","updated_at":"2016-03-30T06:38:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/netty/netty/pulls/5056","html_url":"https://github.com/netty/netty/pull/5056","diff_url":"https://github.com/netty/netty/pull/5056.diff","patch_url":"https://github.com/netty/netty/pull/5056.patch"},"body":"…teBufAllocator.\r\n\r\nMotivation:\r\n\r\nSometimes it is useful to allow to disable the leak detection of buffers if the UnpooledByteBufAllocator is used. This is for example true if the app wants to leak buffers into user code but not want to put the burden on the user to always release the buffer.\r\n\r\nModifications:\r\n\r\nAdd another constructor to UnpooledByteBufAllocator that allows to completely disable leak-detection for all buffers that are allocator out of the UnpooledByteBufAllocator.\r\n\r\nResult:\r\n\r\nIt's possible to disable leak-detection when the UnpooledByteBufAllocator is used."},"comment":{"url":"https://api.github.com/repos/netty/netty/issues/comments/203275860","html_url":"https://github.com/netty/netty/pull/5056#issuecomment-203275860","issue_url":"https://api.github.com/repos/netty/netty/issues/5056","id":203275860,"user":{"login":"dschobel","id":58369,"avatar_url":"https://avatars.githubusercontent.com/u/58369?v=3","gravatar_id":"","url":"https://api.github.com/users/dschobel","html_url":"https://github.com/dschobel","followers_url":"https://api.github.com/users/dschobel/followers","following_url":"https://api.github.com/users/dschobel/following{/other_user}","gists_url":"https://api.github.com/users/dschobel/gists{/gist_id}","starred_url":"https://api.github.com/users/dschobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschobel/subscriptions","organizations_url":"https://api.github.com/users/dschobel/orgs","repos_url":"https://api.github.com/users/dschobel/repos","events_url":"https://api.github.com/users/dschobel/events{/privacy}","received_events_url":"https://api.github.com/users/dschobel/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T06:38:25Z","updated_at":"2016-03-30T06:38:25Z","body":"thanks @normanmaurer, this is exactly what we need for finagle to save from copying every buffer that leaks into user's application code."}}