Re: [Development] Proposed API addition to QTcpServer

2012-06-13 Thread Thiago Macieira
On quarta-feira, 13 de junho de 2012 14.06.49, lars.kn...@nokia.com wrote: > >5.0 vs 5.1: > >The issue seems like it should be rare under normal circumstances. > >(Qt is not a toolkit for high load servers, and the default quota is ~1k > >file descriptors) > >However the consequences are severe. >

Re: [Development] Proposed API addition to QTcpServer

2012-06-13 Thread lars.knoll
On 6/13/12 4:00 PM, "ext shane.kea...@accenture.com" wrote: >Background: >If accept() returns an error, QTcpServer may live lock. (QTBUG-24778) >The problem as described is that accept() returns EMFILE when quota is >reached. >On returning to the event loop, select() triggers again because the >i

[Development] Proposed API addition to QTcpServer

2012-06-13 Thread shane.kearns
Background: If accept() returns an error, QTcpServer may live lock. (QTBUG-24778) The problem as described is that accept() returns EMFILE when quota is reached. On returning to the event loop, select() triggers again because the incoming connection is still pending This prevents other sockets bei