Question about large_client_header_buffers

syntax: large_client_header_buffers number size
default: large_client_header_buffers 4 4k/8k

I’m confused by the explanation about it.

What’s the meaning of `number’, does it mean that the whole header of
request is not allowed exceeds number * size? thanks.

On Wed, Oct 22, 2008 at 01:24:28AM +0800, Peter Wang wrote:

syntax: large_client_header_buffers number size
default: large_client_header_buffers 4 4k/8k

I’m confused by the explanation about it.

What’s the meaning of `number’, does it mean that the whole header of
request is not allowed exceeds number * size? thanks.

Yes, the whole header can not exceeds number * size.

nginx allocates up to specified number of large blocks per connection.
Small header can fit in smaller client_header_buffer_size.