Re: ssl:unrecv for multiprotocol TLS server — why not?
Mon Jun 29 14:49:04 CEST 2020
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>:
> 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...
More information about the erlang-questions