analyzer: make http3/quic handling more reliable
Some checks failed
Quality check / Static analysis (push) Has been cancelled
Quality check / Tests (push) Has been cancelled

This commit is contained in:
2026-02-11 15:32:29 +05:30
parent 20294716e3
commit fdfe61457c
4 changed files with 34 additions and 0 deletions

View File

@@ -270,6 +270,11 @@ func extractCryptoFrames(r *bytes.Reader) ([]CryptoFrame, error) {
return nil, err
}
default:
// Unknown/extension frame type: if we already collected CRYPTO
// frames, return them instead of failing hard.
if len(frames) > 0 {
return frames, nil
}
return nil, fmt.Errorf("unsupported frame type: %d", typ)
}
}