Re: ssl:unrecv for multiprotocol TLS server — why not?
Ingela Andin
ingela.andin@REDACTED
Mon Jun 29 14:49:04 CEST 2020
Hi Max!
The reason is simply that ssl only implements the officially supported API
of gen_tcp. We might consider some peek functionality in the future but I
very much doubt that unrecv is the way to go.
Regards Ingela Erlang/OTP Team - Ericsson AB
Den mån 22 juni 2020 kl 21:25 skrev Max Lapshin <max.lapshin@REDACTED>:
> Hi.
>
> I want (i need?) to implement different protocols on the same socket.
>
> SSL doesn't have unrecv and it will be extremely useful to use it for
> protocol detection.
>
> Is there any reason, why it is not implemented? Just not enough time
> or there is some reason for it?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20200629/6b1b510d/attachment.htm>
More information about the erlang-questions
mailing list