GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing github.com — net: noop destroyed socket by ronag · Pull Request #30839 · nodejs/node Conversation
Member
_write and _read can be called from 'connect' after Refs: #30837 Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
ronag
force-pushed
the
net-destroy
branch
3 times, most recently
from
b82e63a to
0013206
Compare
_write and _read can be called from 'connect' after Socket.destroy() has been called. This should be a noop. Refs: nodejs#30837
lpinca
reviewed
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hm, I see. I can remove this. I still kind of like it since it makes it more explicit.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
| if (self.destroyed) { | |
| return; | |
| } |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@lpinca: given your feedback this PR doesn't seem to do anything. However, we do have a different bug. The callback for |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yes, and to be honest I think it is the right thing to do as discussed in #30596. No write done no callback, but I agree behavior was changed in #29028 so it should be consistent. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'm fine with either as long as it's consistent and documented. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.