Commit 9ae1a61
committed
node: ensure that streams2 won't
Stdin is purely read-only stream. Although, `net.Socket` might be used
to create it if stdin is in fact a Pipe or TCP socket, the
`stream.Duplex` should not try to call `.end()` on it.
Fix: #1068
PR-URL: #1233
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>.end() stdin1 parent 999fbe9 commit 9ae1a61
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| 633 | + | |
| 634 | + | |
633 | 635 | | |
634 | 636 | | |
635 | 637 | | |
| |||
0 commit comments