erlang/otp — pull request #26 by coolluck (2012-06-29 01:46:53+00:00)
Title: SSL close function hang permanently

In case of TCP half close or something, ssl_connection process is hanging on function "workaround_transport_delivery_problems" in order to waiting packet from client.
It causes process leak to my server.

I added timeout to recv function. But I do not insure timeout of 5 seconds is sufficient.
(Maybe It would better move to SSL Options).

Please consider it. thank you.