From 19cbffc79607acf145d67b0312f721bd3752af69 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Tue, 20 May 2025 18:28:11 +0100 Subject: [PATCH] fix close order --- proxy/src/proxy/copy_bidirectional.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/src/proxy/copy_bidirectional.rs b/proxy/src/proxy/copy_bidirectional.rs index ad99e8f78c..252f9ab204 100644 --- a/proxy/src/proxy/copy_bidirectional.rs +++ b/proxy/src/proxy/copy_bidirectional.rs @@ -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.