mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-14 22:00:16 +02:00
XEP-0198: Don't warn on invalid ACK elements
Do not log a warning (but only a debug message) if the client sends an invalid </a> packet. Some clients do that occasionally, and there's nothing server admininistrators could do about that.
This commit is contained in:
parent
318b0f2208
commit
a60fda7df4
|
@ -2694,8 +2694,8 @@ handle_a(#state{jid = JID, mgmt_stanzas_out = NumStanzasOut} = StateData,
|
|||
[jlib:jid_to_string(JID), H, NumStanzasOut]),
|
||||
mgmt_queue_drop(StateData, H);
|
||||
_ ->
|
||||
?WARNING_MSG("Ignoring invalid ACK element from ~s",
|
||||
[jlib:jid_to_string(JID)]),
|
||||
?DEBUG("Ignoring invalid ACK element from ~s",
|
||||
[jlib:jid_to_string(JID)]),
|
||||
StateData
|
||||
end.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user