Skip to content

Fix: concurrency in server connection#2549

Open
valoq wants to merge 2 commits intogokcehan:masterfrom
valoq:concurrency
Open

Fix: concurrency in server connection#2549
valoq wants to merge 2 commits intogokcehan:masterfrom
valoq:concurrency

Conversation

@valoq
Copy link
Copy Markdown
Contributor

@valoq valoq commented Apr 25, 2026

The server can be accessed by multiple -remote calls at the same time
This PR just adds a mutex to make this safe and ensure that when a connection breaks, it does so cleanly.

This was flagged by static analysis and Im not sure if it really needs fixing, but its a minimal change. If there any any issues, we can just drop it.

Comment thread server.go Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants