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

Feature request: Add setUploading() method #556

Open
gmaclennan opened this issue Aug 29, 2024 · 0 comments
Open

Feature request: Add setUploading() method #556

gmaclennan opened this issue Aug 29, 2024 · 0 comments

Comments

@gmaclennan
Copy link
Contributor

This is a request to add a method to control whether a core is uploading, e.g. whether it will respond to "wants" from other peers by sending data. I think the undocumented setActive method does this for downloading, but not for uploading.

Use case 1: A peer might have limited upstream bandwidth, and only want to download data.

Use case 2: A peer might want to get an updated length from a peer before deciding to enable uploading and downloading.

Related: #555

I think #305 can be closed, superseded by this issue and #555.

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

1 participant