Allow raw options in ssl:listen

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Allow raw options in ssl:listen

Roger Lipscombe-2
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.
_______________________________________________
erlang-patches mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-patches
Reply | Threaded
Open this post in threaded view
|

Re: Allow raw options in ssl:listen

Roger Lipscombe-2
On 7 September 2015 at 19:58, Roger Lipscombe <[hidden email]> wrote:
> I originally reported this in
> http://erlang.org/pipermail/erlang-questions/2014-October/081226.html;
> here's a patch against 18.0.3:
>
[snip]

...and a PR: https://github.com/erlang/otp/pull/824
_______________________________________________
erlang-patches mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-patches