OVMS3-idf/examples/protocols
Chinmay 38b1c93764 esp_http_server : Bugfix in parsing of empty header values
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
2019-09-09 08:21:13 +00:00
..
asio Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
aws_iot Merge branch 'bugfix/aws_iot_examples_cmake_build' into 'master' 2019-01-30 14:27:51 +08:00
coap_client Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
coap_server Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
esp_http_client Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
http2_request Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
http_request Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
http_server esp_http_server : Bugfix in parsing of empty header values 2019-09-09 08:21:13 +00:00
https_mbedtls Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
https_request Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
https_server Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
mdns mdns example: fix print result for IPv6 addresses 2019-02-15 15:54:18 +01:00
modbus_slave Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
mqtt Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
openssl_client Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
openssl_server Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
pppos_client Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
sntp Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
sockets fix the bug in tcp_client 2019-02-26 09:28:17 +00:00
README.md Replace all DOS line endings with Unix 2018-07-12 19:10:37 +08:00

Protocols Examples

Implementation of internet communication protocols and services.

See the README.md file in the upper level examples directory for more information about examples.