[erlang-bugs] stray message sent by remote closure of passive ssl sockets
Wed Jun 13 11:55:57 CEST 2012
On 13/06/12 10:32, Ingela Anderton Andin wrote:
> Thank you for reporting this, the following should solve your
Indeed it should. But I am generally suspicious that 'from' remains set
even after the ssl_connection has gen_fsm:reply'ed to it. That leaves
the door open for other code to mistakenly send another reply.
For example, I suspect that if recv_from=undefined, i.e. there is
currently no pending recv, then ssl_connection will still end up sending
a second gen_fsm:reply to the 'from'.
More information about the erlang-bugs