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

Make "always choke seeders" optional #2774

Merged
merged 4 commits into from
Apr 22, 2024
Merged

Conversation

QuixThe2nd
Copy link
Contributor

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[ ] Bug fix
[x] New feature
[ ] Other, please explain:

What changes did you make? (Give an overview)
Turn "always choke seeders" into an option (enabled by default).

Which issue (if any) does this pull request address?
When disabled, the client won't choke other seeders while it's seeding.

Is there anything you'd like reviewers to focus on?
Although the average person wouldn't want to change this setting, it is useful for custom bittorrent extensions which would like to keep peers unchoked. I would appreciate a PR as my bittorrent extension still needs seeding clients to communicate.

Copy link

welcome bot commented Apr 15, 2024

🙌 Thanks for opening this pull request! You're awesome.

@QuixThe2nd QuixThe2nd changed the title Update torrent.js Make "always choke seeders" optional Apr 15, 2024
Copy link
Member

@SilentBot1 SilentBot1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me, outside of a two small changes. Please address the suggestion and get this new option to the docs, with a short blurb of what it does, and I'll be happy to approve this.

lib/torrent.js Outdated Show resolved Hide resolved
QuixThe2nd and others added 2 commits April 22, 2024 20:48
Co-authored-by: Brad Marsden <silentbot1@gmail.com>
@SilentBot1 SilentBot1 merged commit 41cb62b into webtorrent:master Apr 22, 2024
6 checks passed
Copy link

welcome bot commented Apr 22, 2024

🎉 Congrats on getting your first pull request landed!

@QuixThe2nd
Copy link
Contributor Author

Thank you :)

@webtorrent-bot
Copy link
Collaborator

🎉 This PR is included in version 2.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants