-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
messagepack bug in http (in) plugin #4346
Comments
Thanks for you report, I can reproduce it. fluentd/lib/fluent/plugin/in_http.rb Line 577 in 74db947
Because it's invalid msgpack sequence, broken data is remained in
It will break also following data. Someone should reset |
@ashie can i work on this bug? |
@Athishpranav2003 |
I confirmed the following PR fixed this issue. |
Oh... this issue still remains in v1.16.x because it does not include #4474. |
Oh i see, only backport is pending |
#4474 is a large fix and has some specification changes, so it is not preferable to backport it to v1.16. |
I'm not sure yet, but it might be a good idea to backport just this commit about Or, as @ashie says in #4346 (comment), it might still be needed to consider the possibility that some data remains in the unpacker of |
Describe the bug
The http (in) plugin will not accept a messagepack request that should succeed if it accepts a messagepack request that fails.
To Reproduce
Create
mkdir -p /containers/fluentd cd /containers/fluentd mkdir ./output ls -lnd ./output
compose.yaml
/containers/fluentd/compose.yaml
fluent.conf
/containers/fluentd/fluent.conf
compose up
Check
1. Successful Requests
2. Failure Requests
3. Same request as "1."
Expected behavior
Your Environment
Your Configuration
Your Error Log
Additional context
No response
The text was updated successfully, but these errors were encountered: