-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
empty file issue #226
Comments
That is strange. |
I was able to reproduce it. Looking into this. |
In case of in-memory upload this PR #15 affects empty file uploads. Since we already have the following check in processMultipart:
Do we still need that check in fileFactory:
I've commented
And it looks checks in processMultipart do the job, so if I reproduced those issue correct, probably we can consider removing check in fileFactory. |
@RomanBurunkov Maybe. I'm not actually sure, we might have to summon Richard to see if he knows. This was so long ago I barely remember it. |
Hi @richardgirges , do you remember anything about issue #14 and PR #15. |
Fixed with PR #233 |
I tried it, this doesn't seem fixed I'm going to fix it and push a following PR, can you open the issue @RomanBurunkov edit: sorry I misread the issue, nothing wrong with the fix though it creates an empty file while it shouldn't I created a PR for that #241 |
uploading "empty" zero-length file end with error in both modes memory and temp file
simple reproduction - truncate test file basketball.png and run test
The text was updated successfully, but these errors were encountered: