-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Milestone
Description
Please take a look at the discussion: https://groups.google.com/d/msg/golang-dev/tcl_XFLUfcE/V6JUoZD-DAAJ
The story is like the following:
- As described in x/net/{icmp,ipv4,ipv6}: replumbing in the net and internal/poll packages of go1.9 #19051, Go 1.9 breaks a few packages in golang.org/x/net repository,
- Yikes, I've just remembered that there's inherent fragility due to the runtime reflection hack. Let's fix it at the same time,
- How to repair the breakage? Looks like the required functionality traverses the net, internal/poll and syscall packages. Where is the best place to patch up?
- Do it in the syscall package, plus a bit in the net and internal/poll packages,
- Wait, can we add something new into the locked down package?
- No problem, because it's about exposing new functionality from the standard library for helping itself.