Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix go/issues/68082 for golang.org/x/net subproject #2

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

bobrofon
Copy link
Contributor

@bobrofon bobrofon commented Jul 27, 2024

I was trying to resolve the multicast functionality issue in yggdrasil-network/yggdrasil-go#1149, and I decided to try using the anet library as a first step. It did help me with golang/go#40569, but unfortunately, it didn't help with golang/go#68082.
I tried to dig dipper, and discovered that it's because yggdrasil-go uses the implementation of the net package provided by https://pkg.go.dev/golang.org/x/net instead of the core Go implementation (https://github.com/yggdrasil-network/yggdrasil-go/blob/4fbdeb4e3fd77dfc2bef8f9784bf14213d5461e4/go.mod#L17). And golang.org/x/net has different linkage name for zoneCache symbol.

I'm not sure if it's worthwhile to support golang.org/x/net in the anet package, but it may be helpful for some people.

@wlynxg
Copy link
Owner

wlynxg commented Jul 28, 2024

Thanks for your submission, could you please update the README file to elaborate on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants