OVMS3-idf/components
Anurag Kar befc74e0f0 esp_http_server : Only accept new connections if server has capacity to handle more
This fix prevents HTTP server from accepting new connections when the total count of connected
sockets has reached the max_open_sockets limit set during configuration. The pending connections
are kept in backlog until atleast one of the connected sockets is closed. The maximum number of
connection requests that can kept in backlog is specified as backlog_conn configuration option.
Note that this modification has no effect when LRU purge is enabled.

Also added sanity check on setting for max_open_sockets during configuration.

Solution suggested by jimparis https://github.com/espressif/esp-idf/issues/3183#issue-421234265

Closes https://github.com/espressif/esp-idf/issues/3183
2019-04-08 11:34:20 +05:30
..
app_trace cmake: Add support for test build 2018-10-20 12:07:24 +08:00
app_update bugfix/ota_magic_byte_issue: Fix indent and replace constant by macro 2018-12-20 12:29:25 +05:30
asio cmake: make main a component again 2018-09-11 09:44:12 +08:00
aws_iot cmake: make main a component again 2018-09-11 09:44:12 +08:00
bootloader cmake: remove unecessary info passed to bootloader build 2018-11-23 16:12:14 +08:00
bootloader_support soc: define named constants for DPORT_CPUPERIOD_SEL values 2019-02-28 20:38:31 +08:00
bt Component/bt: fix no adv report when scanning with sleep enable 2019-03-18 17:40:19 +08:00
coap cmake: silence some warnings in coap, bt, expat, libsodium, lwip and examples/bluetooth 2018-09-20 18:53:15 +08:00
console console/linenoise: support buffered stdout 2019-03-15 11:29:56 +08:00
cxx cmake: Add support for test build 2018-10-20 12:07:24 +08:00
driver spi: fix the bug of connecting SPI peripheral to read-only pins 2019-04-01 18:39:02 +08:00
esp-tls Merge branch 'bugfix/esp-tls-doc' into 'master' 2018-11-05 12:30:22 +08:00
esp32 component/bt: add vendor hci cmd 2019-03-12 11:55:42 +08:00
esp_adc_cal cmake: make main a component again 2018-09-11 09:44:12 +08:00
esp_event esp_event: detect leaks in unit test 2019-02-01 10:08:50 +08:00
esp_http_client esp_http_client: Fix for setting incorrect post header length 2019-02-12 11:32:23 +05:30
esp_http_server esp_http_server : Only accept new connections if server has capacity to handle more 2019-04-08 11:34:20 +05:30
esp_https_ota cmake: make main a component again 2018-09-11 09:44:12 +08:00
esp_ringbuf cmake: Add support for test build 2018-10-20 12:07:24 +08:00
espcoredump cmake: Add support for test build 2018-10-20 12:07:24 +08:00
esptool_py Update esptool.py to v2.6 2019-01-23 17:02:02 +08:00
ethernet ethernet: support new PHY (IP101) 2019-01-31 15:02:45 +08:00
expat cmake: Add support for test build 2018-10-20 12:07:24 +08:00
fatfs fatfs: Do not log from critical sections 2018-11-26 09:21:44 +01:00
freemodbus examples: freemodbus port serial slave move uart mode settings into example 2018-12-21 09:54:26 +01:00
freertos freertos: Make xPortGetCoreID() volatile 2019-03-01 02:05:33 +00:00
heap heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC 2019-03-20 18:30:17 +11:00
idf_test Merge branch 'feature/add_ipv6_related_change_v3.2' into 'release/v3.2' 2019-01-31 14:31:44 +08: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 cmake: Add support for test build 2018-10-20 12:07:24 +08:00
log cmake: make main a component again 2018-09-11 09:44:12 +08:00
lwip fix the bug in auto Ip memory leak 2019-03-06 20:01:36 +08:00
mbedtls hwcrypto sha: Allow SHA contexts to be shared between tasks 2019-01-23 18:18:13 +08:00
mdns Merge branch 'bugfix/mdns_add_remove_multiple_srv_3.2' into 'release/v3.2' 2019-03-14 07:56:40 +08:00
micro-ecc cmake: make main a component again 2018-09-11 09:44:12 +08:00
mqtt mqtt: support for BEFORE_CONNECT event in idf 2019-03-21 14:35:49 +01:00
newlib newlib: Fix UT adjtime 2018-11-26 15:55:17 +11:00
nghttp cmake: make main a component again 2018-09-11 09:44:12 +08:00
nvs_flash nvs_util: Add support for creation of unique encryption keys 2019-03-27 18:24:18 +05:30
openssl cmake: make main a component again 2018-09-11 09:44:12 +08:00
partition_table cmake: Add support for test build 2018-10-20 12:07:24 +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: Make changes in handling BLE read/write requests 2019-03-14 12:50:03 +05:30
pthread Merge branch 'feature/cmake-unit-test' into 'master' 2018-10-22 16:29:15 +08: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 heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC 2019-03-20 18:30:17 +11:00
spi_flash cmake: Add support for test build 2018-10-20 12:07:24 +08:00
spiffs spiffs: increase timeout in readdir test 2018-11-21 03:42:15 +00:00
tcp_transport tcp_transport: modification of ws to read headers first in order to read the exact payload 2019-03-21 14:35:59 +01:00
tcpip_adapter mdns: fixed crashes on network changes 2018-10-24 12:03:41 +02:00
ulp cmake: Fix for Python files executed directly, not via PYTHON variable 2019-03-25 11:41:00 +08:00
vfs vfs: fix unregister removing top level VFS instead of nested 2019-01-23 16:28:48 +08:00
wear_levelling Version update from V1 to V2 now done in correct way. 2018-10-26 09:21:30 +03:00
wifi_provisioning wifi_provisioning : context pointer added to wifi_config_t structure and related examples/docs updated 2019-02-18 08:18:44 +00:00
wpa_supplicant cmake: Add support for test build 2018-10-20 12:07:24 +08:00
xtensa-debug-module cmake: make main a component again 2018-09-11 09:44:12 +08:00