[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.
https://github.com/benoitc/test_ssl
We get the {error, closed} from time to time in the worker:
https://github.com/benoitc/test_ssl/blob/master/apps/test_ssl/src/test_ssl_worker.erl#L34
Let me know if you need more tests.
- benoit
On Tue, Mar 3, 2015 at 11:23 PM, Benoit Chesneau <bchesneau@REDACTED>
wrote:
> 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