mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Kernel: connect() should fail with EISCONN for already-connected sockets.
Also make sure to reset the socket role if Socket::connect() fails.
This commit is contained in:
parent
4aa0ab4e08
commit
e48cbf3c8c
Notes:
sideshowbarker
2024-07-19 14:59:57 +09:00
Author: https://github.com/awesomekling
Commit: e48cbf3c8c
2 changed files with 6 additions and 1 deletions
|
@ -88,6 +88,7 @@ public:
|
|||
|
||||
void set_original_inode(Badge<VFS>, Retained<Inode>&& inode) { m_inode = move(inode); }
|
||||
|
||||
SocketRole socket_role() const { return m_socket_role; }
|
||||
void set_socket_role(SocketRole);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue