diff options
author | Zandra Hird <[email protected]> | 2015-04-10 14:51:04 +0200 |
---|---|---|
committer | Zandra Hird <[email protected]> | 2015-04-10 14:51:04 +0200 |
commit | b5f3973cc50a193be868e672b2ced6dd619427c4 (patch) | |
tree | bfe20ffc467ef3c535fd5580f89cc4c1ab8ca818 /lib/ssh/src/ssh_acceptor.erl | |
parent | 5c2c2f537e66f1637eb51b364cb962a69a7b0faf (diff) | |
parent | bbac1019905e6e493a2cd3c8463e53a818d0723d (diff) | |
download | otp-b5f3973cc50a193be868e672b2ced6dd619427c4.tar.gz otp-b5f3973cc50a193be868e672b2ced6dd619427c4.tar.bz2 otp-b5f3973cc50a193be868e672b2ced6dd619427c4.zip |
Merge branch 'maint-17'
Conflicts:
OTP_VERSION
Diffstat (limited to 'lib/ssh/src/ssh_acceptor.erl')
-rw-r--r-- | lib/ssh/src/ssh_acceptor.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_acceptor.erl b/lib/ssh/src/ssh_acceptor.erl index 6c443eeb9c..34988f17b6 100644 --- a/lib/ssh/src/ssh_acceptor.erl +++ b/lib/ssh/src/ssh_acceptor.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2013. All Rights Reserved. +%% Copyright Ericsson AB 2008-2015. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -43,7 +43,7 @@ start_link(Port, Address, SockOpts, Opts, AcceptTimeout) -> acceptor_init(Parent, Port, Address, SockOpts, Opts, AcceptTimeout) -> {_, Callback, _} = proplists:get_value(transport, Opts, {tcp, gen_tcp, tcp_closed}), - case (catch do_socket_listen(Callback, Port, SockOpts)) of + case (catch do_socket_listen(Callback, Port, [{active, false} | SockOpts])) of {ok, ListenSocket} -> proc_lib:init_ack(Parent, {ok, self()}), acceptor_loop(Callback, |