Skip to content

Commit

Permalink
Merge branch 'main' into session_closure_flow
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou authored Jul 12, 2024
2 parents c5a9e5e + 9c21ea3 commit 4944c62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/host/rpc_connections.h
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ namespace asynchost
// Invalidating the TCP socket will result in the handle being closed. No
// more messages will be read from or written to the TCP socket.
sockets[id] = nullptr;
idle_times.erase(id);

RINGBUFFER_WRITE_MESSAGE(::tcp::tcp_close, to_enclave, id);

return true;
Expand Down

0 comments on commit 4944c62

Please sign in to comment.