You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Tony Finch <do...@dotat.at> on 2001/01/02 17:52:13 UTC

Re: [PATCH] Sendfile on old FreeBSD's

Ryan Bloom <rb...@ntrnet.net> wrote:
>
>Okay, so this patch doesn't make much sense, but it solves a problem I am
>having on a FreeBSD 4.1 machine.  Basically, sendfile on my 4.2 FreeBSD
>machine returns EAGAIN, and the number of bytes sent, including bytes from
>the headers.  FreeBSD 4.1 however, returns 0 (success) and the number of
>bytes sent, minus the bytes sent from the headers.

That code hasn't changed at all so the difference in behaviour must be
caused by something else.

>Anyway, could somebody with more in-depth knowledge of FreeBSD look at
>this, and see if this patch makes sense?

Looks good.

Tony.
-- 
f.a.n.finch    fanf@covalent.net    dot@dotat.at
"You realize there's a government directive stating
that there is no such thing as a flying saucer?"