fix close order

This commit is contained in:
Conrad Ludgate
2025-05-20 18:28:11 +01:00
parent c05f105035
commit 19cbffc796

View File

@@ -73,7 +73,7 @@ where
// initiate shutdown.
match close_dir {
Direction::ComputeToClient => {
Direction::ClientToCompute => {
info!("Client is done, terminate compute");
// we will never write anymore data to the client.
@@ -82,7 +82,7 @@ where
// make sure to shutdown the client conn.
compute_to_client.need_flush = true;
}
Direction::ClientToCompute => {
Direction::ComputeToClient => {
info!("Compute is done, terminate client");
// we will never write anymore data to the compute.