Commit 92f013db authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Increment packet counter when sending a packet to the remote server (and...

Increment packet counter when sending a packet to the remote server (and update the last active date).


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1434 b35dd754-fafc-0310-a699-88a17e54d16e
parent 17a1a0b0
...@@ -149,6 +149,7 @@ public class OutgoingServerSession extends Session { ...@@ -149,6 +149,7 @@ public class OutgoingServerSession extends Session {
if (conn != null && !conn.isClosed()) { if (conn != null && !conn.isClosed()) {
try { try {
conn.deliver(packet); conn.deliver(packet);
incrementServerPacketCount();
} }
catch (Exception e) { catch (Exception e) {
Log.error(LocaleUtils.getLocalizedString("admin.error"), e); Log.error(LocaleUtils.getLocalizedString("admin.error"), e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment