Skip to content

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

R=@bnoordhuis

CI: https://ci.nodejs.org/job/node-test-pull-request/470/

Merge request reports

Loading