[8475] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Sendmail, lynx, Netscape, sshd, Linux kernel (twice)

daemon@ATHENA.MIT.EDU (Wietse Venema)
Tue Nov 10 12:58:45 1998

Date: 	Mon, 9 Nov 1998 14:05:42 -0500
Reply-To: Wietse Venema <wietse@PORCUPINE.ORG>
From: Wietse Venema <wietse@PORCUPINE.ORG>
X-To:         Todor Tuparov <todor@cybernet.bg>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  <Pine.LNX.4.02.9811092029110.904-100000@server.iclub.cybernet.bg>
              from Todor Tuparov at "Nov 9, 98 08:29:26 pm"

With regard to LINUX accept() returning benign error results other
than the usual suspects (EAGAIN or EINTR), Todor Tuparov asked:

> Is there a solution?
> Very simple question.

I understand that with LINUX 2.1.x the accept() call will not wake
up before the TCP three-way handshake is complete.

But for now, it is up to the programmer to deal with benign error
returns such as: ECONNREFUSED, ECONNRESET, EHOSTDOWN, EHOSTUNREACH,
ENETDOWN, ENETUNREACH, ENOTCONN, and to treat them just like EAGAIN.

        Wietse

home help back first fref pref prev next nref lref last post