OVMS3-idf/components
Anurag Kar 28412d8cb6 http_server : Added feature for invoking user configurable handlers during server errors
Added APIs :
  * httpd_resp_send_err()        : for sending HTTP error responses for error codes given by httpd_err_code_t. It uses TCP_NODELAY option to ensure that HTTP error responses reach the client before socket is closed.
  * httpd_register_err_handler() : for registering HTTP error handler functions of type httpd_err_handler_func_t.

The default behavior, on encountering errors during processing of HTTP requests, is now to send HTTP error response (if possible) and close the underlying socket. User configurable handlers can be used to override this behavior for each error individually (except for 500 Internal Server Error).

Also fixed some typos.

Closes https://github.com/espressif/esp-idf/issues/3005
2019-02-25 09:13:39 +00:00
..
app_trace Merge branch 'doc/cleanup_apptrace2host_example' into 'master' 2019-02-15 17:06:57 +08:00
app_update bootloader: Add support of anti-rollback 2019-02-14 18:51:43 +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 bootloader: Add support of anti-rollback 2019-02-14 18:51:43 +08:00
bootloader_support bootloader: Add support of anti-rollback 2019-02-14 18:51:43 +08:00
bt component/bt: fix connection params update issues 2019-02-18 19:52:16 +08:00
coap cmake: separate app from idf lib project 2018-11-27 13:59:24 +08:00
console console, ulp: don’t use nested functions 2018-12-06 16:12:47 +08:00
cxx cmake: separate app from idf lib project 2018-11-27 13:59:24 +08:00
driver CAN: Add functions to clear queues and fix multiple bugs 2019-02-18 21:31:33 +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 'feature/coredump_improvements_refactoring' into 'master' 2019-02-21 11:04:19 +08:00
esp_adc_cal Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
esp_event Merge branch 'feature/predictable_event_dispatch_via_duplication' into 'master' 2019-02-05 08:47:03 +08:00
esp_http_client Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
esp_http_server http_server : Added feature for invoking user configurable handlers during server errors 2019-02-25 09:13:39 +00:00
esp_https_ota esp_https_ota: add support for configurable ota buffer size 2019-01-30 18:11:09 +05:30
esp_https_server https_server : add extern C directive and other minor changes for C++ support 2018-12-31 15:12:42 +05:30
esp_ringbuf Initialized some uninitialized variables in rtc_clk.c and ringbuf.c. 2019-01-23 16:47:23 +05:30
espcoredump coredump:fix test artifacts 2019-02-12 10:22:33 +00:00
esptool_py Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
ethernet ethernet: support new PHY (IP101) 2019-01-29 14:08:35 +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 Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
freertos freertos: Fix unused variable warning 2019-02-16 01:42:00 +08:00
heap Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
idf_test modify test case to support ipv6 2019-01-26 13:02:04 +00:00
jsmn cmake: make main a component again 2018-09-11 09:44:12 +08:00
json cmake: make main a component again 2018-09-11 09:44:12 +08:00
libsodium Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
log Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
lwip lwip: add linker fragment 2019-02-14 12:42:06 +08:00
mbedtls Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
mdns mdns: fix memory leak in pbuf if tcpipadapter failed to get netif 2019-02-15 15:59:11 +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: When using psram, link setlocale() to flash not IRAM 2019-02-22 03:28:41 +00:00
nghttp cmake: make main a component again 2018-09-11 09:44:12 +08:00
nvs_flash nvs_flash: Detect key partition as uninitialised even if encrypted by bootloader 2019-02-01 13:28:13 +05:30
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 : typos fixed and descriptions corrected 2019-02-15 10:45:34 +00:00
pthread Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +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 Revert "Merge branch 'bugfix/external_rtc_start_fail' into 'master'" 2019-02-19 12:39:47 +08:00
spi_flash bootloader: Add support of anti-rollback 2019-02-14 18:51:43 +08:00
spiffs Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
tcp_transport Handle esp_tls_conn_read disconnection in ssl_read. Fixes #2805 2019-01-23 16:47:23 +05:30
tcpip_adapter Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
ulp components: Correct the Python coding style 2018-12-17 07:52:38 +01:00
unity Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
vfs Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
wear_levelling Correct Kconfigs according to the coding style 2019-01-29 13:37:01 +01:00
wifi_provisioning wifi_provisioning : context pointer added to wifi_config_t structure and related examples/docs updated 2019-02-15 10:45:34 +00:00
wpa_supplicant cmake: Add support for test build 2018-10-20 12:07:24 +08:00
xtensa-debug-module tools: implement linker script generation 2018-11-16 12:42:02 +08:00