Files
soundcraft/docs
oracola91 21d02347e1 Control server: close the connection after a line that isn't a request (#1414)
A line that was not JSON got a "bad JSON" error reply and the server kept
reading the same connection. A JSON value that was not an object, or had no
string `method`, was forwarded to the UI as a request with an empty method.

Now a line that is not a JSON object with a string `method` gets one error
reply and the connection is closed, as in the other Craft apps' control
servers. Control clients send one request object per line, so a peer that
sends anything else is not one, and nothing it sends after that line is run.
Valid requests and blank lines are handled as before.

The protocol doc says so next to the error format.
2026-11-13 01:43:08 +01:00
..
2026-10-13 06:45:20 -04:00
2026-10-31 04:25:42 +00:00