mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-26 16:05:55 +03:00
[GH-ISSUE #564] 关于proxy关闭上下游连接时机的疑问 #455
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#455
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?
Originally created by @Gypsying on GitHub (Jun 4, 2024).
Original GitHub issue: https://github.com/snail007/goproxy/issues/564
github.com/snail007/goproxy@853d324ee6/services/http.go (L144)在IoBind过程中,不管是上下游的哪一方连接出现err,proxy都会把两个连接都close掉,这个行为是不是不太合理?
不考虑具体的err直接粗暴的关闭连接会不会造成数据丢失的问题?