AntiPattern
WebSocket Connectivity Breaks
websocket-middleware-cors-eventloop-blocking
WebSocket endpoints fail to connect or behave inconsistently because the stack mismatches HTTP middleware/CORS expectations and non-yielding work blocks the event loop, so requests hang silently or only succeed in specific clients like Postman.