Changes between Initial Version and Version 1 of Ticket #1130


Ignore:
Timestamp:
Sep 22, 2010 1:09:09 PM (9 years ago)
Author:
ming
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1130 – Description

    initial v1  
     1From accept() manual: 
     2There may not always be a connection waiting after a SIGIO is delivered or select(2) or poll(2) return a readability event because the connection might have been removed by an asynchronous network error or another thread before accept() is called. 
     3 
     4In iOS4, the problem is reproducible by putting the app to BG and locking the device, hence causing iOS4 to close all connections. When application is brought back to the FG, select() always returns a readability event while accept() always fails with EAGAIN error. 
     5 
     6There was a report that the problem happened in other platforms as well (such as Sun Solaris).