feat(esp_http_client): detect oversized headers in tx buffer while sending request

This commit is contained in:
Ashish Sharma
2026-07-07 18:22:08 +08:00
parent 76f1151d72
commit 1041b69131
10 changed files with 243 additions and 4 deletions
@@ -686,6 +686,12 @@ static const esp_err_msg_t esp_err_msg_table[] = {
# ifdef ESP_ERR_HTTP_REDIRECT_DOWNGRADE
ERR_TBL_IT(ESP_ERR_HTTP_REDIRECT_DOWNGRADE), /* 28685 0x700d HTTPS origin redirected to a non-HTTPS
scheme (downgrade blocked) */
# endif
# ifdef ESP_ERR_HTTP_HEADER_TOO_LONG
ERR_TBL_IT(ESP_ERR_HTTP_HEADER_TOO_LONG), /* 28686 0x700e A single request header is larger than
buffer_size_tx and cannot be sent (only
when CONFIG_ESP_HTTP_CLIENT_STRICT_HEADE
R_BUFFER is enabled) */
# endif
// components/esp-tls/esp_tls_errors.h
# ifdef ESP_ERR_ESP_TLS_BASE