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

net: ensure Socket reported address is current#25753

Closed
rmg wants to merge 1 commit intonodejs:masterfrom
rmg:node-0.12-no-reuse-sockname
Closed

net: ensure Socket reported address is current#25753
rmg wants to merge 1 commit intonodejs:masterfrom
rmg:node-0.12-no-reuse-sockname

Conversation

@rmg
Copy link
Copy Markdown

@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
Copy Markdown
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