Skip to content

Server shutdown after use of websocket #35

Description

@sgallou

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions