OVMS3-idf/examples/protocols/http_server
Chinmay Chhajed 8876cda09b 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-10 05:58:49 +00:00
..
advanced_tests esp_http_server : Bugfix in parsing of empty header values 2019-09-10 05:58:49 +00:00
file_serving examples: change default build instructions in docs to CMake 2019-08-06 17:25:25 +05:30
persistent_sockets build system: Use CMake-based build system as default when describing commands 2019-07-08 17:31:27 +10:00
restful_server Merge branch 'bugfix/partition_tables_update_note' into 'master' 2019-07-29 19:00:44 +08:00
simple build system: Use CMake-based build system as default when describing commands 2019-07-08 17:31:27 +10:00