Skip to content

Commit fb11345

Browse files
committed
Merge branch 'master' of github.com:OpenEVSE/ESP32_WiFi_V3.x into openevse_master
2 parents 8b4c979 + ed00306 commit fb11345

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/http_update.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ bool http_update_start(String source, size_t total)
8888

8989
bool http_update_write(uint8_t *data, size_t len)
9090
{
91+
// Issue #187 "HTTP update fails on ESP32 ethernet gateway" was caused by the
92+
// loop watchdog timing out, presumably because updating wasn't bottlenecked
93+
// by network and execution stayed in the Mongoose poll() method.
94+
feedLoopWDT();
95+
9196
DBUGF("Update Writing %u, %u", update_position, len);
9297
size_t written = Update.write(data, len);
9398
DBUGVAR(written);

0 commit comments

Comments
 (0)