Commit f031e03
io UPDATE dont fail on SSH_EOF in nc_write
If we receiver SSH_EOF in nc_write, it means that the peer won't be
sending anything anymore, but it can still receive, so we shouldn't
fail. This doesn't apply to nc_read, where it's still valid to fail.1 parent 41138bc commit f031e03
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
| 606 | + | |
| 607 | + | |
612 | 608 | | |
613 | 609 | | |
614 | 610 | | |
| |||
0 commit comments