Pulse/cmd
rcourtman 87507d0353 fix(sensor-proxy): Make nodeGate.acquire() context-aware to prevent goroutine leaks
The acquire() function blocked indefinitely without respecting context
cancellation. When clients disconnect while waiting for the per-node
lock, goroutines would remain blocked forever, connections accumulate
in CLOSE_WAIT state, and rate limiter semaphores are never released.

Added acquireContext() that respects context cancellation and updated
both HTTP and RPC handlers to use it. This prevents:
- Goroutine leaks from cancelled requests
- CLOSE_WAIT connection accumulation
- Cascading failures from filled semaphores

Related to #832
2025-12-10 20:47:33 +00:00
..
hashpw Add hashpw utility for generating password hashes 2025-11-06 16:46:56 +00:00
pulse Rebuild agent token bindings on API token config reload 2025-11-29 14:09:30 +00:00
pulse-agent Add health/metrics server and proper cleanup to unified agent 2025-12-02 22:42:05 +00:00
pulse-docker-agent Add unit tests for parseLogLevel and splitStringList (dockeragent) 2025-11-30 06:50:09 +00:00
pulse-host-agent Add unit tests for pulse-host-agent utility functions 2025-11-30 08:17:18 +00:00
pulse-sensor-proxy fix(sensor-proxy): Make nodeGate.acquire() context-aware to prevent goroutine leaks 2025-12-10 20:47:33 +00:00