You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ben Laurie <be...@algroup.co.uk> on 1997/11/01 22:05:21 UTC
Re: [STATUS] Sat Nov 1 09:54:04 EST 1997
Paul Sutton wrote:
> > * Ben's [PATCH] add error checking to file reads
> > <34...@algroup.co.uk>
> > Status: Ben +1, Jim +1, Dean +1, Martin +1
>
> +1 if still needed with Ben's reported fix.
I'm now somewhat confused (I guess doing 4 hour technical meetings on a
Saturday with an upset stomach is partially to blame :-).
The story so far: the code was subtracting WSABASEERR from
WSAGetLastError(). This was bollocks. The "error 35" turns out to be
WSAEWOULDBLOCK (10035), once that is fixed. This comes from
sendwithtimeout(), which I revised slightly to correctly report an error
from select(). I sent this to my guinea-pig, who reports that he got an
error 10035 once (client connection lost, i.e. in send_fd()), and from
then on it has worked.
I'm bemused. However, I'll commit the changes I made coz they are needed
anyway.
Cheers,
Ben.
--
Ben Laurie |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant |Fax: +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd, |http://www.algroup.co.uk/Apache-SSL
London, England. |"Apache: TDG" http://www.ora.com/catalog/apache