Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stream_wrap: error if stream has StringDecoder
If `.setEncoding` was called on input stream - all emitted `data` will be `String`s instances, not `Buffer`s. This is unacceptable for `StreamWrap`, and should not lead to the crash. Fix: #3970 PR-URL: #4031 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
- Loading branch information