[PR #109] [MERGED] net.LookupIP may cause deadlock in windows #527

Closed
opened 2026-02-27 23:17:19 +03:00 by kerem · 0 comments
Owner

📋 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: devHead: master


📝 Commits (4)

  • 62907ef Merge pull request #105 from snail007/dev
  • 68ad904 Merge pull request #106 from snail007/dev
  • bb933cf Merge pull request #108 from snail007/dev
  • dd8d7dd net.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.

## 📋 Pull Request Information **Original PR:** https://github.com/snail007/goproxy/pull/109 **Author:** [@boboanvip](https://github.com/boboanvip) **Created:** 7/11/2018 **Status:** ✅ Merged **Merged:** 7/11/2018 **Merged by:** [@snail007](https://github.com/snail007) **Base:** `dev` ← **Head:** `master` --- ### 📝 Commits (4) - [`62907ef`](https://github.com/snail007/goproxy/commit/62907efe0cf29e37d95fb6337a2071c4136051ad) Merge pull request #105 from snail007/dev - [`68ad904`](https://github.com/snail007/goproxy/commit/68ad9047721282ab7b9e57202b9c1babcab1707d) Merge pull request #106 from snail007/dev - [`bb933cf`](https://github.com/snail007/goproxy/commit/bb933cfb6e58d800aaa34907efdf0bf439357c35) Merge pull request #108 from snail007/dev - [`dd8d7dd`](https://github.com/snail007/goproxy/commit/dd8d7dd0d4b61fa9361d05c2b282327b24ff8b60) net.LookupIP may cause deadlock in windows ### 📊 Changes **3 files changed** (+30 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `services/http/http.go` (+1 -1) 📝 `services/socks/socks.go` (+1 -1) 📝 `utils/functions.go` (+28 -1) </details> ### 📄 Description https://github.com/golang/go/issues/24178 net.LookupIP在windows平台上,当电脑没有连接外网的情况下,会导致死锁,持续性的请求会导致进程句柄占用一直上涨。使用才超时的功能的context可以避免这个问题 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 23:17:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#527
No description provided.