mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Tweaks to icky icky select() engine (thanks Ersan) this MIGHT fix select problems, but nobody really uses it anyway.
We've been having more than usual problems due to select() due to epoll not being detected properly and it falling back on select() which isnt as well tested. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8113 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
71a2531a9e
commit
c7c9f1119e
@ -36,11 +36,10 @@ bool SelectEngine::AddFd(EventHandler* eh)
|
||||
if (GetRemainingFds() <= 1)
|
||||
return false;
|
||||
|
||||
fds[fd] = fd;
|
||||
|
||||
if (ref[fd])
|
||||
return false;
|
||||
|
||||
fds[fd] = fd;
|
||||
ref[fd] = eh;
|
||||
CurrentSetSize++;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user