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

gzip compression of command and staticCommand requests #1766

Merged
merged 4 commits into from
Feb 23, 2024

Conversation

exyi
Copy link
Member

@exyi exyi commented Jan 26, 2024

Adds option to enable/disable gzip compression of requests, using standard HTTP Content-Encoding: gzip header.

Since neither Chrome nor Firefox browsers support preview of the compressed JSON request, it is currently only enabled in Production environment.

To mitigate the possibility of DOS using a decompression bomb, request size limit is added, by default set to 128MB

@exyi exyi added this to the Version 4.3 milestone Jan 26, 2024
Adds option to enable/disable gzip compression of requests,
using standard HTTP Content-Encoding: gzip header.

Since neither Chrome nor Firefox browsers support preview of
the compressed JSON request, it is currently only enabled
in Production environment.

To mitigate the possibility of DOS using a decompression bomb,
request size limit is added, by default set to 128MB
@exyi exyi marked this pull request as ready for review February 18, 2024 15:34
@tomasherceg tomasherceg merged commit a07449c into main Feb 23, 2024
14 of 15 checks passed
@tomasherceg tomasherceg deleted the request-compression branch February 23, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants