Skip to content
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

Do not forward websocket close codes that are invalid on the wire #134

Merged
merged 1 commit into from
May 23, 2018

Conversation

jd3nn1s
Copy link
Contributor

@jd3nn1s jd3nn1s commented Apr 26, 2018

Fixes #133

Mirrors the behavior of AWS' ALB. If the client TCP connection closes without a close frame, just close the underlying TCP connection gracefully.

Copy link
Contributor

@juliens juliens left a comment

Choose a reason for hiding this comment

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

LGTM

@jd3nn1s
Copy link
Contributor Author

jd3nn1s commented May 3, 2018

Is the test failure related? It doesn't look like it to me.

@ldez
Copy link
Member

ldez commented May 3, 2018

@jd3nn1s amend (no-edit) your commit to relaunch the build.
The failure is not related to your changes, it's a flaky test (#125)

@jd3nn1s jd3nn1s force-pushed the master branch 7 times, most recently from 882e036 to 8f6b928 Compare May 6, 2018 04:12
@m3co-code
Copy link

Another try? I'm also looking forward for this fix :)

@jd3nn1s jd3nn1s force-pushed the master branch 2 times, most recently from 5f533f9 to c9988e5 Compare May 8, 2018 05:18
@jd3nn1s
Copy link
Contributor Author

jd3nn1s commented May 10, 2018

I've actually retried 10 times; it failed every time. Looks like there are a few different combinations of test failure.

@juliens
Copy link
Contributor

juliens commented May 16, 2018

I fix the problem on master, could you rebase?

@jd3nn1s
Copy link
Contributor Author

jd3nn1s commented May 19, 2018

This is passing now.

Copy link
Contributor

@emilevauge emilevauge left a comment

Choose a reason for hiding this comment

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

LGTM

@emilevauge emilevauge merged commit 664c58f into vulcand:master May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Web Socket forwarder forwards close codes that are not valid on the wire
5 participants