knutin / elli

Simple, robust and performant Erlang web server
MIT License
663 stars 79 forks source link

fix ssl acceptor drain #80

Closed sg2342 closed 10 years ago

sg2342 commented 10 years ago

elli when configured to use SSL/TLS will run out of acceptors after MinAcceptors failed SSL/TLS handshakes. This patch takes care of ssl:ssl_accept/2 returning {error, closed} or {error, {tlsalert, }}.

knutin commented 10 years ago

Thanks!