You can clone with
No one assigned
Expected behaviour: socket.setEncoding(null) sets socket._encoder = undefined;
Current behaviour: No behaviour.
socket._encoder = undefined;
Should be very easy to fix, should I send a patch for it? I am a bit unsure on how you work in here so I am a bit hesitant.
That sounds reasonable. Here's the steps:
Fix #3639 setEncoding(null) removes stream encoder
related to #2533