Forum: NGINX question about large_client_header_buffers.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E16e2ef67ea7f58d8162950760bbf14a?d=identicon&s=25 Peter Wang (Guest)
on 2008-10-21 21:19
(Received via mailing list)
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.
5640e332954fc0006aea97a155ce0afd?d=identicon&s=25 Igor Sysoev (Guest)
on 2008-10-21 21:31
(Received via mailing list)
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.
This topic is locked and can not be replied to.