I am seeing this again in a different form. I am definitely running mod_php.

Today, creating a new file with something like 'cat file1 file2 > 
file3.txt' results in an empty file - 0 bytes are given to the PHP resource 
for the uploaded file. This remains the case no matter how long I wait.

However, if I repeat the command, at first file3.txt is empty, after some 
time (5 or 10 minutes), file3.txt does have the desired content.

This is now fedora 21 with the latest updates.



On Wednesday, October 29, 2014 at 9:46:06 AM UTC-4, Gulliver wrote:
>
> I have a custom webdav server written in PHP (based on the most recent 
> SabreDav) and running under Apache with mod_php. It works fine with all 
> sorts of WebDAV clients, e.g. windows explorer. 
>
> It also worked well with davfs mounts until recently.
>
> The new behaviour is that for files larger than a some small number of 
> bytes, Linux gives me an error and a 0 byte file appears on the server. I 
> have confirmed on the server side that PHP is receiving an empty data 
> stream.
>
> For example, with copy, the error is
>
> cp: error writing ‘./xxx’: Input/output error
> cp: failed to extend ‘./xxx’: Input/output error
>
> The linux is Fedora 20, kept up to date.
>
> As I said, this worked fine up until a yum update a few (unknown) number 
> of weeks ago.
>
> I have read somewhere in SabreDAV discussions that DAV with PHP servers 
> using fastcgi fail because they cannot handle chunked uploads. Is this now 
> true of mod_php?
>
> Versions:
>
> davfs2.x86_64 1.4.7-3.fc20 
> httpd.x86_64 2.4.10-1.fc20
> php.x86_64 5.5.18-1.fc20
>
> Thanks
> Gulliver
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SabreDAV Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sabredav-discuss/06bc260b-2a77-4bfa-9bb5-6e084f5d81f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to