OVMS3-idf/examples/protocols/http_server
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
..
advanced_tests esp_http_server : Bugfix in parsing of empty header values 2019-09-09 08:21:13 +00:00
file_serving File Server Example : Check longer than allowed filenames when converting from URIs to filepaths 2019-05-06 10:46:35 +05:30
persistent_sockets Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
simple http_server examples : Updated tests and examples to demonstrate usage of httpd_register_err_handler() and accommodate for changes in default error handler behavior 2019-02-25 09:13:39 +00:00