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

Server shutdown after use of websocket #35

Open
sgallou opened this issue Mar 29, 2022 · 0 comments
Open

Server shutdown after use of websocket #35

sgallou opened this issue Mar 29, 2022 · 0 comments

Comments

@sgallou
Copy link
Contributor

sgallou commented Mar 29, 2022

Hi,

I face a similar issue as this one for oatpp main project with websocket : when shutting down the server after websocket usage, existing connection handler tasks are not stopped (ConnectionHandler::stop() do nothing and ConnectionHandler::Task instances are detached threads).
Is there a way to gracefully close websocket connections without to exit the app ?

Context :

  • Visual Studio 2019
  • No use of OATPP macros

Thanks,

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