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

[BUG] <SRV send msg to client and close the conn right no, client can't receive the msg> #903

Closed
1 task done
go-slark opened this issue Mar 13, 2024 · 1 comment
Closed
1 task done
Labels

Comments

@go-slark
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

client can't receive msg from client

Expected Behavior

client can receive msg from srv

Steps To Reproduce

// srv pseudo code
ws.Send(msg)
ws.Close()

Anything else?

// srv pseudo code
ws.Send(msg)
time.sleep(time.second)
ws.Close()
// In this case, client can receive msg from srv

@go-slark go-slark added the bug label Mar 13, 2024
@jaitaiwan
Copy link

Hi, other folks who use this library have no issues with a basic send. Are you able to provide further information?

To me it seems like you're client isn't ready when the first message is sent which is a client issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants