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

Henrik Nord <>
Mon Jan 30 14:02:11 CET 2012


Hi
We would like this patch, but with tests.

Could that be arranged?

Thank you!

On 01/29/2012 04:25 PM, Paul Guyot wrote:
> Hello,
>
> 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.
>
> https://github.com/pguyot/otp/compare/fix-ssl_tls_dist_proxy-setup-loop
> git fetch git://github.com/pguyot/otp.git fix-ssl_tls_dist_proxy-setup-loop
>
> Paul

-- 
/Henrik Nord Erlang/OTP



More information about the erlang-patches mailing list