-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Description
I am not sure if the Spring Boot team would be willing to do this but some time ago in the nodejs ecosystem and some other ecosystems they typically default the max http request header size to 16KB:
nodejs/node#32520
Case for this:
Spring Boot is used extensively in the backend while up the stack it's not uncommon in various architectures to see midtier apps/front ends use different technologies like nodejs that by default accept larger header sizes by default. Obviously this could always be a moving target but 8KB does seem a little aggressive and I think it's that way to minimize DDoS attacks.
Anyways I am not sure what your thoughts are but figured it would be good to ask if we could consider increasing the default max header size from 8KB to 16KB
For some more context and past discussions you can see here
nodejs/node#27645
...and yes I am aware another approach is to just always set this property but just seeing if we think 16KB would be a reasonable default