OVMS3-idf/examples/protocols/http_server
Chinmay Chhajed a6cc964a26 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-06 11:02:36 +08:00
..
advanced_tests esp_http_server : Bugfix in parsing of empty header values 2019-09-06 11:02:36 +08:00
file_serving esp_wifi: wifi support new event mechanism 2019-08-20 09:39:51 +00:00
persistent_sockets esp_wifi: wifi support new event mechanism 2019-08-20 09:39:51 +00:00
restful_server esp_wifi: wifi support new event mechanism 2019-08-20 09:39:51 +00:00
simple tools: Mass fixing of empty prototypes (for -Wstrict-prototypes) 2019-08-01 16:28:56 +07:00