Hyksos
Guru
- Joined
- May 28, 2011
- Messages
- 474
- Reaction score
- 70
Hey! Un Québécois Tabarn**!
I can replicate/emulate your problem by basically breaking all css and images file on the apache.
I found a bunch of stuff on the internet including this:
Hello,
As far as I can tell it there is the bug occuring when combination of
sendfile(2) and module atl1c is used. The result of the bug is data
corruption. Examples of data corruption are in attached files:
- orig.txt - the original file, output of command
seq 1 600 | xargs printf '%04d\n'
- apache.dat - result of wget http://the.server/orig.txt -O apache.dat
- sendfile.dat - file sent from the same server using attached program
and netcat
The mentioned server has a multiple interfaces and this problem appears
only on Atheros interface. After spotting the problem on Apache first
I finally nailed it to sendfile function. The problem appears only for files
longer than some specific value. For Apache it was 2600 bytes (I suppose it's
because of headers added by webserver). For my test program the minimal size
of file where the problem appears is 2896 bytes.
I also found a similar problem on Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/slide-webdavclient/+bug/651004
The common factor is Atheros AR8131.
I can replicate/emulate your problem by basically breaking all css and images file on the apache.
I found a bunch of stuff on the internet including this:
Hello,
As far as I can tell it there is the bug occuring when combination of
sendfile(2) and module atl1c is used. The result of the bug is data
corruption. Examples of data corruption are in attached files:
- orig.txt - the original file, output of command
seq 1 600 | xargs printf '%04d\n'
- apache.dat - result of wget http://the.server/orig.txt -O apache.dat
- sendfile.dat - file sent from the same server using attached program
and netcat
The mentioned server has a multiple interfaces and this problem appears
only on Atheros interface. After spotting the problem on Apache first
I finally nailed it to sendfile function. The problem appears only for files
longer than some specific value. For Apache it was 2600 bytes (I suppose it's
because of headers added by webserver). For my test program the minimal size
of file where the problem appears is 2896 bytes.
I also found a similar problem on Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/slide-webdavclient/+bug/651004
The common factor is Atheros AR8131.