Skip to content

Support for TCP upgrade #1126

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

Closed
wants to merge 4 commits into from
Closed

Support for TCP upgrade #1126

wants to merge 4 commits into from

Conversation

shin-
Copy link
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>
@@ -105,7 +105,7 @@ def read_data(socket, packet_size):
while len(data) < packet_size:
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
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
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