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

How to find out if a client is currently uploading data of a specific torrent? #73

Closed
half-dead opened this issue Apr 14, 2016 · 4 comments

Comments

@half-dead
Copy link

The need of this is to know when we can drop a torrent from a client safely.

@anacrolix
Copy link
Owner

Do you mean that it has a connection to which it's uploading pieces at that very moment?

@half-dead
Copy link
Author

Yes, but I think a connection without any actual traffic shouldn't count.
I'm not familiar with the implementation, so I don't know If there is a possibility.

@anacrolix
Copy link
Owner

You can always drop a connection safely, and thus by extension, the connections attached to a Torrent or Client. The BitTorrent protocol expects and allows for this, and no harm is done to either end of the connection.

anacrolix added a commit that referenced this issue Apr 18, 2016
@anacrolix
Copy link
Owner

I've improved the doc to make this clear.

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

No branches or pull requests

2 participants