We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fca3827 commit 661c56eCopy full SHA for 661c56e
lib/ClientConnection.cc
@@ -924,7 +924,9 @@ void ClientConnection::handleIncomingCommand(BaseCommand& incomingCmd) {
924
case Ready: {
925
// Since we are receiving data from the connection, we are assuming that for now the
926
// connection is still working well.
927
- havePendingPingRequest_ = false;
+ if (incomingCmd.type() != BaseCommand::PING) {
928
+ havePendingPingRequest_ = false;
929
+ }
930
931
// Handle normal commands
932
switch (incomingCmd.type()) {
0 commit comments