-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix Cython WebSocketReader byte signedness
#9556
Conversation
The first_byte and second_byte are unsigned
CodSpeed Performance ReportMerging #9556 will not alter performanceComparing Summary
|
WebSocketReader byte signedness
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #9556 +/- ##
=======================================
Coverage 98.58% 98.58%
=======================================
Files 113 113
Lines 35249 35256 +7
Branches 4186 4186
=======================================
+ Hits 34749 34756 +7
Misses 338 338
Partials 162 162
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
For some reason I forget about the signedness of |
Backport to 3.11: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply df0c461 on top of patchback/backports/3.11/df0c46190c4d858ce2b0990320b941c22109d6b8/pr-9556 Backporting merged PR #9556 into master
🤖 @patchback |
(cherry picked from commit df0c461)
The
first_byteandsecond_byteareunsigned. This would occasionally cause the length to be wrong for the newWebSocketReaderadded in #9543 and #9554We didn't have coverage for a longer multi-byte payload. Add coverage for this case.