[erlang-questions] SSL sni_fun modification to return empty string if no SNI

Vans S vans_163@REDACTED
Tue Jun 14 00:02:07 CEST 2016

The sni_fun currently imposes a logic problem on what to do with no SNI was supplied.  Since it is callback oriented it is difficult to code against. I want to suggest to patch SSL module further to allow sni_fun callback to always be called whether SNI was supplied or not by the client. And another possible addition is to allow to partially complete a handshake, getting the option to modifiy the ssloptions() after the handshake was sent by the client but before the server reply.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160613/02a8ec0e/attachment.htm>

More information about the erlang-questions mailing list