Permalink
Browse files

Fixed bytesWritten error

  • Loading branch information...
1 parent 400df25 commit 16ef4e2a549eee20b6ebca7dfcb119a8dcd0ef51 @samalba samalba committed Mar 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/worker.js
View
@@ -410,7 +410,7 @@ Worker.prototype.runServer = function (config) {
return JSON.stringify({
remoteAddress: remoteAddress,
remotePort: remotePort,
- bytesWritten: connection.bytesWritten,
+ bytesWritten: connection._bytesDispatched,
bytesRead: connection.bytesRead,
elapsed: (Date.now() - start) / 1000
});

0 comments on commit 16ef4e2

Please sign in to comment.