Delay reset, to allow TCP reset to be transmitted.

This commit is contained in:
chriz
2026-02-14 11:17:42 +01:00
parent 0e2a5fb7bc
commit 5d731393f1
+1
View File
@@ -603,6 +603,7 @@ void httpd_appcall(void)
send_mtu(); // dummy response
} else if (is_word(q, "/reset")) {
uip_close();
delay(1000); //wait for the close packet to be sent, otherwise the browser will retry
reset_chip();
} else {
send_not_found();