Skip to content

net: fix socket._getpeername

Fixes: https://github.com/nodejs/node/issues/43009

If calling this._handle.getpeername returns an error at the first call, its result shouldn't be cached to this._peername.

Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com

Merge request reports

Loading