-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error when uploading with Transfer-Encoding: chunked
#6
Comments
Transfer-encoding: chunked
Transfer-Encoding: chunked
Thanks for the report. This might be a web server issue as documented here : https://sabre.io/dav/0bytes/
What webserver and version are you using?
|
It's Apache/2.4.52 on ubuntu with PHP-FPM |
Mod_php or fpm?
|
FPM |
Ah sorry yeah didn't see that you mentioned it first. I just tested with FPM and it is definitely a bug in Apache mod_fcgid, as reported here:
This has been fixed in 2018, in mod_fcgid 2.3.10:
Unfortunately Debian and Ubuntu are stuck with mod_fcgid: https://tracker.debian.org/pkg/libapache2-mod-fcgid You can try in CLI like that:
You should either compile your own mod_fcgid or switch over to mod_php. I'll add an error message for FPM when chunked transfer encoding is used. |
Thank your for your report, a new error message is generated if this issue is detected, so that zero-length files won't be created. I contacted the Debian package maintainer and offered a bounty to upload the new mod_fcgid version, so hopefully Debian will get this fixed in next release or even in backports. |
Wow, thank you so much! The error report alone is great! |
I captured the above with tcpdump. it resulted in
ebook.pub
being a 0 byte file on the server. Any idea? Thank you.The text was updated successfully, but these errors were encountered: