Skip to content

HttpConfiguration setResponseHeaderSize is ineffective in 12.0.17 #12882

@wilkinsona

Description

@wilkinsona

Jetty version(s)
12.0.17

Jetty Environment
EE 10

Java version/vendor (use: java -version)
Any

OS type/version
Any

Description
When trying to upgrade Spring Boot to Jetty 12.0.17, we discovered that the changes in bce7153 mean that setting the response header size on HttpConfiguration no longer results in a 500 response when an attempt is made to write response header that exceeds the configured size. A 200 response is received instead. Calling setMaxResponseHeaderSize instead restores 12.0.16's behavior but this requires the use of reflection in order to support earlier 12.0.x releases.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions