Skip to content

client: fix hijackedconn reading from buffer#36663

Merged
vdemeester merged 1 commit into
moby:masterfrom
tonistiigi:hijackconn-fix
Mar 22, 2018
Merged

client: fix hijackedconn reading from buffer#36663
vdemeester merged 1 commit into
moby:masterfrom
tonistiigi:hijackconn-fix

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

@tonistiigi tonistiigi commented Mar 21, 2018

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]

Copy link
Copy Markdown
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

LGTM 🐯

@vdemeester
Copy link
Copy Markdown
Member

janky is actually green, it failed to build the e2e image because of a temporary failure on alpine packages 😓

Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@jim-minter
Copy link
Copy Markdown
Contributor

thanks @tonistiigi

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 22, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@4460472). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master   #36663   +/-   ##
=========================================
  Coverage          ?   34.71%           
=========================================
  Files             ?      613           
  Lines             ?    45767           
  Branches          ?        0           
=========================================
  Hits              ?    15888           
  Misses            ?    27807           
  Partials          ?     2072

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants