Commit 01cb3fc3 authored by Trevor Norris's avatar Trevor Norris Committed by James M Snell
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 42b936e7
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