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

Submitted by:  hanhui <hanhui03>
Submitted on:  Wed 25 Nov 2009 06:24:45 AM UTC  
 
Category: sockets/netconnSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 23 Jan 2010 03:06:22 PM UTCgoldsimonOpen/ClosedOpen=>Closed
    Sun 17 Jan 2010 04:22:32 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
    Thu 26 Nov 2009 03:06:22 PM UTCgoldsimonPlanned Release=>1.4.0

    Back to the top


    Powered by Savane 3.1-cleanup1