ComfyUI/tests-unit/server_test
Harshit Chaudhary a4342e9aa1 fix: catch OSError in websocket send to prevent server crash send_socket_catch_exception only caught ConnectionError and its
subclasses (ConnectionResetError, BrokenPipeError). When a client
  becomes unreachable mid-generation (laptop sleeps, drops off WiFi),
  the OS raises OSError: [Errno 113] No route to host (EHOSTUNREACH),
  which is a sibling of ConnectionError, not a subclass. It therefore
  escaped the handler, propagated through publish_loop, and could crash
  the entire server over a single dead client.
2026-06-15 01:55:17 +05:30
..
test_cache_control.py fix: use no-store cache headers to prevent stale frontend chunks (#12911) 2026-03-14 18:25:09 -04:00
test_send_socket_catch_exception.py fix: catch OSError in websocket send to prevent server crash send_socket_catch_exception only caught ConnectionError and its 2026-06-15 01:55:17 +05:30