Skip to content

Unknown control message types silently ignored — no default handler #223

Description

@d0ugal

Summary

The daemon handler's message type switch has no `default` branch. A typo, stale client, or future client talking to an older daemon gets no response and can block indefinitely waiting for a control reply.

Suggested Fix

Add a default case that returns an error response naming the unsupported message type.

Found by: Codex (tribunal audit round 2 — finding #7)

Related: #50 (protocol version validation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions