esp-idf/components/esp_http_client
Harshit Malpani 2814b5a330
Revert "fix(esp_http_client): Call event_handler after header value is received"
This reverts commit 04ac8e43db.

When `http_on_header_event` is called, event_handler is invoked and
then the current header key and header value are freed. In the previous
approach, `http_on_header_event` was called from `http_on_header_value`,
but it lead to an issue where if the value is received in multiple chunks,
then the current header key and value were freed and thus header was not
processed correctly which might result in connection issues. Calling
`http_on_heaher_event` from `http_on_header_field` ensures that the current
header field and value are processed properly

Fixes https://github.com/espressif/esp-idf/issues/13497
Fixes https://github.com/espressif/esp-idf/issues/13097
2024-04-01 13:41:47 +05:30
..
include feat(http_client): Add support for using custom tcp_transport 2023-11-29 20:48:40 +01:00
lib fix(esp_http_client): Fix http digest auth without qop 2024-01-23 12:22:35 +05:30
test_apps ci(test_apps): limit dependencies for misc test_apps 2024-02-18 16:01:58 +08:00
CMakeLists.txt lwip/linux: Add lwip support for networking component under linux 2023-05-05 05:03:39 +00:00
esp_http_client.c Revert "fix(esp_http_client): Call event_handler after header value is received" 2024-04-01 13:41:47 +05:30
Kconfig feat(http_client): Add support for using custom tcp_transport 2023-11-29 20:48:40 +01:00