-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[Question] Increase HTTPD_MAX_REQ_HDR_LEN? #5454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Hello @rtrbt , we will take a look on this. |
Thanks, but this is already done: espressif/esp32-arduino-lib-builder@5a8939e9 |
Hi.... how do I use this on windows please... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Would it be possible to increase (CONFIG_)HTTPD_MAX_REQ_HDR_LEN? Currently it is set to 512, however in some use cases web browsers send longer headers. An example: I'm using the Espressif HTTP server with digest authentication. The authorization header itself is 267 bytes long, all headers together around 550 bytes.
Bumping the max header length to e.g. 768 or 1024 would only increase the RAM usage if the Espressif HTTP server is used and only by the configured amount: HTTPD_MAX_REQ_HDR_LEN is only used for the HTTPD_SCRATCH_BUF that is allocated only once as far as I have seen it in the code.
Some other users had the same problem in the past: #2983
I'm currently compiling the libs myself with the lib-builder but this seems to be broken at the moment (#5435).
The text was updated successfully, but these errors were encountered: