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

libtorrent: Optimize UDP trackers for UDNS #41

Merged
merged 1 commit into from
Jul 20, 2024
Merged

Conversation

stickz
Copy link
Owner

@stickz stickz commented Jul 20, 2024

This commit optimizes UDP trackers with a fast path to ipv4 sockets. When using UDNS, we know the address is going to resolve to IPV4. We can skip a few checks to increase performance.

This commit optimizes UDP trackers with a fast path to ipv4 sockets. When using UDNS, we know the address is going to resolve to IPV4. We can skip a few checks to increase performance.
@stickz stickz merged commit b51727c into master Jul 20, 2024
2 checks passed
@stickz stickz deleted the socketfd-optimize branch July 20, 2024 15:37
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.

1 participant