lib,test: fix bug in InternalSocketAddress
InternalSocketAddress
must set [kDetails]
in order for the inherited properties to function correctly.
Cherry-picked from @jasnell's #44325 in order to make the QUIC PR simpler to review (with his permission). This change makes sense even without the QUIC PR.
I added a test case for InternalSocketAddress
to test-socketaddress.js
, which is not part of the original commit.