Skip to content

test: add missing HTTP analyzer test coverage #20

@Zious11

Description

@Zious11

Summary

Test coverage review identified 7 gaps at criticality >= 7/10:

  1. Garbage input recovery — send binary data, verify buffer cleared and subsequent valid HTTP works
  2. Buffer cap (64KB) — verify headers > 64KB don't cause unbounded growth or panic
  3. Long URI detection — test URI > 2048 chars triggers Execution finding
  4. Empty User-Agent detection — test empty vs missing UA distinction
  5. Admin panel detection — test /wp-admin, /phpmyadmin patterns
  6. Partial response reassembly — split response across chunks
  7. Multiple concurrent flows — verify flow isolation (different FlowKeys)

Context

Found in HTTP analyzer test coverage review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyzerProtocol analyzer modulesprotocol:httpHTTP protocol analysistestTest coverage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions