mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 05:36:22 +00:00
Fix case when after INCOMING_MAX overflow no listen events requested to be provided by poll().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3088 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -302,8 +302,6 @@ static void accept_connection(int listen)
|
||||
pollfd->revents = 0;
|
||||
|
||||
incoming_cnt++;
|
||||
if (incoming_cnt >= INCOMING_MAX)
|
||||
poll_array[POLL_LISTEN].events = 0;
|
||||
|
||||
out:
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user