A recent update to add an alignment to file writes has meant file uploads may not complete successfully.
Identified when trying to do an OTA firmware update which never completed, tracing revealed that in handle_uploads() the us->received never reached the us->expected when the file finished transmission, and the close_uploaded_file() callback was never executed.
Changing the alignment variable to 1 instead of 32 has stopped this fault from manifesting for me, but obviously that removes the point of the alignment for targets that require it.
A recent update to add an alignment to file writes has meant file uploads may not complete successfully. Identified when trying to do an OTA firmware update which never completed, tracing revealed that in handle_uploads() the
us->received
never reached theus->expected
when the file finished transmission, and theclose_uploaded_file()
callback was never executed. Changing thealignment
variable to 1 instead of 32 has stopped this fault from manifesting for me, but obviously that removes the point of the alignment for targets that require it.