Open evilaliv3 opened 4 years ago
https://github.com/flowjs/flow.js/blob/master/src/flow.js#L571 🥇 It should return 1 if request was made. It's a bug
What do you think should be the right fix without refactoring the whole code?
I might be wrong, but it might not be a bug in place I pointed above. Chunk requests actually are always bigger than 0 bytes even though file uploaded is 0 bytes. This is because request contains headers. You should test out each progress function in flow.js to find which part might cause this issue. There are 3 progress functions: chunk, file and total. Try adding some breakpoints and fixing one should fix the others as well.
Hi, is there any solution for this "bug" ? im stuck with the same error
@evilaliv3 did you find any solution?
I just tried to load an empty file and i nocided that the progress() function continues to report 0 after completion of the upload.
@AidasK: I've still to look at the code but maybe you have already an idea about this possible errore