Commit c9dfa49
committed
pty: send EOF to monitor on EIO
Problem: The pty monitor callback is not called when the pty "follower"
has closed, i.e. all open handles using the pty have closed. However,
this would be extremely useful information to share with the monitor.
When an EIO error is receieved on the pty, send an EOF message to the
monitor (len == 0) to indicate there are no more pty users.1 parent 3882d20 commit c9dfa49
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
428 | 434 | | |
429 | 435 | | |
430 | 436 | | |
| |||
452 | 458 | | |
453 | 459 | | |
454 | 460 | | |
| 461 | + | |
455 | 462 | | |
456 | 463 | | |
457 | 464 | | |
| |||
0 commit comments