Skip to content

Bump client_body_buffer_size to 16k #12

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

Merged
merged 1 commit into from
Jan 13, 2024
Merged

Bump client_body_buffer_size to 16k #12

merged 1 commit into from
Jan 13, 2024

Conversation

bennettgoble
Copy link
Member

@bennettgoble bennettgoble commented Jan 13, 2024

Drop the overzealous 1k buffer size limit on body buffer size. 16k default is safe: we have memory these days.

Drop the overzealous 1k buffer size limit on body and header buffers. 16k default is safe: we have memory these days.
@bennettgoble bennettgoble changed the title Bump client_body_buffer_size/client_header_buffer size to 16k default Bump client_body_buffer_size to 16k Jan 13, 2024
@@ -33,10 +33,6 @@ http {
# Disable etag
etag off;

# Lower buffer size to possibly prevent DoS attacks and buffer overflow vulnerabilities.
client_body_buffer_size 1k;
client_header_buffer_size 1k;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1k is the default for client_header_buffer_size already.

@bennettgoble bennettgoble merged commit dd71a17 into main Jan 13, 2024
@bennettgoble bennettgoble deleted the signal/16k branch January 13, 2024 14:20
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.

1 participant