Allow to turn synchronous recvmsg/sendmsg on with a config option

This commit is contained in:
Vitaliy Filippov
2020-06-23 01:15:07 +03:00
parent 9abaf5b735
commit 62343c8022
6 changed files with 51 additions and 21 deletions
+4 -1
View File
@@ -169,7 +169,10 @@ void osd_messenger_t::handle_peer_epoll(int peer_fd, int epoll_events)
if (cl.read_ready == 1)
{
read_ready_clients.push_back(cl.peer_fd);
ringloop->wakeup();
if (ringloop)
ringloop->wakeup();
else
read_requests();
}
}
}