mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-17 16:58:50 +00:00
Merge pull request #29 from fiatjaf/websocat-friendly
be friendly to people using websocat to debug
This commit is contained in:
@ -63,6 +63,9 @@ void RelayServer::runIngester(ThreadPool<MsgIngester>::Thread &thr) {
|
|||||||
} else {
|
} else {
|
||||||
throw herr("unrecognised yesstr request");
|
throw herr("unrecognised yesstr request");
|
||||||
}
|
}
|
||||||
|
} else if (msg->payload == "\n") {
|
||||||
|
// Do nothing.
|
||||||
|
// This is for when someone is just sending newlines on websocat for debugging purposes.
|
||||||
} else {
|
} else {
|
||||||
throw herr("unparseable message");
|
throw herr("unparseable message");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user