Chapter 2. API Reference
CONFIG_HTTPD_MAX_URI_LEN
Max HTTP URI Length
Found in:
Component config
This sets the maximum supported size of HTTP request URI to be processed by the server
Default value:
• 512
CONFIG_HTTPD_ERR_RESP_NO_DELAY
Use TCP_NODELAY socket option when sending HTTP error responses
Found in:
Component config
Using TCP_NODEALY socket option ensures that HTTP error response reaches the client before the
underlying socket is closed. Please note that turning this off may cause multiple test failures
Default value:
• Yes (enabled)
CONFIG_HTTPD_PURGE_BUF_LEN
Length of temporary buffer for purging data
Found in:
Component config
This sets the size of the temporary buffer used to receive and discard any remaining data that is received
from the HTTP client in the request, but not processed as part of the server HTTP request handler.
If the remaining data is larger than the available buffer size, the buffer will be filled in multiple iterations.
The buffer should be small enough to fit on the stack, but large enough to avoid excessive iterations.
Default value:
• 32
CONFIG_HTTPD_LOG_PURGE_DATA
Log purged content data at Debug level
Found in:
Component config
Enabling this will log discarded binary HTTP request data at Debug level. For large content data this
may not be desirable as it will clutter the log.
Default value:
• No (disabled)
CONFIG_HTTPD_WS_SUPPORT
WebSocket server support
Found in:
Component config
This sets the WebSocket server support.
Default value:
• No (disabled)
ESP HTTPS OTA
Contains:
•
CONFIG_OTA_ALLOW_HTTP
Espressif Systems
>
HTTP Server
>
HTTP Server
>
HTTP Server
>
HTTP Server
>
HTTP Server
1111
Submit Document Feedback
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?