When a responder sends back a response payload in JSON, if the JSON is malformed (or GSON fails in the parsing), the client does not report anything. It would be better if the client at least reported if a response came in that failed on parse. Perhaps this should be an option for debugging as in production, if you got a response DoS attack, it could be annoying and fill up logs.
When a responder sends back a response payload in JSON, if the JSON is malformed (or GSON fails in the parsing), the client does not report anything. It would be better if the client at least reported if a response came in that failed on parse. Perhaps this should be an option for debugging as in production, if you got a response DoS attack, it could be annoying and fill up logs.