-
-
Notifications
You must be signed in to change notification settings - Fork 5
About http header
Bung edited this page Nov 28, 2020
·
1 revision
RFC does not define but servers in practice have.
- Apache: 8K
- nginx: 4K - 8K
- IIS: (varies by version): 8K - 16K
- Tomcat (varies by version): 8K - 48K
SPNEGO authentication headers can be up to 12392 bytes. refer (http://httpd.apache.org/docs/2.4/mod/core.html#limitrequestfieldsize)
refer http-request-header-size-limits
Apache has.
LimitRequestFields default to 100
if we have 1Kb buffer size , minus meta line end headers end, 1024 - 4 = 1020, each header at least 3 bytes + line end, 1020 / 5, will able have 204 fields in theory.