mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
Kernel: Don't put LocalSocket in SetupState::Completed in bind()
This was causing connect() to unblock immediately for local sockets, since that's exactly what ConnectBlocker checks for. Instead, just move to SetupState::Completed when it's accept()ed.
This commit is contained in:
parent
a1c8c754eb
commit
3aa27b5b0e
1 changed files with 0 additions and 1 deletions
|
@ -88,7 +88,6 @@ KResult LocalSocket::bind(const sockaddr* address, socklen_t address_size)
|
|||
|
||||
m_address = local_address;
|
||||
m_bound = true;
|
||||
set_setup_state(SetupState::Completed);
|
||||
return KSuccess;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue