[PR #223] [MERGED] fix: session race condition #226

Closed
opened 2026-03-03 15:30:47 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/luthermonson/go-proxmox/pull/223
Author: @sergelogvinov
Created: 12/17/2025
Status: Merged
Merged: 12/17/2025
Merged by: @luthermonson

Base: mainHead: auth-race


📝 Commits (1)

  • 9a61f14 fix: session race condition

📊 Changes

2 files changed (+33 additions, -4 deletions)

View changed files

📝 access.go (+18 -0)
📝 proxmox.go (+15 -4)

📄 Description

Use a mutex before checking the c.session variable.

This issue occurs only when using the username/password authentication method.

Thanks.


🔄 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/luthermonson/go-proxmox/pull/223 **Author:** [@sergelogvinov](https://github.com/sergelogvinov) **Created:** 12/17/2025 **Status:** ✅ Merged **Merged:** 12/17/2025 **Merged by:** [@luthermonson](https://github.com/luthermonson) **Base:** `main` ← **Head:** `auth-race` --- ### 📝 Commits (1) - [`9a61f14`](https://github.com/luthermonson/go-proxmox/commit/9a61f1473951a7be27ed8e8284c0cf0b10df48cb) fix: session race condition ### 📊 Changes **2 files changed** (+33 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `access.go` (+18 -0) 📝 `proxmox.go` (+15 -4) </details> ### 📄 Description Use a mutex before checking the c.session variable. This issue occurs only when using the username/password authentication method. Thanks. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem closed this issue 2026-03-03 15:30:48 +03:00
Sign in to join this conversation.
No labels
pull-request
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/go-proxmox#226
No description provided.