25
1
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:
Mickaël Rémond 2007-08-01 11:25:23 +00:00
parent dda2464b85
commit f9221e2212
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -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) ->