mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-18 01:01:57 -04:00
Restore TCP disconnect
This commit is contained in:
parent
08d4219d4e
commit
2ac2e27fd1
@ -468,7 +468,7 @@ std::expected<void> network::disconnect(socket_fd_t socket_fd){
|
|||||||
logging::logf(logging::log_level::TRACE, "network: %u disconnect from stream socket %u\n", scheduler::get_pid(), socket_fd);
|
logging::logf(logging::log_level::TRACE, "network: %u disconnect from stream socket %u\n", scheduler::get_pid(), socket_fd);
|
||||||
|
|
||||||
switch(datagram_protocol(socket.protocol)){
|
switch(datagram_protocol(socket.protocol)){
|
||||||
case network::socket_protocol::UDP:
|
case network::socket_protocol::TCP:
|
||||||
return network::tcp::disconnect(socket);
|
return network::tcp::disconnect(socket);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user