-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previously implemented support of compact tracker announce responses introduced a bug in the way peers are stored in the BitTorrent client's peer database: they were always created by host identifier, even when we knew their peer ID. This made subsequent lookups by peer ID return null, and triggered the creation of a new peer object for the same peer, leading to peer exchange disconnection problems, and stale outstanding requests to no-longer connected peers. The peer exchange timeout mechanism was also adjusted to better handle keep-alives and real timeouts that were not detected before. Version was bumped to 1.0.3 for these fixes. Signed-off-by: Maxime Petazzoni <[email protected]>
- Loading branch information
Maxime Petazzoni
committed
Jul 6, 2011
1 parent
284fef9
commit f26ab02
Showing
5 changed files
with
42 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters