-
Notifications
You must be signed in to change notification settings - Fork 581
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
send timeout #51
Comments
Could you explain a use case? |
I've written a server application, that sends status updates to the client (browser), if something has happened and that could be 20 times a second or so. In this case, sometimes the message never arrives the client and all the following messages too and then the server application consumes more and more memory. In another case I get hundreds of warnings like: "11/1/2012 4:08:01 PM [Warn] Data sent after close. Ignoring." |
Sounds reasonable. I'd take a pull request for setting a default send timeout. |
Thank you. |
Given Send now returns a Task, you could combine that with a timer task, and respond on the first to return. |
is it possible to set a timeout for the IWebSocketConnection.Send() method or to build it in a future release?
The text was updated successfully, but these errors were encountered: