Skip to content

Switch from golang.org/x/net/websocket to nhooyr.io/websocket and handle NotFound errors #105

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

Merged
merged 7 commits into from
Jul 4, 2023

Conversation

edigaryev
Copy link
Collaborator

@edigaryev edigaryev commented Jul 4, 2023

golang.org/x/net/websocket hides the underlying HTTP error when upgrading the WebSocket connection nor provides a *http.Response for the consumer to craft their own error and overall seems to be deprecated: golang/go#33215, golang/go#18152.

Resolves #97.

@edigaryev edigaryev merged commit 6a325da into main Jul 4, 2023
@edigaryev edigaryev deleted the websocket-package-switch branch July 4, 2023 14:10
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.

orchard ssh vm <id> may yield Error #01: store entry not found
2 participants