Why the error had been log as FINEST level since it closes the connection? The error happens when we try to send big message (22kB) to the user.
Artur Hefczyc commented 1 decade ago
The waiting.size() = 0 has nothing to do with connection close. And the closed connection is not considered as an error. This is just a normal thing form the server point of view. Clients open and close connections hundreds times per second and it is rarely an error. Therefore, Tigase does not report a closed connection as an error.
22kB message size is hardly considered as a big message. Tigase deals with much larger packets such as vcards with photos which can easily be more than 1MB. Therefore I doubt it has anything to do with sending a big message from the server to a client. Please also note, the connection close was disconnected during socket read attempt not write, so Tigase was not sending any data to a client.
binh vo commented 1 decade ago
Thank you Artur for quick response. I'll try to find out the root cause of this issue.
The connection had been close with detail error as below:
My question is:
Why the error had been log as FINEST level since it closes the connection? The error happens when we try to send big message (22kB) to the user.