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:
parent
18c3e395df
commit
75b0a7088b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue