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:
Red Bear OS
2026-07-12 02:25:20 +03:00
parent f2092fa973
commit 0422712e29
+2
View File
@@ -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,
})
}