loop back cancel messages for web servers

This commit is contained in:
Arvid Norberg 2010-01-31 21:44:22 +00:00
parent e3e177650c
commit c9e50559b6
2 changed files with 2 additions and 4 deletions

View File

@ -113,8 +113,7 @@ namespace libtorrent
void write_interested() {}
void write_not_interested() {}
void write_request(peer_request const& r);
void write_cancel(peer_request const& r)
{ incoming_reject_request(r); }
void write_cancel(peer_request const& r) {}
void write_have(int index) {}
void write_piece(peer_request const& r, disk_buffer_holder& buffer) { TORRENT_ASSERT(false); }
void write_keepalive() {}

View File

@ -111,8 +111,7 @@ namespace libtorrent
void write_interested() {}
void write_not_interested() {}
void write_request(peer_request const& r);
void write_cancel(peer_request const& r)
{ incoming_reject_request(r); }
void write_cancel(peer_request const& r) {}
void write_have(int index) {}
void write_piece(peer_request const& r, disk_buffer_holder& buffer) { TORRENT_ASSERT(false); }
void write_keepalive() {}