fix: add sndbuf/rcvbuf to Socket accept initializer
The accept() method was missing sndbuf and rcvbuf fields that were added to the Socket struct. Inherit values from the listening socket.
This commit is contained in:
@@ -265,6 +265,8 @@ impl Socket {
|
||||
connection: Some(Connection::new(awaiting_client_id)),
|
||||
issued_token: None,
|
||||
ucred: client_ucred,
|
||||
sndbuf: self.sndbuf,
|
||||
rcvbuf: self.rcvbuf,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user