Custom 431 Request Header Fields Too Large
#1183
Answered
by
uNetworkingAB
matiaslopezd
asked this question in
Q&A
-
How to customize the error when the Cookie header (for example) is too large, or simply discard it? |
Beta Was this translation helpful? Give feedback.
Answered by
uNetworkingAB
Jul 30, 2025
Replies: 1 comment 1 reply
-
You can't customize it but you can raise the limit by setting UWS_HTTP_MAX_HEADERS_SIZE environment variable in bytes |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
matiaslopezd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't customize it but you can raise the limit by setting UWS_HTTP_MAX_HEADERS_SIZE environment variable in bytes