Malformed Input

Malformed Input

These tests send pathological, oversized, or completely invalid payloads. The goal is not RFC compliance (there’s no RFC section for “what to do with binary garbage”) — it’s robustness. A well-implemented server should reject gracefully, not crash, hang, or consume unbounded resources.

Expected Behavior

  • Binary garbage / empty / incomplete: 400, close, or timeout — the server may not even recognize a request was attempted
  • Oversized fields: 400, 414 URI Too Long, 431 Request Header Fields Too Large, or close
  • Invalid bytes (NUL, control chars, non-ASCII): 400 or close
  • Integer overflow: 400 or close

Tests

Unscored