Permalink
Browse files

ssl: Make sure that the ssl connection process will not hang in termi…

…nate function.

Avoid doing gen_tcp/inet socket operations in terminate if socket
is already closed. Call gen_tcp:recv/3 in the "data delivery workaround"
to avoid hanging.
  • Loading branch information...
1 parent 1d7a5e1 commit e2da23767faa83dd3ca10a191418942f931ebbcc @IngelaAndin IngelaAndin committed Nov 12, 2012
Showing with 82 additions and 73 deletions.
  1. +82 −73 lib/ssl/src/ssl_connection.erl
Oops, something went wrong.

0 comments on commit e2da237

Please sign in to comment.