-
Notifications
You must be signed in to change notification settings - Fork 119
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
Support for fragmented Messages #103
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #103 +/- ##
==========================================
- Coverage 39.23% 38.36% -0.88%
==========================================
Files 41 41
Lines 2039 2075 +36
==========================================
- Hits 800 796 -4
- Misses 1239 1279 +40
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #103 +/- ##
==========================================
- Coverage 39.23% 38.78% -0.46%
==========================================
Files 41 41
Lines 2039 2073 +34
==========================================
+ Hits 800 804 +4
- Misses 1239 1269 +30
Continue to review full report at Codecov.
|
The CI build doesn't tell much why the tests fail. We should improve this (though that's not part of this PR). Update: Issue opened #104 |
Guess the check now fails because Valgrind complains. It would be helpful if the memory logs would be accessible through a link. I will spend some more time using Valgrind locally and if I don't find anything that can be fixed in a reasonable amount of time I have to leave it alone. |
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.
The code looks good so far! 👍
What's open:
- Fix the CI build (first we have to figure out, why it's broken …)
- Probably improve the commit messages (simple git operation, not much to do though)
- Avoid coverage degradation and get some tests in
Indeed. For now, you can run the ctest commands from the |
Hmm … running the unit tests locally (via
|
@A-J-Bauer I've improved the test execution on Travis. The tests are now executed correctly and show what's wrong on failure. Please rebase onto master to get your PR updated. |
@offa Thank you for the improved test execution, pointed me in the right direction. I removed a check for unmasked client messages which broke tests. Now travis seems to be happy. Codecov still isn't. |
👍 You can rebase onto the updated master, so you get an improved output when updating your PR here.
The newly added code isn't covered by tests. Please visit the codecov link, it already provides a useful overview of uncovered lines – no need to struggle with building coverage data locally. The Hybi related tests are all in Please let me know, if you need any help here. |
Added support for fragmented messages as described in RFC 6455 - Page 27 - 5.4.