[erlang-questions] What are the consequences of not closing the SSL connection ?

Morgan Segalis <>
Fri Jun 15 22:40:30 CEST 2012


A simple question really,

I have a gen_server that is handling my SSL connection…
Since now I just found out, that I did not closed the ssl connection handled by the gen_server when this one terminates…

Of course I have added the close, now…

But it got me curious, what would be the consequence if not explicitly closing the connection when the gen_server terminates ?
Does it still lives, or does it get closed by itself… ?

Thanks,

Morgan


More information about the erlang-questions mailing list