Skip to content

Commit

Permalink
ignore non-QUIC packets in trace analysis (quic-interop#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Koutny committed Jan 28, 2025
1 parent f57bcf2 commit 1c88489
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ def _get_packets(self, f: str) -> List:

if self._keylog_file is not None:
for p in packets:
if "quic" not in p:
logging.info("Captured packet without quic layer: %r", p)
continue
if hasattr(p["quic"], "decryption_failed"):
logging.info("At least one QUIC packet could not be decrypted")
logging.debug(p)
Expand Down

0 comments on commit 1c88489

Please sign in to comment.