Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using delimiter, buffer is not flushed #100

Closed
yaauie opened this issue Oct 25, 2022 · 0 comments
Closed

When using delimiter, buffer is not flushed #100

yaauie opened this issue Oct 25, 2022 · 0 comments
Labels

Comments

@yaauie
Copy link
Contributor

yaauie commented Oct 25, 2022

When instantiated with delimiter, this plugin buffers data across multiple calls to CEF#decode and handles each delimiter-terminated sequence of bytes, but fails to flush the buffer when this codec is flushed.

This can leave unconsumed bytes in the buffer that are not read before this plugin is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants