net: fix socket.bytesWritten Buffers support
Buffer.byteLength() works only for string inputs. Thus, when connection has pending Buffer to write, it should just use it's length instead of throwing exception.
parent
eeb4c321
Please register or sign in to comment