+2007-12-08 Mickael Remond <mremond@process-one.net>
-2007-12-06 Christophe Romain <christophe.romain@process-one.net>
+ * src/ejabberd_s2s_out.erl: Increase dialback timeout as dialback can
+ sometimes take longer than expected.
+
+2007-12-08 Christophe Romain <christophe.romain@process-one.net>
* src/mod_pubsub/mod_pubsub.erl: disco_sm_items bugfix
?DEBUG("recv verify: ~p", [{From, To, Id, Type}]),
case StateData#state.verify of
false ->
+ NextState = wait_for_validation,
%% TODO: Should'nt we close the connection here ?
- {next_state, wait_for_validation, StateData, ?FSMTIMEOUT};
+ {next_state, NextState, StateData,
+ get_timeout_interval(NextState)};
{Pid, _Key, _SID} ->
case Type of
"valid" ->
StateData#state.verify == false ->
{stop, normal, StateData};
true ->
- {next_state, wait_for_validation, StateData,
- ?FSMTIMEOUT*3}
+ NextState = wait_for_validation,
+ {next_state, NextState, StateData,
+ get_timeout_interval(NextState)}
end
end;
_ ->