<div dir="ltr">Here is some code to reproduce the issue.<div><br></div><div><a href="https://github.com/benoitc/test_ssl">https://github.com/benoitc/test_ssl</a><br></div><div><br></div><div>We get the {error, closed} from time to time in the worker:</div><div><br></div><div><a href="https://github.com/benoitc/test_ssl/blob/master/apps/test_ssl/src/test_ssl_worker.erl#L34">https://github.com/benoitc/test_ssl/blob/master/apps/test_ssl/src/test_ssl_worker.erl#L34</a></div><div><br></div><div>Let me know if you need more tests.</div><div><br></div><div><br></div><div>- benoit<br><div><br></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 3, 2015 at 11:23 PM, Benoit Chesneau <span dir="ltr"><<a href="mailto:bchesneau@gmail.com" target="_blank">bchesneau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>When closing a passive SSL socket ({active, false}) I get an unexpected message `{error, closed}` in the process on Erlang 17.4 is this a known issue? The SSL socket is connected with the following SSL options: </div><div><br></div><div> [{verify, verify_none}, {reuse_sessions, true}];</div><div><br></div><div>And the other inets options:</div><div><br></div><div><div>[binary, {active, false}, {packet, raw}],</div></div><div><br></div><div><br></div><div>Any idea?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>- benoit</div><div><br></div></font></span></div>
</blockquote></div><br></div>