Browse Source

shutdown client after close

master
nixo 2 years ago
parent
commit
9c911bf2f2
  1. 2
      src/OpenSSL.jl

2
src/OpenSSL.jl

@ -40,8 +40,8 @@ write(c::SSLClient, s::String) = write(c, Vector{UInt8}(s))
import Base.close
function close(client::SSLClient)
shutdown(client)
close(client.sock)
shutdown(client)
free(client)
end

Loading…
Cancel
Save