-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.Issues that may be good for new contributors looking for work to do.help wanted
Milestone
Description
From comment on closed issue: #6732 (comment)
The http server sets LocalAddrContextKey
in Serve(Listener)
before any accept.
So if you pass a Listener
listening on 0.0.0.0, that is what LocalAddrContextKey
will say also. The current implementation considered only the case of distinguishing between multiple explicit listeners, not distinguishing the addresses arriving on a wildcard interface.
Instead, we should set the context value after an accept takes place.
/cc @SpComb
SpComb, rekby and pquernatmthrgd
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.Issues that may be good for new contributors looking for work to do.help wanted