William A. Rowe, Jr. wrote:
We don't test sendfile by default. Within APR (trunk), simply...
$ cd test
$ make
$ ./sendfile server &
$ ./sendfile client blocking
and you'll see how either the kernel library or the implementation (or
maybe even the test) is broken.
Or (and I should have seen the possibility earlier) an interop flaw based
on CPU or filesystem. So for the record, the failure I quoted before about
119880 bytes into the stream was on a journaled, hfs filesystem running on
the G4, retail not server.
Correction, faults at 119980 bytes into the stream, and I just reproduced the
flaw on journaled, ufs.