[erlang-questions] Abandoned (ranch) connection processes?

Roger Lipscombe roger@REDACTED
Thu Feb 15 15:12:55 CET 2018


On 15 February 2018 at 12:04,  <zxq9@REDACTED> wrote:
> Yet another example where making every line an assertion (if not an assignment) has helped me discover this exact situation in the past.
>
>   ok = ssl:setopts(Socket, [{active, once}]),
>
> Doesn't let things progress along quietly.

...except it doesn't work. It returns 'ok' even if the *peer* closed
the socket. See my later repro.



More information about the erlang-questions mailing list