Hello,<div><br></div><div>Today I have migrated my production servers to R15B02 (previously they ran on R14).</div><div>Generally, everything works fine. However, I do notice a strange behavior occasionally.</div><div>I'm not sure if Erlang is to blame, but it's a strange coincidence that this started occurring after the migration, and system is in production for almost two years.</div>
<div><br></div><div>In my system, I am constantly fetching some data from the external provider via ssl. The code is roughly following:</div><div><br></div><div>loop(Socket) -></div><div> ssl:recv(Socket, 0, 5000),</div>
<div> ...</div><div> loop(Socket).</div><div><br></div><div>After switching to R15, I have noticed that occasionally, a byte gets "lost". This always happens after 5 or 10 seconds which leads me to suspicion, that possibly some race condition occurs in ssl.</div>
<div>Could it be that the timeout occurs just as the bytes start to arrive, and the first one is discarded?</div><div>Again, I didn't notice this behavior on R14.</div><div><br></div><div>Best regards,</div><div>Sasa</div>