matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: Socket connection without timeout in daemon client

Open andrinoff opened this issue 7 months ago • 2 comments

Describe the bug Daemon client at daemonclient/client.go:26 uses net.Dial without timeout context. Can block indefinitely on unresponsive daemon.

To reproduce

  1. Start matcha with daemon stopped
  2. net.Dial("unix", sockPath) blocks forever
  3. 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

andrinoff avatar Apr 21 '26 14:04 andrinoff

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.

floatpanebot avatar May 22 '26 06:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar Jun 04 '26 19:06 floatpanebot