mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
* src/ejabberd_s2s_out.erl: Avoid bouncing messages twice if terminate happens during open_connect.
SVN Revision: 854
This commit is contained in:
parent
dda2464b85
commit
f9221e2212
@ -1,5 +1,8 @@
|
||||
2007-08-01 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/ejabberd_s2s_out.erl: Avoid bouncing messages twice if
|
||||
terminate happens during open_connect.
|
||||
|
||||
* src/ejabberd_s2s_out.erl: On terminate, bounce internal process
|
||||
queue and Erlang message queue.
|
||||
|
||||
|
@ -181,8 +181,6 @@ open_socket(init, StateData) ->
|
||||
Version])),
|
||||
{next_state, wait_for_stream, NewStateData};
|
||||
{error, _Reason} ->
|
||||
Error = ?ERR_REMOTE_SERVER_NOT_FOUND,
|
||||
bounce_messages(Error),
|
||||
{stop, normal, StateData}
|
||||
end;
|
||||
open_socket(stop, StateData) ->
|
||||
|
Loading…
Reference in New Issue
Block a user