mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-20 06:20:50 +01:00
A malformed first line got a "bad JSON" reply but kept the connection open until the auth deadline, unlike `texturecraft-cli serve` and the documented one-attempt rule. It now closes the connection while unauthenticated; after auth a malformed line still only gets the error reply. Adds a regression test and doc comments on the touched functions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>