{"action":"created","issue":{"url":"https://api.github.com/repos/netty/netty/issues/3959","labels_url":"https://api.github.com/repos/netty/netty/issues/3959/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/3959/comments","events_url":"https://api.github.com/repos/netty/netty/issues/3959/events","html_url":"https://github.com/netty/netty/pull/3959","id":93707391,"number":3959,"title":"Better handling of BUFFER_OVERFLOW when unwrap data.","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":"closed","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/122","html_url":"https://github.com/netty/netty/milestones/4.0.30.Final","labels_url":"https://api.github.com/repos/netty/netty/milestones/122/labels","id":1176773,"number":122,"title":"4.0.30.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":68,"closed_issues":14,"state":"open","created_at":"2015-06-23T07:04:21Z","updated_at":"2015-07-08T08:36:20Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-07-08T06:22:50Z","updated_at":"2015-07-08T08:36:20Z","closed_at":"2015-07-08T08:36:19Z","pull_request":{"url":"https://api.github.com/repos/netty/netty/pulls/3959","html_url":"https://github.com/netty/netty/pull/3959","diff_url":"https://github.com/netty/netty/pull/3959.diff","patch_url":"https://github.com/netty/netty/pull/3959.patch"},"body":"Motivation:\r\n\r\nWhen we detect a BUFFER_OVERFLOW we should just forward the already produced data and allocate a new buffer and NOT do any extra memory copies while trying to expand the buffer.\r\n\r\nModifications:\r\n\r\nWhen a BUFFER_OVERFLOW is returned and some data was produced just fire this data through the pipeline and allocate a new buffer to read again.\r\n\r\nResult:\r\n\r\nLess memorycopies and so better performance."},"comment":{"url":"https://api.github.com/repos/netty/netty/issues/comments/119496396","html_url":"https://github.com/netty/netty/pull/3959#issuecomment-119496396","issue_url":"https://api.github.com/repos/netty/netty/issues/3959","id":119496396,"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},"created_at":"2015-07-08T08:36:19Z","updated_at":"2015-07-08T08:36:19Z","body":"Cherry-picked into 4.0 (513f4054df9f19349641d1e8cf6cb4ecdda99ab6) , 4.1 (9660e2f6a989d12b4c504e2e7c1b0a85258c9ec7) and master (93b76257add121a39b086a0e914fc906b0fe6aa7)"}}