Skip to content

Commit

Permalink
fix(PollSet): PollSet::add()/update() semantics #3661
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-f committed Jul 6, 2022
1 parent 0a53c6f commit dd0aaa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Net/src/PollSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class PollSetImpl
{
Poco::FastMutex::ScopedLock lock(_mutex);
poco_socket_t fd = socket.impl()->sockfd();
_addMap[fd] = mode;
_addMap[fd] |= mode;
_removeSet.erase(fd);
_socketMap[fd] = socket;
}
Expand Down

0 comments on commit dd0aaa9

Please sign in to comment.