Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(healthcheck): add websocket report#7689

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
coadler merged 8 commits intomainfromcolin/healthcheck-ws
May 30, 2023
Merged

Conversation

coadler
Copy link
Contributor

No description provided.

@coadlercoadler self-assigned thisMay 26, 2023
@coadlercoadler marked this pull request as ready for reviewMay 30, 2023 17:21
Comment on lines 85 to 87
c, err := websocket.Accept(rw, r, &websocket.AcceptOptions{})
if err != nil {
httpapi.Write(ctx, rw, http.StatusBadRequest, "Invalid websocket.")
Copy link
Member

Choose a reason for hiding this comment

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

Should reply with the error from above because it may be useful for debugging e.g. "the host doesn't match origin". And then make the client code read the error

matifali reacted with thumbs up emoji
@coadlercoadler merged commit022372d intomainMay 30, 2023
@coadlercoadler deleted the colin/healthcheck-ws branchMay 30, 2023 19:22
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMay 30, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@coadlercoadler

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@coadler@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp