Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

[v11] Fix websocket close (#1463) #1470

Merged
merged 2 commits into from
Dec 29, 2022

Conversation

ibeckermayer
Copy link
Contributor

backports #1463 to teleport-v11

In #1442 we added a close code when closing websockets, but didn't
properly adhere to the API. When explicitly setting a close code,
you must either use the normal code or use a custom code. Usage of
the standard codes in the 1001-1015 range is reserved for the browser.

Fixes gravitational/teleport#19688

Co-authored-by: Isaiah Becker-Mayer <isaiah@goteleport.com>
@ibeckermayer ibeckermayer enabled auto-merge (squash) December 29, 2022 18:45
@ibeckermayer ibeckermayer merged commit 2e0e0fc into teleport-v11 Dec 29, 2022
@zmb3 zmb3 deleted the isaiah/backport-1463-teleport-v11 branch January 6, 2023 23:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants