mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[PR #109] [MERGED] net.LookupIP may cause deadlock in windows #527
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#527
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/snail007/goproxy/pull/109
Author: @boboanvip
Created: 7/11/2018
Status: ✅ Merged
Merged: 7/11/2018
Merged by: @snail007
Base:
dev← Head:master📝 Commits (4)
62907efMerge pull request #105 from snail007/dev68ad904Merge pull request #106 from snail007/devbb933cfMerge pull request #108 from snail007/devdd8d7ddnet.LookupIP may cause deadlock in windows📊 Changes
3 files changed (+30 additions, -3 deletions)
View changed files
📝
services/http/http.go(+1 -1)📝
services/socks/socks.go(+1 -1)📝
utils/functions.go(+28 -1)📄 Description
https://github.com/golang/go/issues/24178
net.LookupIP在windows平台上,当电脑没有连接外网的情况下,会导致死锁,持续性的请求会导致进程句柄占用一直上涨。使用才超时的功能的context可以避免这个问题
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.