oatpp / oatpp-websocket

oatpp-websocket submodule.

Home Page:https://oatpp.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server shutdown after use of websocket

sgallou opened this issue · comments

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,