fixed checking of fast and suggest messages when used with magnet links

This commit is contained in:
Arvid Norberg
2009-09-01 04:41:50 +00:00
parent 1f5a722b01
commit f7ebefb285
4 changed files with 79 additions and 7 deletions

View File

@@ -3575,6 +3575,8 @@ session_settings
int optimistic_disk_retry;
bool disable_hash_check;
int max_suggest_pieces;
};
``user_agent`` this is the client identification to the tracker.
@@ -4000,6 +4002,10 @@ to verify all downloaded data. It may be useful to turn this off for performance
profiling and simulation scenarios. Do not disable the hash check for regular
bittorrent clients.
``max_suggest_pieces`` is the max number of suggested piece indices received
from a peer that's remembered. If a peer floods suggest messages, this limit
prevents libtorrent from using too much RAM. It defaults to 10.
pe_settings
===========