[erlang-patches] Allow raw options in ssl:listen

Roger Lipscombe roger@REDACTED
Mon Sep 7 20:58:34 CEST 2015


I originally reported this in
http://erlang.org/pipermail/erlang-questions/2014-October/081226.html;
here's a patch against 18.0.3:

diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index 9f2af73..19b091d 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -1169,6 +1169,8 @@ assert_proplist([]) ->
 assert_proplist([{Key,_} | Rest]) when is_atom(Key) ->
     assert_proplist(Rest);
 %% Handle exceptions
+assert_proplist([{raw,_,_,_} | Rest]) ->
+    assert_proplist(Rest);
 assert_proplist([inet | Rest]) ->
     assert_proplist(Rest);
 assert_proplist([inet6 | Rest]) ->

This affects both 17.x and 18.x. Is there any chance that this could
be merged into both?

Regards,
Roger.



More information about the erlang-patches mailing list