analyzer: make http3/quic handling more reliable
This commit is contained in:
@@ -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++
|
||||
|
||||
Reference in New Issue
Block a user