buglwIP - A Lightweight TCP/IP stack - Bugs: bug #28716, select() returns 0 after waiting...

 
 

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

bug #28716: select() returns 0 after waiting for less than 1 ms

Submitted by:  Stephane Lesage <slesage>
Submitted on:  Sat 23 Jan 2010 01:37:23 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Sat 23 Jan 2010 03:01:51 PM UTC, comment #1:

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Sat 23 Jan 2010 01:37:23 AM UTC, original submission:

I had problems with select() with timeout after accept() returning 0 immediately when the client send data immediately.

There's a bug in lwip_select() in select.c line 1003.

The return value of sys_sem_wait_timeout() should be tested against SYS_ARCH_TIMEOUT and not 0...

Stephane Lesage <slesage>

 

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 slesage (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 23 Jan 2010 03:01:51 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1