mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
38b1c93764
This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present. The issue is was due to asymmetric behavior of `http_parser` library, which in case of: non-empty header values : invokes callbacks with the pointer to the start of a value empty header values : invokes callbacks with pointer to the start of next header or section Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly. Closes IDFGH-1539 Closes https://github.com/espressif/esp-idf/issues/3803 |
||
---|---|---|
.. | ||
asio | ||
aws_iot | ||
coap_client | ||
coap_server | ||
esp_http_client | ||
http2_request | ||
http_request | ||
http_server | ||
https_mbedtls | ||
https_request | ||
https_server | ||
mdns | ||
modbus_slave | ||
mqtt | ||
openssl_client | ||
openssl_server | ||
pppos_client | ||
sntp | ||
sockets | ||
README.md |