Commit a7130245 authored by Trevor Norris's avatar Trevor Norris
Browse files

net: don't throw on bytesWritten access

If bytesWritten is accessed before the object has been properly
constructed then return undefined.

Fixes: https://github.com/nodejs/node/issues/3298
PR-URL: https://github.com/nodejs/node/pull/3305


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 3202456b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment