[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #20147] getsockopt() with SO_ERROR option

From: Srinivas Gollakota
Subject: [lwip-devel] [bug #20147] getsockopt() with SO_ERROR option
Date: Mon, 11 Jun 2007 14:10:44 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; YComp; .NET CLR 1.1.4322)


                 Summary: getsockopt() with SO_ERROR option 
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: gollakota
            Submitted on: Monday 06/11/2007 at 10:10
                Category: TCP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



socket error(sock->err) is not being set if connection is closed at the TCP

For example if keep-alive timer is enabled and timer expires we close the
connection in tcp_slowtmr()/tcp_abort(). Socket layer is not aware of the
closed connection. If application queries with getsockopt()/SO_ERROR option
are'nt we suppose to return error(EINVAL?) if conn->err is set for the


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]