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

zxq9@REDACTED zxq9@REDACTED
Thu Feb 15 13:04:02 CET 2018


On 2018年2月15日木曜日 6時56分23秒 JST Fred Hebert wrote:
> It looks like you do have to check the result of setopts to find that 
> the connections has failed early.

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.

-Craig



More information about the erlang-questions mailing list