From 6452a8824e5b04da49803b4216dd7ee45694c609 Mon Sep 17 00:00:00 2001 From: Sheldon Hearn Date: Fri, 7 Oct 2022 10:36:59 +0200 Subject: [PATCH] Use eof, not wait_for_decrypted_data Fixes JuliaComputing/AMQPClient.jl#60 --- src/buffered_socket.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffered_socket.jl b/src/buffered_socket.jl index 5f4f2a7..bf17247 100644 --- a/src/buffered_socket.jl +++ b/src/buffered_socket.jl @@ -48,7 +48,7 @@ function fill_in(bio::BufferedTLSSocket, atleast::Int) if bytes_read > 0 avail += Base.write(bio.in, first(bio.readbuff, bytes_read)) else - MbedTLS.wait_for_decrypted_data(bio.sock) + eof(bio.sock) end end end