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

client hangs on 404 with some arbitrary json payload #9

Open
Pavel-Husakouski opened this issue Jan 24, 2025 · 0 comments
Open

client hangs on 404 with some arbitrary json payload #9

Pavel-Husakouski opened this issue Jan 24, 2025 · 0 comments

Comments

@Pavel-Husakouski
Copy link

Pavel-Husakouski commented Jan 24, 2025

Looks like it is not enough just to look at 204 :-) 404 causes the infinite look so as any other except 204

 // HTTP 204 means "close the connection, no more data will be sent"
    if (status === 204) {
      onDisconnect()
      close()
      return
    }
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

No branches or pull requests

1 participant