diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2025-12-03 21:44:35 -0800 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2025-12-03 21:44:35 -0800 |
| commit | bf27244c41f00ca594898fa1593289aba5071de4 (patch) | |
| tree | 1f3861f90aa17372f5324c90abbae05f93293900 /.github | |
| parent | 3cf1a74876f5576f05257996f2246db4c41343c6 (diff) | |
Fix race conditions, memory leak, and goroutine leak in Client
- Add mutex to protect activeTasks map and connection writes
- Fix nil pointer dereference when handling replies with unknown IDs
- Clean up activeTasks entries after processing replies (memory leak)
- Add done channel to allow keepalive goroutine to exit on Disconnect
- Use io.ReadFull in Handshake to ensure complete reads
- Fix misleading error message when handshake response is unexpected
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions