mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-09-02 15:02:51 +08:00
A firmware upload previously ended in a silent connection close, leaving the client unable to distinguish a verified upload from a failed one. Send an explicit 200/400 verdict with the CRC result, with Content-Length so the browser completes the response before the reset, and only reset the chip once the verdict has been fully ACKed. The unconditional close after a config upload is gone since the buffered config path answers with its own response, so drop the now-unreachable close hack from the streaming path.