diff options
author | Mickaël Rémond <mickael.remond@process-one.net> | 2007-08-01 11:25:23 +0000 |
---|---|---|
committer | Mickaël Rémond <mickael.remond@process-one.net> | 2007-08-01 11:25:23 +0000 |
commit | f9221e221238660b694f2f3721c36f7dc7adbd19 (patch) | |
tree | 67508117cc3f3ca49c6b64226531b3f70ccadf30 | |
parent | * src/ejabberd_s2s_out.erl: On terminate, bounce internal process queue and E... (diff) |
* src/ejabberd_s2s_out.erl: Avoid bouncing messages twice if terminate happens during open_connect.
SVN Revision: 854
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/ejabberd_s2s_out.erl | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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. diff --git a/src/ejabberd_s2s_out.erl b/src/ejabberd_s2s_out.erl index 1a644124b..363f03120 100644 --- a/src/ejabberd_s2s_out.erl +++ b/src/ejabberd_s2s_out.erl @@ -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) -> |