File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1866,8 +1866,10 @@ during a session now sees the diversions, not the wire.
18661866
18671867One pattern needs migrating: a watchdog thread that ` poll() ` s fd 0 for ` POLLHUP ` to
18681868detect a vanished client will no longer fire, because the null device never reports
1869- it. Watch the parent process instead (for example, exit when ` os.getppid() `
1870- changes); that works on both v1 and v2 and does not depend on descriptor layout.
1869+ it (a POSIX-specific pattern; ` select.poll ` does not exist on Windows). Watch the
1870+ parent process instead: on POSIX, exit when ` os.getppid() ` changes, which happens
1871+ when the client dies because orphaned processes are reparented. That works on both
1872+ v1 and v2 and does not depend on descriptor layout.
18711873
18721874### WebSocket transport removed
18731875
You can’t perform that action at this time.
0 commit comments