зеркало из https://github.com/microsoft/CCF.git
Follow session closure flow, even for refused sessions (#6358)
Co-authored-by: Amaury Chamayou <amchamay@microsoft.com>
This commit is contained in:
Родитель
9c21ea3885
Коммит
dd8af041b9
|
@ -548,6 +548,12 @@ namespace ccf
|
|||
}
|
||||
sessions.erase(search);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Enclave doesn't know this ID, but host is still talking about it.
|
||||
// Continue with the normal closure flow
|
||||
RINGBUFFER_WRITE_MESSAGE(::tcp::tcp_closed, to_host, id);
|
||||
}
|
||||
}
|
||||
|
||||
std::shared_ptr<ClientSession> create_client(
|
||||
|
|
Загрузка…
Ссылка в новой задаче