Fixed onPing() method: replaced call to ping() with control() since

ping() should not be called to reply to a ping.
This commit is contained in:
Simone Bordet 2014-06-13 23:13:26 +02:00
parent 18c3e395df
commit 75b0a7088b
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ public abstract class HTTP2Session implements ISession, Parser.Listener
else
{
PingFrame reply = new PingFrame(frame.getPayload(), true);
ping(reply, disconnectCallback);
control(null, reply, disconnectCallback);
}
return false;
}