matcha
matcha copied to clipboard
BUG: Socket connection without timeout in daemon client
Describe the bug Daemon client at daemonclient/client.go:26 uses net.Dial without timeout context. Can block indefinitely on unresponsive daemon.
To reproduce
- Start matcha with daemon stopped
- net.Dial("unix", sockPath) blocks forever
- Application hangs
Expected behavior Use net.DialTimeout or context with deadline
Matcha version master
OS All
Additional context File: daemonclient/client.go line 26 Missing timeout on unix socket dial
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.