You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make it possible to forcibly rest a tcp socket:
* add a new method `Socket.prototype.resetAndDestroy`
* add a new flag `resetAndClosing` to make `_destroy` calls
the `reset` instead of close while destroying a Socket.
* add new methods `TCPWrap::Reset` to be a wrap of `uv_tcp_close_reset`
* change `HandleWrap::state_` from private to protected.
This is essential for keeping the same behaviour between
`TCPWrap::Reset` and `HandleWrap::Close`
Fixes: nodejs#27428
0 commit comments