buglwIP - A Lightweight TCP/IP stack - Bugs: bug #28087, accept() timeout but errno not set...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28087: accept() timeout but errno not set to ETIMEOUT

Submitter:  hanhui <hanhui03>
Submitted:  Wed 25 Nov 2009 06:24:45 AM UTC
   
 
Category:  sockets/netconn Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  CVS Head

Sun 17 Jan 2010 04:22:32 PM UTC, comment #2: 

Fixed by changing netconn_accept() to return err_t.

Simon Goldschmidt <goldsimon>
Group administrator
Thu 26 Nov 2009 03:06:22 PM UTC, comment #1: 

To implement this satisfactingly, the netconn API has to be changed: netconn_accept() has to return an err_t instead of the connection pointer.

Together with bug #27709 (conn->err race condition on netconn_recv() timeout), this will have to wait until 1.4.0.

Simon Goldschmidt <goldsimon>
Group administrator
Wed 25 Nov 2009 06:24:45 AM UTC, original submission:  

In accept() function, when netconn_accept() return NULL, if sock->conn->err is ERR_OK, errno should be ETIMEOUT.

hanhui <hanhui03>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by hanhui03 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-23 goldsimon Open/ClosedOpen Closed
    2010-01-17 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
    2009-11-26 goldsimon Planned Release 1.4.0

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code