diff --git a/src/ejabberd_s2s_out.erl b/src/ejabberd_s2s_out.erl index 261562f8c..1fd8b4121 100644 --- a/src/ejabberd_s2s_out.erl +++ b/src/ejabberd_s2s_out.erl @@ -264,7 +264,6 @@ open_socket2(Type, Addr, Port) -> case (catch ejabberd_socket:connect(Addr, Port, [binary, {packet, 0}, {send_timeout, ?TCP_SEND_TIMEOUT}, - {send_timeout_close, true}, {active, false}, Type | SockOpts], Timeout)) of {ok, _Socket} = R -> R;