Skip to content

HttpClient.[maxRequest|request]HeadersSize should be consistent #13682

@sbordet

Description

@sbordet

Jetty version(s)
12.0.x/12.1.x

Description
HttpClient.maxRequestHeadersSize is set by default to 8 KiB.

But if HttpClient.requestHeadersSize is larger, e.g. 16 KiB, it is an inconsistent configuration.

The two values should be consistent: it should be either illegal to configure them inconsistently, or setting the smaller should have effect on the max.

The same should be verified on the server in HttpConfiguration.

Metadata

Metadata

Assignees

Labels

BugFor general bugs on Jetty sideSponsoredThis issue affects a user with a commercial support agreement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions