Unverified Commit 4c5f7f87 authored by Roman Zeyde's avatar Roman Zeyde
Browse files

Explicitly set RPC connections as blocking

parent e996edbb
......@@ -515,6 +515,7 @@ impl RPC {
info!("RPC server running on {}", addr);
loop {
let (stream, addr) = listener.accept().expect("accept failed");
stream.set_nonblocking(false).expect("failed to set connection as blocking");
acceptor.send(Some((stream, addr))).expect("send failed");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment