lwip-devel
[Top][All Lists]
Advanced

[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 5.0.0.0; .NET CLR 1.1.4322)

URL:
  <http://savannah.nongnu.org/bugs/?20147>

                 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

    _______________________________________________________

Details:

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

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
socket?
-Srinivas.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20147>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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