mirror of
https://github.com/pocoproject/poco.git
synced 2026-02-07 23:20:36 +08:00
fix(Net): Dispatch ErrorNotification to socket-specific handler only
This commit is contained in:
@@ -334,7 +334,7 @@ inline bool SocketReactor::has(const Socket& socket) const
|
||||
|
||||
inline void SocketReactor::onError(const Socket& socket, int code, const std::string& description)
|
||||
{
|
||||
dispatch(new ErrorNotification(this, socket, code, description));
|
||||
dispatch(socket, new ErrorNotification(this, socket, code, description));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user