From 6a3a10a9cc695bed65287acf977115f32b8e055d Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Wed, 9 Aug 2023 10:23:54 -0700 Subject: [PATCH] get rid of NOT BLOCKED check --- source/s2n/s2n_tls_channel_handler.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/s2n/s2n_tls_channel_handler.c b/source/s2n/s2n_tls_channel_handler.c index 9b2134390..dda7e5c66 100644 --- a/source/s2n/s2n_tls_channel_handler.c +++ b/source/s2n/s2n_tls_channel_handler.c @@ -588,11 +588,6 @@ static int s_s2n_handler_process_read_message( } else { aws_mem_release(outgoing_read_message->allocator, outgoing_read_message); } - - if (blocked == S2N_NOT_BLOCKED) { - /* read is complete */ - break; - } } AWS_LOGF_TRACE(