shutdown client after close
parent
aad803ee04
commit
9c911bf2f2
|
@ -40,8 +40,8 @@ write(c::SSLClient, s::String) = write(c, Vector{UInt8}(s))
|
||||||
|
|
||||||
import Base.close
|
import Base.close
|
||||||
function close(client::SSLClient)
|
function close(client::SSLClient)
|
||||||
shutdown(client)
|
|
||||||
close(client.sock)
|
close(client.sock)
|
||||||
|
shutdown(client)
|
||||||
free(client)
|
free(client)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue