mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-29 05:20:14 +03:00
The compute-to-client forwarding loops in ws_console and vnc_console had no WebSocketDisconnect handling: when a client (WebUI, or an MCP-driven websocat session killed by timeout) disconnected while the compute was still streaming console output, the next send raised WebSocketDisconnect that leaked all the way up to uvicorn as an ERROR-level ASGI traceback. Catch it and log at info level, symmetric with the receive-side handlers.