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:36:05 +05:30
parent fdfe61457c
commit a6075db4ba
2 changed files with 38 additions and 5 deletions

View File

@@ -49,11 +49,6 @@ func (s *quicStream) Feed(rev bool, data []byte) (u *analyzer.PropUpdate, done b
// + compression methods (2 bytes) + no extensions
const minDataSize = 41
if rev {
// Ignore server direction; we only parse client initial data.
return nil, false
}
frs, err := quic.ReadCryptoFrames(data)
if err != nil || len(frs) == 0 {
s.invalidCount++