-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.bytesWritten on several objects results in "TypeError: Cannot read property 'getBuffer' of undefined" when accessed #3298
Labels
net
Issues and PRs related to the net subsystem.
Comments
Know what the issue is. I'll post a fix later today. |
trevnorris
added a commit
to trevnorris/node
that referenced
this issue
Oct 12, 2015
If bytesWritten is accessed before the object has been properly constructed then return undefined. Fixes: nodejs#3298
Actually fixed by a713024 |
This was referenced May 13, 2024
This was referenced May 22, 2024
This was referenced May 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output from my tooling running on 4.1.2: (Not sure all versions affected yet)
I'm betting a single fix will fix all of them and that it is shared.
Repro:
JS:
output:
The text was updated successfully, but these errors were encountered: