diff options
Diffstat (limited to 'lib/internal/net.js')
-rw-r--r-- | lib/internal/net.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/net.js b/lib/internal/net.js index 9c2602b79e..78e155e055 100644 --- a/lib/internal/net.js +++ b/lib/internal/net.js @@ -32,7 +32,7 @@ function makeSyncWrite(fd) { if (enc !== 'buffer') chunk = Buffer.from(chunk, enc); - this._bytesDispatched += chunk.length; + this._handle.bytesWritten += chunk.length; const ctx = {}; writeBuffer(fd, chunk, 0, chunk.length, null, undefined, ctx); |