{"action":"created","issue":{"url":"https://api.github.com/repos/netty/netty/issues/4087","labels_url":"https://api.github.com/repos/netty/netty/issues/4087/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/4087/comments","events_url":"https://api.github.com/repos/netty/netty/issues/4087/events","html_url":"https://github.com/netty/netty/issues/4087","id":100842542,"number":4087,"title":"Removing ByteToMessageCodec from pipeline does not post remaining bytes to channel","user":{"login":"yawkat","id":2395297,"avatar_url":"https://avatars.githubusercontent.com/u/2395297?v=3","gravatar_id":"","url":"https://api.github.com/users/yawkat","html_url":"https://github.com/yawkat","followers_url":"https://api.github.com/users/yawkat/followers","following_url":"https://api.github.com/users/yawkat/following{/other_user}","gists_url":"https://api.github.com/users/yawkat/gists{/gist_id}","starred_url":"https://api.github.com/users/yawkat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yawkat/subscriptions","organizations_url":"https://api.github.com/users/yawkat/orgs","repos_url":"https://api.github.com/users/yawkat/repos","events_url":"https://api.github.com/users/yawkat/events{/privacy}","received_events_url":"https://api.github.com/users/yawkat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/netty/netty/labels/defect","name":"defect","color":"e11d21"}],"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/124","html_url":"https://github.com/netty/netty/milestones/4.0.31.Final","labels_url":"https://api.github.com/repos/netty/netty/milestones/124/labels","id":1223728,"number":124,"title":"4.0.31.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":69,"closed_issues":16,"state":"open","created_at":"2015-07-24T09:06:22Z","updated_at":"2015-08-13T18:59:01Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-08-13T18:53:39Z","updated_at":"2015-08-13T19:16:33Z","closed_at":null,"body":"Netty Version: 5.0.0.Alpha2\r\n\r\nContext:\r\nI have a line-based protocol that upgrades to a binary protocol. After removing the line decoder (extending ByteToMessageCodec) during the upgrade, I lost buffered data from the line decoder.\r\n\r\nRemoving a ByteToMessageDecoder from a channel pipeline will fire the buffered bytes in that decoder into the channel to make them available to other channel handlers. Removing a ByteToMessageCodec, however, does not do the same and instead silently discards the data.The javadoc of ByteToMessageCodec states that it should behave like a combination of ByteToMessageDecoder and MessageToByteEncoder, which it does not in this case."},"comment":{"url":"https://api.github.com/repos/netty/netty/issues/comments/130808993","html_url":"https://github.com/netty/netty/issues/4087#issuecomment-130808993","issue_url":"https://api.github.com/repos/netty/netty/issues/4087","id":130808993,"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-08-13T19:16:33Z","updated_at":"2015-08-13T19:16:33Z","body":"@yawkat yep something like that... working on it :)"}}