Files
node/test/parallel
Daeyeon Jeong 29bcd47738 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

PR-URL: https://github.com/nodejs/node/pull/43010
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
2022-07-25 21:44:27 -04:00
..
2020-10-17 00:48:26 +02:00
2018-12-10 17:07:18 +01:00
2022-02-05 08:36:48 -08:00
2022-02-21 12:34:13 +00:00
2020-10-17 00:48:26 +02:00
2020-01-03 01:44:54 +01:00
2017-07-03 11:39:35 -07:00
2020-10-17 00:48:26 +02:00
2017-11-26 08:47:33 -08:00
2017-11-10 14:27:52 -05:00
2017-06-21 03:40:27 +03:00
2022-07-12 07:41:46 +02:00
2019-03-20 07:48:25 -07:00