Server is not processing IQ errors triggered by IQ requests made by the server
Description
The server or any of its components/services may originate an IQ packet and send it to another XMPP entity. If the IQ packet fails to be delivered then an IQ error is generated but discarded. The warn log will have an entry like this: "Error packet could not be delivered ". Instead, we should let the IQRouter process the IQ error.
This problem may generate a memory leak with IQResultListeners since they may never be removed from the collection.
The server or any of its components/services may originate an IQ packet and send it to another XMPP entity. If the IQ packet fails to be delivered then an IQ error is generated but discarded. The warn log will have an entry like this: "Error packet could not be delivered ". Instead, we should let the IQRouter process the IQ error.
This problem may generate a memory leak with IQResultListeners since they may never be removed from the collection.