httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Finch <>
Subject Re: [PATCH] Sendfile on old FreeBSD's
Date Tue, 02 Jan 2001 16:52:13 GMT
Ryan Bloom <> 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.

"You realize there's a government directive stating
that there is no such thing as a flying saucer?"

View raw message