removed unused bt_peer_connection::on_keepalive
This commit is contained in:
parent
4b144ba451
commit
61ae2c834b
|
@ -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);
|
||||
|
|
|
@ -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 -----------
|
||||
// -----------------------------
|
||||
|
|
Loading…
Reference in New Issue