-
Notifications
You must be signed in to change notification settings - Fork 635
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
async_close do not recv peer close frame #2916
Comments
Have you set a timeout on the stream? https://www.boost.org/doc/libs/1_85_0/libs/beast/doc/html/beast/using_websocket/timeouts.html |
I do not use timeout, I want to close it quickly and reconnect, just like force close not graceful, is there some method? |
|
you mean direct use |
Yes, that would have the same effect as closing the underlying socket. |
I use
async_close
to close the socket, but after 5min recv callback, have any method to force close the connection, and not wait the close framemay be I should call
after that I want to do reconnect
it is right?
thanks
The text was updated successfully, but these errors were encountered: