- Refactor websocket service internals: move `ioc_`, `ctx_`, `run_`, `service_thread_`, and `init_service_thread_` from `extern` globals in `slick::net::detail` into anonymous-namespace locals in `websocket.cpp`; replace direct access with the accessor functions `websocket_ioc()`, `websocket_ssl_context()`, and `websocket_running()`, and the lifecycle functions `start_websocket_service()` / `stop_websocket_service()`. This hides internal state from the header and eliminates ODR-unsafe `extern` declarations.
0 commit comments