lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #28651] netconn/socket: connect may block forever


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #28651] netconn/socket: connect may block forever
Date: Sun, 17 Jan 2010 18:13:52 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7

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

                 Summary: netconn/socket: connect may block forever
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: So 17 Jan 2010 18:13:51 GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 1.4.0
            lwIP version: CVS Head

    _______________________________________________________

Details:

In do_connect(), when tcp_connect() fails, do_connected() will never be
called and thus op_completed is never signalled.

Proposed solution: check return value of tcp_connect() and directly signal
op_completed if != ERR_OK.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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