arduino-esp32/libraries/WebServer/examples
Victor Aprea 25c0b52212 Alternative Improve _uploadReadByte (#2656)
* add opportunity for more than one retry to _uploadReadByte

* an alternative timeout-based method to making _uploadReadByte more resilient

* move timing variables in the correct scope

* implement and use client.getTimeout instead of hard-coded timeout in _uploadReadByte

* add missing return

* some refactoring to address respecting the timeout in a potentially deadlocked connection

* fix spelling in comment

* address review comments; move impl to cpp file for getTimeout, and remove local variable for currentMillis

* remove redundant cast

* need to check for timeout outside the inner while as well

* update WebUpdate example to print something in unexpected callback condition

* update log_e messages per review comments
2019-04-12 12:45:35 +02:00
..
AdvancedWebServer Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
FSBrowser default FORMAT_FILESYSTEM to false in FSBrowser.ino (#2425) 2019-02-14 13:06:21 +01:00
HelloServer Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
HttpAdvancedAuth Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
HttpBasicAuth Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
PathArgServer Adding path arguments to WebServer (#1994) 2018-11-19 17:00:52 +01:00
SDWebServer Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
SimpleAuthentification Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
WebUpdate Alternative Improve _uploadReadByte (#2656) 2019-04-12 12:45:35 +02:00