-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
GZipHandler not excluding inflation for specified paths #4414
Comments
This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@lachlan-roberts isn't this feature present already? |
This issue has been automatically marked as stale because it has been a |
Current |
…flation. Signed-off-by: Lachlan Roberts <[email protected]>
…Exclusion Issue #4414 - add option to exclude paths from GzipHandler request inflation
…flation. Signed-off-by: Lachlan Roberts <[email protected]>
Jetty version
9.4.24.v20191120
Java version
openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.3+7)
OS type/version
macOS Catalina
version 10.15.1
Description
GZipHandler::addExcludedPaths
does not exclude inflation for specified paths whenGZipHandler::setInflateBufferSize
has been set.A new method,
addExcludedInflationPaths
would be very useful or to make sure the paths fromaddExcludedPaths
also apply when checking if the request should be inflated.Usecase
We want to inflate requests on certain paths, but on other paths we want to handle the inflation ourselves.
Thanks!
The text was updated successfully, but these errors were encountered: