StyxX65 dd19be8bbf Close leaked listening socket on update restart
Werkzeug sets its server socket inheritable unconditionally, so the
os.execv restart carried it into the new process as a zombie listener:
one PID listening on both 5100 (never accepted) and 5101 (the real
server). Mark all fds above stderr close-on-exec before exec'ing so
the old socket dies and the new server rebinds the original port.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 15:01:17 +02:00
..
2026-04-11 04:38:11 +02:00
2026-04-11 04:38:11 +02:00
2026-05-28 10:51:23 +02:00
2026-05-28 10:51:23 +02:00
2026-04-11 04:38:11 +02:00
2026-05-28 10:51:23 +02:00
2026-05-28 10:51:23 +02:00
2026-05-28 10:51:23 +02:00
2026-05-28 10:51:23 +02:00
2026-04-11 04:38:11 +02:00
2026-04-11 04:38:11 +02:00
2026-05-28 10:51:23 +02:00