Skip to content

Tests: reject client_body_buffer_size 0.#51

Open
kh-lee wants to merge 1 commit into
nginx:masterfrom
kh-lee:reject-zero-client-body-buffer-size
Open

Tests: reject client_body_buffer_size 0.#51
kh-lee wants to merge 1 commit into
nginx:masterfrom
kh-lee:reject-zero-client-body-buffer-size

Conversation

@kh-lee
Copy link
Copy Markdown

@kh-lee kh-lee commented May 11, 2026

Proposed changes

Adds client_body_buffer_size.t, verifying that client_body_buffer_size 0 (including the size-suffix form 0k) is rejected at configuration parse time at the http, server, and location scope, and that valid values continue to parse without errors.

Paired with: nginx/nginx#1345

Checklist

Verifies that "client_body_buffer_size 0" (including the size-suffix
form "0k") is rejected at configuration parse time with an [emerg]
message at the "http", "server", and "location" scope.  Also verifies
that valid values (1, 8k, default) continue to parse without errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant