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 authored and GitHub committed 2026-08-24 23:35:19 +00:00
commit fe2bcc7f2d
4 files changed
+128 -6

No files matched your search

+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;