mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-22 17:02:25 +00:00
feat(esp_http_server): Dynamically allocate http server's scratch buffer
In this commit, esp_http_server's http_parser scratch is made dynamic. User is asked to give limit size for header and URI, according to which scratch buufer allocates memory upto limits
This commit is contained in:
@@ -377,7 +377,7 @@ exit:
|
||||
}
|
||||
|
||||
/** Start the server */
|
||||
esp_err_t httpd_ssl_start(httpd_handle_t *pHandle, struct httpd_ssl_config *config)
|
||||
esp_err_t httpd_ssl_start(httpd_handle_t *pHandle, struct httpd_ssl_config *config)
|
||||
{
|
||||
assert(config != NULL);
|
||||
assert(pHandle != NULL);
|
||||
|
Reference in New Issue
Block a user