Forgot to send the actual ping.

This commit is contained in:
JoelKatz
2012-12-25 10:40:58 -08:00
parent 9124c91884
commit 49e6372a4e

View File

@@ -99,6 +99,10 @@ public:
cLog(lsWARNING) << "Connection pings out";
cpClient->close(websocketpp::close::status::PROTOCOL_ERROR, "ping timeout");
}
else
{
cpClient->ping("ping");
}
}
void on_open(connection_ptr cpClient)