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

net.LookupIP may cause deadlock in windows #109

Merged
merged 4 commits into from
Jul 11, 2018
Merged

Conversation

boboanvip
Copy link
Contributor

golang/go#24178
net.LookupIP在windows平台上,当电脑没有连接外网的情况下,会导致死锁,持续性的请求会导致进程句柄占用一直上涨。使用才超时的功能的context可以避免这个问题

@snail007 snail007 changed the base branch from master to dev July 11, 2018 12:47
@snail007 snail007 merged commit db13b83 into snail007:dev Jul 11, 2018
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