{"action":"created","issue":{"url":"https://api.github.com/repos/netty/netty/issues/3460","labels_url":"https://api.github.com/repos/netty/netty/issues/3460/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/3460/comments","events_url":"https://api.github.com/repos/netty/netty/issues/3460/events","html_url":"https://github.com/netty/netty/pull/3460","id":59619347,"number":3460,"title":"Fix header and initial line length counting","user":{"login":"trustin","id":173918,"avatar_url":"https://avatars.githubusercontent.com/u/173918?v=3","gravatar_id":"","url":"https://api.github.com/users/trustin","html_url":"https://github.com/trustin","followers_url":"https://api.github.com/users/trustin/followers","following_url":"https://api.github.com/users/trustin/following{/other_user}","gists_url":"https://api.github.com/users/trustin/gists{/gist_id}","starred_url":"https://api.github.com/users/trustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trustin/subscriptions","organizations_url":"https://api.github.com/users/trustin/orgs","repos_url":"https://api.github.com/users/trustin/repos","events_url":"https://api.github.com/users/trustin/events{/privacy}","received_events_url":"https://api.github.com/users/trustin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/netty/netty/labels/defect","name":"defect","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"trustin","id":173918,"avatar_url":"https://avatars.githubusercontent.com/u/173918?v=3","gravatar_id":"","url":"https://api.github.com/users/trustin","html_url":"https://github.com/trustin","followers_url":"https://api.github.com/users/trustin/followers","following_url":"https://api.github.com/users/trustin/following{/other_user}","gists_url":"https://api.github.com/users/trustin/gists{/gist_id}","starred_url":"https://api.github.com/users/trustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trustin/subscriptions","organizations_url":"https://api.github.com/users/trustin/orgs","repos_url":"https://api.github.com/users/trustin/repos","events_url":"https://api.github.com/users/trustin/events{/privacy}","received_events_url":"https://api.github.com/users/trustin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/netty/netty/milestones/109","html_url":"https://github.com/netty/netty/milestones/4.0.26.Final","labels_url":"https://api.github.com/repos/netty/netty/milestones/109/labels","id":918308,"number":109,"title":"4.0.26.Final","description":null,"creator":{"login":"trustin","id":173918,"avatar_url":"https://avatars.githubusercontent.com/u/173918?v=3","gravatar_id":"","url":"https://api.github.com/users/trustin","html_url":"https://github.com/trustin","followers_url":"https://api.github.com/users/trustin/followers","following_url":"https://api.github.com/users/trustin/following{/other_user}","gists_url":"https://api.github.com/users/trustin/gists{/gist_id}","starred_url":"https://api.github.com/users/trustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trustin/subscriptions","organizations_url":"https://api.github.com/users/trustin/orgs","repos_url":"https://api.github.com/users/trustin/repos","events_url":"https://api.github.com/users/trustin/events{/privacy}","received_events_url":"https://api.github.com/users/trustin/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":68,"state":"open","created_at":"2014-12-31T07:43:52Z","updated_at":"2015-03-04T08:24:45Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-03-03T10:01:47Z","updated_at":"2015-03-04T08:24:45Z","closed_at":"2015-03-04T08:24:45Z","pull_request":{"url":"https://api.github.com/repos/netty/netty/pulls/3460","html_url":"https://github.com/netty/netty/pull/3460","diff_url":"https://github.com/netty/netty/pull/3460.diff","patch_url":"https://github.com/netty/netty/pull/3460.patch"},"body":"Related: #3445\r\n\r\nMotivation:\r\n\r\nHttpObjectDecoder.HeaderParser does not reset its counter (the size\r\nfield) when it failed to find the end of line.  If a header is split\r\ninto multiple fragments, the counter is increased as many times as the\r\nnumber of fragments, resulting an unexpected TooLongFrameException.\r\n\r\nModifications:\r\n\r\n- Add test cases that reproduces the problem\r\n- Reset the HeaderParser.size field when no EOL is found.\r\n\r\nResult:\r\n\r\nOne less bug"},"comment":{"url":"https://api.github.com/repos/netty/netty/issues/comments/77115310","html_url":"https://github.com/netty/netty/pull/3460#issuecomment-77115310","issue_url":"https://api.github.com/repos/netty/netty/issues/3460","id":77115310,"user":{"login":"trustin","id":173918,"avatar_url":"https://avatars.githubusercontent.com/u/173918?v=3","gravatar_id":"","url":"https://api.github.com/users/trustin","html_url":"https://github.com/trustin","followers_url":"https://api.github.com/users/trustin/followers","following_url":"https://api.github.com/users/trustin/following{/other_user}","gists_url":"https://api.github.com/users/trustin/gists{/gist_id}","starred_url":"https://api.github.com/users/trustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trustin/subscriptions","organizations_url":"https://api.github.com/users/trustin/orgs","repos_url":"https://api.github.com/users/trustin/repos","events_url":"https://api.github.com/users/trustin/events{/privacy}","received_events_url":"https://api.github.com/users/trustin/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T08:24:44Z","updated_at":"2015-03-04T08:24:44Z","body":"Cherry-picked as: 2c14406 (4.0), 6d5c388 (4.1), c42ab4b (master)"}}