Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Tratcher
Copy link
Member

@Tratcher Tratcher commented Oct 21, 2022

Fixes #12213

HTTP/2 and HTTP/3 have an individual header size limit that's not imposed on HTTP/1.x. When this limit is breached the whole connection is aborted, potentially disrupting other requests. We're raising this limit to match the total headers size limit by default, we don't specifically care about the size of individual headers.

@Tratcher Tratcher added this to the 8.0-preview1 milestone Oct 21, 2022
@Tratcher Tratcher self-assigned this Oct 21, 2022
@Tratcher Tratcher force-pushed the tratcher/fieldsizelimit branch from 02e1d02 to abe9bd4 Compare October 27, 2022 16:50
@Tratcher Tratcher marked this pull request as ready for review October 27, 2022 16:53
@Tratcher Tratcher enabled auto-merge (squash) October 27, 2022 16:58
@Tratcher Tratcher merged commit d5629a0 into dotnet:main Oct 27, 2022
@Tratcher Tratcher deleted the tratcher/fieldsizelimit branch October 27, 2022 18:28
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default Kestrel's Http2Limits.MaxRequestHeaderFieldSize to 32KB like MaxRequestHeadersTotalSize
3 participants