uds: Fix accept blocking

This commit is contained in:
Wildan M
2026-01-15 12:28:35 +07:00
parent 05b83ae9c8
commit 58cdb72051
+1 -1
View File
@@ -878,7 +878,7 @@ impl<'sock> UdsStreamScheme<'sock> {
if flags & O_NONBLOCK == O_NONBLOCK {
return Err(Error::new(EAGAIN));
} else {
return Ok(Some(OpenResult::WouldBlock));
return Err(Error::new(EWOULDBLOCK));
}
};
return match self.accept_connection(socket, client_id, ctx) {