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: udp tracker panic #846

Merged
merged 1 commit into from
Jul 9, 2023
Merged

Conversation

monkeyWie
Copy link
Contributor

fix #845

Some traker servers do not follow the udp traker specification, and the response packet returned is larger than the defined udp buffer size. We need to handle the error instead of panic.

@anacrolix
Copy link
Owner

Thanks for the fix. I really don't like the error we get here, but I can't argue with the improved behaviour.

@anacrolix anacrolix merged commit 8229ac4 into anacrolix:master Jul 9, 2023
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.

udp tracker panic
2 participants