mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #74] [MERGED] Fix file descriptor leak in session.Do #208
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#208
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/Telmate/proxmox-api-go/pull/74
Author: @carlpett
Created: 2/22/2020
Status: ✅ Merged
Merged: 2/25/2020
Merged by: @ggongaware
Base:
master← Head:fix-fd-leak📝 Commits (1)
150277bFix file descriptor leak in session.Do📊 Changes
1 file changed (+10 additions, -0 deletions)
View changed files
📝
proxmox/session.go(+10 -0)📄 Description
Currently
session.Doleaks a file descriptor with every request, since we don't close the body. Thir PR makes sure the body will always be closed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.