-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add the ability to disable verification by creating the BufferedTokenizer with 0
bytes.
#16824
Comments
TL;DR: I am not seeing a value of disabling Bug history
Current situation
From current situation, I am not seeing benefits of adding a feature to disable the |
My concern is specifically around here: logstash/logstash-core/src/main/java/org/logstash/common/BufferedTokenizerExt.java Lines 57 to 59 in 274c212
and the fact that we allow a value of Which, I believe will mean that the plugin can be instantiated correctly, but will blow up as soon as data is passed through. I would like to see some guard against doing this, either by explicitly stating that we allow |
Enforcement of a maximum size to decode in the BufferedTokenizer was added, by the introduction of a
sizeLimit
parameter.This parameter will be enforced, regardless of the size of the value, even if it is 0 or negative.
We should add the ability to skip the enforcement if the sizeLimit is set to 0.
The text was updated successfully, but these errors were encountered: