removed unused bt_peer_connection::on_keepalive

This commit is contained in:
Alden Torres 2018-03-16 08:24:43 -04:00 committed by Arvid Norberg
parent 4b144ba451
commit 61ae2c834b
2 changed files with 0 additions and 15 deletions

View File

@ -199,7 +199,6 @@ namespace libtorrent {
// be called. i.e. most handlers need
// to check how much of the packet they
// have received before any processing
void on_keepalive();
void on_choke(int received);
void on_unchoke(int received);
void on_interested(int received);

View File

@ -795,20 +795,6 @@ namespace {
// message handlers
// -----------------------------
// --------- KEEPALIVE ---------
// -----------------------------
void bt_peer_connection::on_keepalive()
{
INVARIANT_CHECK;
#ifndef TORRENT_DISABLE_LOGGING
peer_log(peer_log_alert::incoming_message, "KEEPALIVE");
#endif
incoming_keepalive();
}
// -----------------------------
// ----------- CHOKE -----------
// -----------------------------