fix: set nonblocking to true for the client Fd
This commit is contained in:
parent
32f229986b
commit
3746d20225
1 changed files with 2 additions and 2 deletions
|
|
@ -40,8 +40,8 @@ pub fn create_privileged_socket(
|
|||
.into_std()
|
||||
.wrap_err("failed to convert client socket to std socket")?;
|
||||
std_stream
|
||||
.set_nonblocking(false)
|
||||
.wrap_err("failed to mark client socket as blocking")?;
|
||||
.set_nonblocking(true)
|
||||
.wrap_err("failed to mark client socket as non-blocking")?;
|
||||
OwnedFd::from(std_stream)
|
||||
};
|
||||
let mut env_vars = env_vars.to_vec();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue