Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SharedTorrent: Permit custom TorrentByteStorage implementations. #77

Open
wants to merge 155 commits into
base: master
Choose a base branch
from

Conversation

shevek
Copy link

@shevek shevek commented Dec 25, 2013

This is for issue #75.

pankdm and others added 30 commits April 10, 2013 12:37
…sage.parse

Order of the parameters to the HTTPAnnounceRequestMessage constructor was incorrect in the parse() method. Thanks to Dan Oxlade for reporting the problem.

Closes mpetazzoni#48.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Allow trackerless torrent files #2

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
…h InboundThread and OutboundThread to a common ExchangeThread superclass.
Add ability to set upload/download rate limits.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Fix read when message size wasn't read in one step

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
BDecode support for negative integers

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Fixes bug with selecting the announce client

A previous change introduced a bug in the selection
of the announce tier and client. Closes mpetazzoni#51.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Use maven-shade-plugin to produce executable jar

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Update pom for compatibility with the maven-release-plugin

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Clean up javadoc problems

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Shell script updates for wider platform compatibility

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Move entry-point main methods to separate package

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
shevek and others added 25 commits October 22, 2014 20:21
Signed-off-by: Shevek <shevek@anarres.org>
Signed-off-by: Shevek <shevek@anarres.org>
Cut down version of jfriedly's patch without so much comment reformatting.
Signed-off-by: Shevek <shevek@anarres.org>
We were storing a BitSet of the pieces that we had requested on the
SwarmHandler, but this was causing problems because we weren't clearing
the bits on errors and we quickly re-request pieces then.  The net
effect was that a download would very quickly get to 80% complete, then
begin slowing down, and I never saw one get past 95% to even get into
end-game mode.

This patch makes us compute requestedPieces on demand, which is a bit
inefficient in terms of computation, but serves as a much better source
of truth for what pieces have already been requested and overall makes
downloads complete much faster.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.