mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-16 08:18:51 +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 {
|
||||
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 {
|
||||
throw herr("unparseable message");
|
||||
}
|
||||
|
Reference in New Issue
Block a user