diff options
-rw-r--r-- | src/SocketReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SocketReader.cpp b/src/SocketReader.cpp index c8dbfe48..409a1d86 100644 --- a/src/SocketReader.cpp +++ b/src/SocketReader.cpp @@ -157,7 +157,7 @@ SocketReader::run() struct pollfd pfd{}; pfd.fd = _socket->fd(); - pfd.events = POLLIN; + pfd.events = POLLIN|POLLPRI; pfd.revents = 0; while (!_exit_flag && !_socket_error) { |