[erlang-questions] unexpected message {error, closed} on passive SSL socket

Benoit Chesneau bchesneau@REDACTED
Wed Mar 4 11:56:10 CET 2015

Here is some code to reproduce the issue.


We get the {error, closed} from time to time in the worker:


Let me know if you need more tests.

- benoit

On Tue, Mar 3, 2015 at 11:23 PM, Benoit Chesneau <bchesneau@REDACTED>

> Hi all,
> 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:
>      [{verify, verify_none}, {reuse_sessions, true}];
> And the other inets options:
> [binary, {active, false}, {packet, raw}],
> Any idea?
> - benoit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150304/78ef8651/attachment.htm>

More information about the erlang-questions mailing list