{next_state, wait_for_features, StateData, ?FSMTIMEOUT};
{"jabber:server", "", true} when StateData#state.use_v10 ->
{next_state, wait_for_features, StateData#state{db_enabled = false}, ?FSMTIMEOUT};
- {NSProvided, _, _} ->
+ {NSProvided, DB, _} ->
send_text(StateData, ?INVALID_NAMESPACE_ERR),
?INFO_MSG("Closing s2s connection: ~s -> ~s (invalid namespace).~n"
- "Namespace provided: ~p~nNamespace expected: \"jabber:server\"",
- [StateData#state.myname, StateData#state.server, NSProvided]),
+ "Namespace provided: ~p~nNamespace expected: \"jabber:server\"~n"
+ "xmlns:db provided: ~p~nAll attributes: ~p",
+ [StateData#state.myname, StateData#state.server, NSProvided, DB, Attrs]),
{stop, normal, StateData}
end;