-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
client: fix hijackedconn reading from buffer #36663
Conversation
Signed-off-by: Tonis Tiigi <[email protected]>
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.
LGTM 🐯
|
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.
LGTM
thanks @tonistiigi |
Codecov Report
@@ Coverage Diff @@
## master #36663 +/- ##
=========================================
Coverage ? 34.71%
=========================================
Files ? 613
Lines ? 45767
Branches ? 0
=========================================
Hits ? 15888
Misses ? 27807
Partials ? 2072 |
Fixes #36656
Regression from #36517
With the direct cast, the
Read
method is not inherited and the read doesn't go to the buffer but directly to the raw connection.@jim-minter
Signed-off-by: Tonis Tiigi [email protected]