From f2237369c63da8cabd803144feecb6ae630895ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Balzarotti?= Date: Sat, 14 Nov 2020 13:44:44 +0100 Subject: [PATCH] remove debugging info --- src/OpenSSL.jl | 1 - src/flow_control.jl | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/OpenSSL.jl b/src/OpenSSL.jl index ccf2bbd..1d7c14d 100644 --- a/src/OpenSSL.jl +++ b/src/OpenSSL.jl @@ -41,7 +41,6 @@ write(c::SSLClient, s::String) = write(c, Vector{UInt8}(s)) import Base.close function close(client::SSLClient) closed = do_ssl_shutdown(client) - @show closed close(client.sock) free(client) end diff --git a/src/flow_control.jl b/src/flow_control.jl index ab3f283..909b5a2 100644 --- a/src/flow_control.jl +++ b/src/flow_control.jl @@ -134,8 +134,7 @@ function do_ssl_shutdown(client) status = ssl_status(client, n) # Special case, do the shutdown again if n == 0 - n = shutdown(client) - @show status = ssl_status(client, n) + status = ssl_status(client, shutdown(client)) end if status in (SSL_WANT_READ, SSL_WANT_WRITE) while true