deckerego / ampule

A tiny HTTP server made for CircuitPython WiFi devices (like the ESP32)
MIT License
60 stars 10 forks source link

re-send responses #14

Closed andreasbrett closed 2 years ago

andreasbrett commented 2 years ago

fixes https://github.com/deckerego/ampule/issues/11 by checking amount of bytes sent via socket and re-sending missing bytes. these unreliable socket sends seem to happen on ESP32-S2.

Solution is derived from https://github.com/adafruit/circuitpython/issues/4420#issuecomment-814695753