Skip to content

Commit

Permalink
listen opts must be passed also to SSL sockets, Bug discovered and fi…
Browse files Browse the repository at this point in the history
…xed by per Hedeland
  • Loading branch information
Claes Wikstrom committed Oct 18, 2011
1 parent fd05270 commit 48542ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/yaws_server.erl
Expand Up @@ -891,7 +891,8 @@ ssl_listen_opts(GC, SC, SSL) ->
{packet, http},
{recbuf, 8192},
{reuseaddr, true},
{active, false} | ssl_listen_opts(GC, SSL)] ++ InetType.
{active, false} | ssl_listen_opts(GC, SSL)] ++ InetType ++
proplists:get_value(listen_opts, SC#sconf.soptions, []).

ssl_listen_opts(GC, SSL) ->
L = [if SSL#ssl.keyfile /= undefined ->
Expand Down

0 comments on commit 48542ca

Please sign in to comment.