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

sciond-API: Only have a single Connect method #3374

Merged
merged 2 commits into from
Nov 14, 2019

Conversation

lukedirtwalker
Copy link
Collaborator

@lukedirtwalker lukedirtwalker commented Nov 13, 2019

Instead of having one with timeout and one without just have one method with context.

Also remove the request ID counter, it's no longer needed since we do single-shot connections anyway.


This change is Reviewable

@lukedirtwalker lukedirtwalker requested a review from scrye November 13, 2019 15:53
Copy link
Contributor

@scrye scrye left a comment

Choose a reason for hiding this comment

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

Reviewed 5 of 5 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@scrye scrye left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Instead of having one with timeout and one without just have one method with context.

Also the same request id counter for all connection, to make sure that no two connection can potentially send a request with the same ID.
@lukedirtwalker lukedirtwalker merged commit 505dfce into scionproto:master Nov 14, 2019
@lukedirtwalker lukedirtwalker deleted the pubsciondConnect branch November 14, 2019 10:58
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