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

websocket timeout #69

Closed
annakozyreva1 opened this issue Nov 13, 2018 · 2 comments
Closed

websocket timeout #69

annakozyreva1 opened this issue Nov 13, 2018 · 2 comments

Comments

@annakozyreva1
Copy link

In the web socket mode, the send function hangs up at different times. In the library code comes to

w.conn.WriteMessage (websocket.TextMessage, [] byte (frame));

helps deadline w.conn.SetWriteDeadline(time.Now().Add(time.Second))

Why can this happen it? Add deadline please as soon as possible.

@annakozyreva1
Copy link
Author

I checked it work! 18b2a05 commit Please merge to master

@igm
Copy link
Owner

igm commented Nov 15, 2018

thanks @FZambia

@igm igm closed this as completed Nov 15, 2018
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

2 participants