]> git.ipfire.org Git - thirdparty/openssl.git/commit
Dump out qlog json if it is malformed
authorNeil Horman <nhorman@openssl.org>
Thu, 29 Feb 2024 17:01:31 +0000 (12:01 -0500)
committerNeil Horman <nhorman@openssl.org>
Sat, 2 Mar 2024 14:12:54 +0000 (09:12 -0500)
commit5677992679b38950c6a0c3775fd57378e1879ba5
tree7c3386484b5ca88c71f1c63153cfffbdaae82c97
parentfbce6ebf706cdd273f2569edfea7ade106426e0b
Dump out qlog json if it is malformed

We're still seeing periodic failures in qlog from malformed json output,
so lets try to catch it.

Modify the verify-qlog.py script to, in the event of an exception in
json.loads, to replay the entire json file to the console, followed by
an exception indicating what line it died trying to parse.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23715)
test/recipes/70-test_quic_multistream_data/verify-qlog.py