Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: set LocalAddrContextKey after conn accepted #18686
From comment on closed issue: #6732 (comment)
The http server sets
So if you pass a
Instead, we should set the context value after an accept takes place.
This was referenced
Jan 17, 2017
Why it planned to go 1.9 instead go 1.8.1? I think it is very small change - small fix small bug, no language change.
I need local ip too for https://github.com/rekby/lets-proxy it need to route requests.
Now I have forked http package to own copy for workaround the problem and wait solve in standard library.