fix(PollSet): PollSet::add()/update() semantics #3661

This commit is contained in:
Alex Fabijanic 2022-07-06 14:00:02 +02:00
parent 0a53c6f4a2
commit dd0aaa984d

View File

@ -329,7 +329,7 @@ public:
{
Poco::FastMutex::ScopedLock lock(_mutex);
poco_socket_t fd = socket.impl()->sockfd();
_addMap[fd] = mode;
_addMap[fd] |= mode;
_removeSet.erase(fd);
_socketMap[fd] = socket;
}