OVMS3-idf/components
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
..
app_trace Merge branch 'doc/cleanup_apptrace2host_example' into 'master' 2019-02-15 17:06:57 +08:00
app_update app_update: Add [timeout=90] 2019-07-17 18:52:39 +08:00
asio cmake: make main a component again 2018-09-11 09:44:12 +08:00
aws_iot Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
bootloader flash encryption: Add config option to disable any plaintext reflashes 2019-07-30 08:35:30 +00:00
bootloader_support Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.3' into 'release/v3.3' 2019-09-05 08:00:39 +08:00
bt Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.3' into 'release/v3.3' 2019-09-08 23:11:18 +08:00
coap cmake: separate app from idf lib project 2018-11-27 13:59:24 +08:00
console console/linenoise: support buffered stdout 2019-03-15 11:31:22 +08:00
cxx cmake: separate app from idf lib project 2018-11-27 13:59:24 +08:00
driver Merge branch 'fix/sdio_slave_reset_infloop_leak_3.3' into 'release/v3.3' 2019-09-08 23:13:41 +08:00
efuse efuse: update the scheme of getting chip revision 2019-08-13 15:49:01 +08:00
esp-tls Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store 2019-01-14 08:25:56 +00:00
esp32 Merge branch 'bugfix/fix_wifi_stack_can_freeze_v3.3' into 'release/v3.3' 2019-09-08 23:11:57 +08:00
esp_adc_cal Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
esp_event esp_event: add missing header include 2019-07-26 16:36:13 +05:30
esp_http_client esp_http_client: fix CI issues & return value 2019-08-28 16:46:04 +05:30
esp_http_server esp_http_server : Bugfix in parsing of empty header values 2019-09-09 08:21:13 +00:00
esp_https_ota esp_http_client: add support for using certs from global ca store 2019-02-27 14:19:06 +05:30
esp_https_server https_server : Missing uri_match_fn paramater added to default config 2019-02-25 09:13:39 +00:00
esp_ringbuf Initialized some uninitialized variables in rtc_clk.c and ringbuf.c. 2019-01-23 16:47:23 +05:30
espcoredump esp32: coredump header (fix linker.lf) 2019-03-08 09:49:37 +00:00
esptool_py efuse: update the scheme of getting chip revision 2019-08-13 15:49:01 +08:00
ethernet add promiscuous mode control in emac driver 2019-05-10 12:56:24 +08:00
expat cmake: Add support for test build 2018-10-20 12:07:24 +08:00
fatfs Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
freemodbus freemodbus: change critical sections to semaphore mutex 2019-03-07 09:59:40 +01:00
freertos Merge branch 'bugfix/xTaskIncrementTick_v3.3' into 'release/v3.3' 2019-08-13 13:42:26 +08:00
heap heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC 2019-03-20 18:30:25 +11:00
idf_test test: fix nvs compatible case error: 2019-08-27 02:49:44 +00:00
jsmn cmake: make main a component again 2018-09-11 09:44:12 +08:00
json Update cJSON to v1.7.12 2019-08-21 18:55:32 +10:00
libsodium test: Set timeout of libsodium ed25519_convert test to 60s 2019-07-30 07:19:54 +00:00
log Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
lwip lwip:fix dns bug for 3.3 2019-06-13 19:36:55 +08:00
mbedtls Merge branch 'feature/upgrade_mbedtls_to_v2.16.1_v3.3' into 'release/v3.3' 2019-07-02 08:42:50 +08:00
mdns mdns: fix possible crash when probing on particular interface with duplicated service instances due to naming conflicts on network 2019-03-13 16:10:27 +01:00
micro-ecc cmake: make main a component again 2018-09-11 09:44:12 +08:00
mqtt Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
newlib newlib: Move _gettimeofday_r call in clock_gettime 2019-08-07 20:37:11 +08:00
nghttp cmake: make main a component again 2018-09-11 09:44:12 +08:00
nvs_flash Merge branch 'fix/update_curr_page_state_3.3' into 'release/v3.3' 2019-07-08 15:19:56 +08:00
openssl Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
partition_table bootloader: Add support of anti-rollback 2019-02-14 18:51:43 +08:00
protobuf-c protobuf-c : Added Google's protocol buffer C library as sub-module 2018-10-02 19:07:28 +05:30
protocomm protocomm_ble : Bugfix for unbound memcpy on prepare write buffer 2019-07-05 13:20:40 +00:00
pthread pthread: Transform the units of the stack size to the FreeRTOS domain 2019-02-27 12:21:23 +01:00
sdmmc cmake: Add support for test build 2018-10-20 12:07:24 +08:00
smartconfig_ack cmake: make main a component again 2018-09-11 09:44:12 +08:00
soc efuse: update the scheme of getting chip revision 2019-08-13 15:49:01 +08:00
spi_flash spi_flash: add test case for stale read issue on memory mapped partition 2019-07-11 04:23:51 +00:00
spiffs Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
tcp_transport tcp_transport: Fix case sensitive header comparison 2019-07-21 07:24:11 +00:00
tcpip_adapter modify the behavior for dhcpserver and tcpip_adapter: 2019-03-11 12:11:05 +08:00
ulp cmake: Fix for Python files executed directly, not via PYTHON variable 2019-03-12 13:31:44 +08:00
unity Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
vfs VFS: Allocate socket select semaphore outside ISR 2019-05-06 16:11:59 +02:00
wear_levelling Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
wifi_provisioning Wi-Fi Provisioning : Bugfix in copying SSID and Passphrase 2019-07-05 13:20:40 +00:00
wpa_supplicant wpa_supplicant: Fix sprintf security bugs. 2019-07-08 10:39:20 +05:30
xtensa-debug-module tools: implement linker script generation 2018-11-16 12:42:02 +08:00