mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #1271] [MERGED] resp.Body must be closed after function return #4348
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#4348
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/fatedier/frp/pull/1271
Author: @jiajunhuang
Created: 5/30/2019
Status: ✅ Merged
Merged: 5/31/2019
Merged by: @fatedier
Base:
dev← Head:resp_body_should_be_closed📝 Commits (2)
75383a9resp.Body must be closed after function return2d24879fix📊 Changes
4 files changed (+134 additions, -118 deletions)
View changed files
📝
cmd/frpc/sub/reload.go(+10 -11)📝
cmd/frpc/sub/status.go(+65 -63)📝
go.sum(+15 -0)📝
tests/util/util.go(+44 -44)📄 Description
whether it's success or fail, otherwise it will cause memory leak
ref: https://golang.org/pkg/net/http/
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.