Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

net: ensure Socket reported address is current #25753

Closed
wants to merge 1 commit into from
Closed

net: ensure Socket reported address is current #25753

wants to merge 1 commit into from

Conversation

rmg
Copy link

@rmg rmg commented Jul 22, 2015

Any time the connection state or the underlying handle itself changes,
the socket's name (aka, local address) can change.

To deal with this we need to reset the cached sockname any time we
set or unset the internal handle or an existing handle establishes a
connection.

Fixes #25621
Same PR on iojs: nodejs/node#2095

Any time the connection state or the underlying handle itself changes,
the socket's name (aka, local address) can change.

To deal with this we need to reset the cached sockname any time we
set or unset the internal handle or an existing handle establishes a
connection.
@jasnell
Copy link
Member

jasnell commented Aug 16, 2015

@rmg .. this should be closed here. I believe the PR landed over on the nodejs/node side. Can reopen this if necessary

@jasnell jasnell closed this Aug 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants