1. 15 Feb, 2021 2 commits
    • Mitch Bradley's avatar
      Speed up upload by a factor of 17 (#4787) · 7e8993fc
      Mitch Bradley authored
      * Speed up upload by a factor of 17
      
      Uploads are very slow because of an unnecessary "client.connected()" check in _uploadReadByte().
      
      Here is what happens:
      client.connected() is called for every byte read.  WiFiClient::connected() calls recv(fd(), &dummy, 0, MSG_DONTWAIT); which takes a relatively long time, so the optimized path of returning a buffered byte via client.read() is effectively nullified.
      
      Removing the one line changed the upload speed for a 2 MB file (discarding the received data) from 22 KB/sec (before) to 367 KB/sec (after).
      
      The change is safe in the face of disconnects because client.read(), when it no longer has buffered data, calls (WiFiClient)  fillBuffer(), which calls recv(), so the disconnection will be detected in due course.
      
      * Move disconnect check into the timeout loop
      7e8993fc
    • Me No Dev's avatar
      Idf release/v3.3 d8082b7f3 · 15bae92a
      Me No Dev authored
      * Update IDF to d8082b7f3
      15bae92a
  2. 04 Feb, 2021 1 commit
  3. 03 Feb, 2021 2 commits
  4. 27 Jan, 2021 1 commit
  5. 21 Jan, 2021 4 commits
  6. 15 Jan, 2021 1 commit
  7. 14 Jan, 2021 1 commit
  8. 12 Jan, 2021 3 commits
  9. 11 Jan, 2021 8 commits
  10. 20 Dec, 2020 1 commit
  11. 07 Dec, 2020 2 commits
  12. 02 Dec, 2020 3 commits
  13. 01 Dec, 2020 4 commits
  14. 23 Nov, 2020 3 commits
  15. 18 Nov, 2020 1 commit
  16. 16 Nov, 2020 3 commits