Skip to content

make the ping queue use a more compact data structure #16

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

Merged
merged 2 commits into from
Aug 14, 2016

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Aug 14, 2016

and reduce some IPv4/IPv6 code duplication.

@@ -390,19 +390,6 @@ struct bound_socket
char packet[1500];
};

// this is the type of each node queued up
// to be pinged at some point in the future
struct queued_node_t
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved this down a bit and stripped out fields that aren't used externally

@ssiloti
Copy link
Contributor

ssiloti commented Aug 14, 2016

lgtm

@arvidn arvidn merged commit 44e19b0 into bittorrent:master Aug 14, 2016
@arvidn arvidn deleted the compact-ping-queue branch August 14, 2016 22:03
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.

2 participants