Question about large_client_header_buffers


#1

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.


#2

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.