dev  

Re: sendfile in darwin

Jim Jagielski
Wed, 14 May 2008 10:33:42 -0700


On May 14, 2008, at 1:12 PM, William A. Rowe, Jr. wrote:

Jim Jagielski wrote:
I wonder if you are seeing timing issues rather than "real" errors...

Confirmed this is not so, and that you can reproduce it. Although your machine is too fast to observe the error (parallel CPU's), ./ sendfile's
authors already anticipated that.  From another box;

./sendfile server

and from your OS X box, please

./sendfile client timeout [box1's IP]

Already confirmed that the error shows up much more quickly, on the server
as well as the client side.


I'll have to try that... in the meantime, does re-adding
the 'rv=0' line fix it?