Merge pull request #356 from bloqaudio/fix/config-post-race

httpd: buffer a configuration upload before touching the flash
This commit is contained in:
René van Dorst
2026-08-24 23:35:19 +00:00
committed by GitHub
4 changed files with 128 additions and 6 deletions
+1 -1
View File
@@ -822,7 +822,7 @@ found_end:
if (valid_len > (TCP_OUTBUF_SIZE - slen)) {
cont_len = valid_len - (TCP_OUTBUF_SIZE - slen);
valid_len = TCP_OUTBUF_SIZE - slen;
cont_addr = valid_len;
cont_addr = CONFIG_START + valid_len;
}
flash_region.addr = CONFIG_START;