From 849db39472bc752c34dd639a670518fef701ba9d Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 17 Apr 2007 05:56:43 +0000 Subject: [PATCH] added peer_blocked_alert which is generated when a peer is blocked by the IP filter. Fixed the ip-filter parsing in client_test and made it report the peer_blocked_alert. Added documentation. --- docs/manual.html | 55 ++++++++++++++++++++---------- docs/manual.rst | 21 ++++++++++++ examples/client_test.cpp | 13 ++++--- include/libtorrent/alert.hpp | 54 ++++++++++++----------------- include/libtorrent/alert_types.hpp | 14 ++++++++ src/session_impl.cpp | 25 +++++++++----- src/torrent.cpp | 42 ++++++++++++++++++----- 7 files changed, 154 insertions(+), 70 deletions(-) diff --git a/docs/manual.html b/docs/manual.html index 81a527c79..ef2cb3457 100644 --- a/docs/manual.html +++ b/docs/manual.html @@ -137,34 +137,35 @@
  • metadata_failed_alert
  • metadata_received_alert
  • fastresume_rejected_alert
  • -
  • dispatcher
  • +
  • peer_blocked_alert
  • +
  • dispatcher
  • -
  • exceptions