mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
acceptor: don't shutdown the accept process on broken pipe (EPIPE)
This commit is contained in:
@@ -194,6 +194,13 @@ impl Acceptor {
|
||||
);
|
||||
continue
|
||||
}
|
||||
libc::EPIPE => {
|
||||
warn!(
|
||||
target: "net::acceptor::run_accept_loop()",
|
||||
"[P2P] Broken pipe in accept_loop"
|
||||
);
|
||||
continue
|
||||
}
|
||||
x => {
|
||||
error!(
|
||||
target: "net::acceptor::run_accept_loop()",
|
||||
|
||||
Reference in New Issue
Block a user