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

Improvements #14

Merged
merged 8 commits into from
Aug 31, 2022
Merged

Improvements #14

merged 8 commits into from
Aug 31, 2022

Conversation

halacs
Copy link

@halacs halacs commented Aug 31, 2022

Note

First of all, thanks for your work! It was a great base for my work!

Content

I found number of TODOs in the code to make it work. I fixed them. Please check commits for details but in a nutshell:

  • IP Version field was filled with zero in the Request Session message. It can be 4 or 6 only.
  • Measurement package was handled incorrectly. I refactored to use golang structs to make it clearer.
  • TwampSessionConfig struct is now easier to understand regarding the ports and a hardcoded part number is also replaced to use this config struct instead.
  • Error handling fixes
  • Comments added

Backlog

It would be still nice to refactor the TWAMP control channel massaging to use golang struct types instead of math with byte offsets same way as I implemented with the actual measurement message types.

Copy link
Owner

@tcaine tcaine left a comment

Choose a reason for hiding this comment

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

Thanks for the pull request. Your changes look good.

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.

3 participants