Skip to content

Support for TCP upgrade #1126

Closed
shin- wants to merge 4 commits intomasterfrom
dgageot-fix-1123
Closed

Support for TCP upgrade #1126
shin- wants to merge 4 commits intomasterfrom
dgageot-fix-1123

Conversation

@shin-
Copy link
Copy Markdown
Contributor

@shin- shin- commented Jul 8, 2016

Carry #1124
Fixes #1123

dgageot and others added 3 commits July 8, 2016 17:25
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: Joffrey F <joffrey@docker.com>
Signed-off-by: Joffrey F <joffrey@docker.com>
next_data = read_socket(socket, packet_size - len(data))
if not next_data:
assert False, "Failed trying to read in the dataz"
assert False, "Failed trying to read in the data"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Rather than a conditional followed by assert False, can't this just read assert next_data, "Failed trying to read in the data"?

@aanand aanand mentioned this pull request Jul 13, 2016
@aanand
Copy link
Copy Markdown
Contributor

aanand commented Jul 22, 2016

Closing in favour of #1130

@aanand aanand closed this Jul 22, 2016
@shin- shin- deleted the dgageot-fix-1123 branch September 14, 2016 00:35
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.

4 participants