mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
fix(PollSet): PollSet::add()/update() semantics #3661
This commit is contained in:
parent
0a53c6f4a2
commit
dd0aaa984d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user