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

From: Wietse Venema (wietseat_private)
Date: Mon Nov 09 1998 - 11:05:42 PST

  • Next message: Paolo Molaro: "Buffer overflow in Xprt"

    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
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:22:31 PDT