[erlang-patches] SSL distribution proxy processes must exit when sockets close

Paul Guyot <>
Sun Jan 29 16:25:50 CET 2012


There is a bug in SSL distribution : the proxy processes do not exit if the sockets close during the setup. Since SSL distribution connections can be very slow to setup, this situation happens to be quite common on a production cluster and can yield to thousands of processes with close messages in their queue.

The following patch, based on maint branch, fixes this bug by simply exiting when a close message is received during setup.

git fetch git://github.com/pguyot/otp.git fix-ssl_tls_dist_proxy-setup-loop

Semiocast            http://semiocast.com/
+33.183627948 - 20 rue Lacaze, 75014 Paris

More information about the erlang-patches mailing list