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

fix: http announce no left #548

Merged
merged 2 commits into from
Jan 19, 2025
Merged

Conversation

ThaUnknown
Copy link
Member

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

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

What changes did you make? (Give an overview)
for http announce, forced left to be a defined value, while the spec doesn't say what happens when left is null, most trackers error, libtorrent simply sets it to 16k in those cases so let's follow suit
Which issue (if any) does this pull request address?
webtorrent hanging on some magnet links as it announced left undefined, which queried the tracker with &left&
Is there anything you'd like reviewers to focus on?

@ThaUnknown ThaUnknown enabled auto-merge (squash) January 19, 2025 22:32
@ThaUnknown ThaUnknown merged commit 3cd77f3 into webtorrent:master Jan 19, 2025
3 checks passed
@ThaUnknown ThaUnknown deleted the http-left branch January 19, 2025 22:35
webtorrent-bot pushed a commit that referenced this pull request Jan 19, 2025
## [11.2.1](v11.2.0...v11.2.1) (2025-01-19)

### Bug Fixes

* http announce no left ([#548](#548)) ([3cd77f3](3cd77f3))
@webtorrent-bot
Copy link

🎉 This PR is included in version 11.2.1 🎉

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