7.22 version handles FAT FS badly #3612
|
Hello. Recently I moved to 7.22 from 7.21 and noticed that uploading of files crashed - only less than 1kB or smth are passed, other get reply like: mg_http_reply(c, 400, "", "open(%s)", path); from mg_http_upload(). The only difference I found is old function of file open was like |
Replies: 3 comments 5 replies
|
I can't have a clue if you don't tell me exactly what you are doing with what, what fails, where, and why. |
|
@cpq My capacity for understanding has been exceeded. Looks like the open call to FATFS is failing for sizes > 1K or 3K with the latest flags. Perhaps there is some fragmentation somewhere and some flags cause the call to fail ? I can't guess anything else. |
|
Please test code in https://github.com/cesanta/mongoose/tree/fatfs |
Please test code in https://github.com/cesanta/mongoose/tree/fatfs
PR #3665