fixed bug related to ignoring upload slots and made the piece rejection code more robust to handle similar bugs better

This commit is contained in:
Arvid Norberg
2009-03-12 17:06:41 +00:00
parent 59fa30400f
commit 0de21dc815
5 changed files with 40 additions and 3 deletions

View File

@@ -3303,6 +3303,8 @@ that will be sent to the tracker. The user-agent is a good way to identify your
int max_sparse_regions;
bool lock_disk_cache;
int max_rejects;
};
``user_agent`` this is the client identification to the tracker.
@@ -3638,6 +3640,11 @@ to 0 on all platforms except windows.
that's in use, will be locked in physical memory, preventing it from
being swapped out.
``max_rejects`` is the number of piece requests we will reject in a row
while a peer is choked before the peer is considered abusive and is
disconnected.
pe_settings
===========