Revision c024d2d8
ID | c024d2d8c04405bc112226796c8d10421f58d441 |
Parent | b58efe77 |
Child | d59beb9f |
streams: both `finish` and `close` should unpipe
Otherwise sockets that are 'finish'ed won't be unpiped and `writing to
ended stream` error will arise.
This might sound unrealistic, but it happens in net.js. When
`socket.allowHalfOpen === false`, EOF will cause `.destroySoon()` call which
ends the writable side of net.Socket.
Files
- added
- modified
- copied
- renamed
- deleted