OVMS3-idf/components
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
..
app_trace gcov_example: Adds cmake target to generate report 2019-07-05 12:44:35 +00:00
app_update app_update: Fix UTs for FACTORY_RESET and APP_TEST 2019-09-06 11:59:03 +08:00
asio components: use new component registration api 2019-06-21 19:53:29 +08:00
bootloader bootloader: Factory reset not for deep sleep 2019-09-06 11:59:03 +08:00
bootloader_support bugfix(flash): add flash config in app startup 2019-07-18 14:40:59 +08:00
bt ble_mesh: update ble mesh examples sdkconfig.defaults 2019-09-09 18:10:52 +08:00
coap lwip_2.1.2 for idf_4.0 2019-07-07 01:51:45 +00:00
console cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
cxx components: use new component registration api 2019-06-21 19:53:29 +08:00
driver spi_common: remove deprecated spi_common_periph_claim macros (backport v4.0) 2019-09-10 06:42:31 +08:00
efuse efuse: update the scheme of getting chip revision 2019-08-13 14:37:17 +08:00
esp-tls components: fix incorrect include dir args 2019-08-28 10:28:17 +08:00
esp32 ldgen: fix build issue on make when build dir is a symlink 2019-08-28 10:28:17 +08:00
esp_adc_cal components: use new component registration api 2019-06-21 19:53:29 +08:00
esp_common Fix error code collision and CI check 2019-09-03 08:07:16 +02:00
esp_eth ethernet: bugfix and optimize 2019-09-06 15:46:18 +08:00
esp_event esp_event: add missing header include 2019-07-26 13:58:26 +05:30
esp_gdbstub esp32_gdbstub: fix build error with esp32-2019r1 toolchain 2019-08-13 11:38:28 +05:30
esp_http_client Merge branch 'feature/esp_http_client_tx_buf_size' into 'master' 2019-07-08 15:15:14 +08:00
esp_http_server esp_http_server : Bugfix in parsing of empty header values 2019-09-10 05:58:49 +00:00
esp_https_ota esp_https_ota: Removed unnecessary free() 2019-06-25 23:41:33 +00:00
esp_https_server esp_https_server: Add support for esp-tls server APIs 2019-06-25 23:43:35 +00:00
esp_local_ctrl cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files 2019-07-05 18:20:15 +05:30
esp_ringbuf ringbuffer: support to allocate memory on the ringbuffer before send 2019-07-01 11:41:50 +08:00
esp_rom bugfix(flash): add flash config in app startup 2019-07-18 14:40:59 +08:00
esp_websocket_client ws_client: fix double delete issue in ws client initialization 2019-07-15 13:15:07 +02:00
esp_wifi Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v4.0' into 'release/v4.0' 2019-09-06 14:52:58 +08:00
espcoredump cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
esptool_py cmake: fix encrypted project flash arg file generation 2019-08-27 13:35:39 +08:00
expat components: use new component registration api 2019-06-21 19:53:29 +08:00
fatfs global: update note in the partition tables 2019-07-27 10:28:16 +02:00
freemodbus cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
freertos cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
heap cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
idf_test Merge branch 'test/use_correct_config_for_nvs_compatible_case_v4.0' into 'release/v4.0' 2019-09-02 12:40:46 +08:00
jsmn components: use new component registration api 2019-06-21 19:53:29 +08:00
json Update cJSON to v1.7.12 2019-08-21 18:40:50 +10:00
libsodium cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
log components: use new component registration api 2019-06-21 19:53:29 +08:00
lwip Fix error code collision and CI check 2019-09-03 08:07:16 +02:00
mbedtls Merge branch 'feature/enable_cfg_for_tls_asymmetric_content_length_v4.0' into 'release/v4.0' 2019-09-02 23:25:06 +08:00
mdns Merge branch 'bugfix/mdns_fix_discard_packet_on_invalid_name' into 'master' 2019-07-27 17:25:25 +08:00
mqtt mqtt: referenced esp-mqtt master to close disconnection issues and fix static analysis warnings 2019-07-18 10:34:10 +02:00
newlib newlib: Fix UT - test time adjustment happens linearly 2019-09-06 11:30:01 +08:00
nghttp cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
nvs_flash build system: Use CMake-based build system as default when describing commands 2019-07-08 17:31:27 +10:00
openssl components: use new component registration api 2019-06-21 19:53:29 +08:00
partition_table global: update note in the partition tables 2019-07-27 10:28:16 +02:00
protobuf-c components: use new component registration api 2019-06-21 19:53:29 +08:00
protocomm cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files 2019-07-05 18:20:15 +05:30
pthread pthread: remove ESP32_ prefix from Kconfig options 2019-07-29 04:43:49 +02:00
sdmmc sdmmc_io: support to print CIS information 2019-07-29 10:41:17 +08:00
soc Merge branch 'fix/esp_flash_set_get_wp_4.0' into 'release/v4.0' 2019-09-08 16:34:40 +08:00
spi_flash esp_flash: improve the comments a bit 2019-08-20 14:05:35 +08:00
spiffs global: update note in the partition tables 2019-07-27 10:28:16 +02:00
tcp_transport components: fix incorrect include dir args 2019-08-28 10:28:17 +08:00
tcpip_adapter Modify IPv6 functionality compatible with lwip2.1.2 2019-07-16 16:22:11 +08:00
ulp components: use new component registration api 2019-06-21 19:53:29 +08:00
unity cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
vfs docs: Correct and extend the documentation about VFS select() 2019-08-15 14:11:51 +02:00
wear_levelling global: update note in the partition tables 2019-07-27 10:28:16 +02:00
wifi_provisioning wifi_prov_mgr : Added missing esp_event_post() for WIFI_PROV_END events 2019-07-13 15:48:23 +05:30
wpa_supplicant wps: Relax the check on older config methods in case of WPS2.0 (backport 2019-08-29 13:05:02 +05:30
xtensa cmake: some formatting fixes 2019-06-21 19:53:29 +08:00