mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 14:58:46 +00:00
TCP: Start working on auto-closing connections when we get FIN.
This commit is contained in:
parent
4629272135
commit
25e521f510
Notes:
sideshowbarker
2024-07-19 15:03:22 +09:00
Author: https://github.com/awesomekling
Commit: 25e521f510
6 changed files with 35 additions and 6 deletions
|
@ -186,3 +186,8 @@ void TCPSocket::protocol_allocate_source_port()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool TCPSocket::protocol_is_disconnected() const
|
||||
{
|
||||
return m_state == State::Disconnecting || m_state == State::Disconnected;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue