Luiz Capitulino wrote:
I think we should abort() on error, assuming the only way to fail is a bad syntax.
We'll be using qobject_from_jsonf() to parse incoming QMP traffic. We definitely don't want to abort when we receive invalid input on the QMP port. Best to just close the session and let the user connect again.
Regards, Anthony Liguori