-
Notifications
You must be signed in to change notification settings - Fork 173
Remove addr.L4Info #3323
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
Remove addr.L4Info #3323
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 53 of 58 files at r1.
Reviewable status: 53 of 58 files reviewed, 1 unresolved discussion (waiting on @lukedirtwalker, @scrye, and @sgmonroy)
go/lib/infra/messenger/addr.go, line 126 at r1 (raw file):
// SVC addresses in the local AS get resolved via topology lookup if svc, ok := newAddr.Host.L3.(addr.HostSVC); ok && r.Router.LocalIA() == newAddr.IA {
why this extra line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 5 of 58 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @scrye and @sgmonroy)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 9 of 58 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @scrye)
The addr.L4Info interface type was always used as a normal 2-byte port. However, code needed to account for the possibility of other implementations. By using uint16 directly the code gets much simpler. Fixes #3296.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 49 of 58 files reviewed, 1 unresolved discussion (waiting on @lukedirtwalker and @sgmonroy)
go/lib/infra/messenger/addr.go, line 126 at r1 (raw file):
Previously, lukedirtwalker (Lukas Vogel) wrote…
why this extra line?
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 9 of 9 files at r2.
Reviewable status:complete! all files reviewed, all discussions resolved
The addr.L4Info interface type was always used as a normal 2-byte port.
However, code needed to account for the possibility of other
implementations. By using uint16 directly the code gets much simpler.
Fixes #3296.
This change is