Right now we do not enforce that a given HTTP or JSON object actually has valid structure. For instance, 512b block of zeros will pass through HTTP possibly. HTTP at least needs a start line (and likely needs a header).
JSON actually can quickly enable this check -- in essence the stack machine must be reset after the block is parsed.
Tasks
[ ] Determine weakest valid HTTP structure
[ ] Enforce this structure is met for HTTP in-circuit.
[ ] Re-enable JSON structure enforcement (i.e., final state of machine is zeroed after parsing completely).
Right now we do not enforce that a given HTTP or JSON object actually has valid structure. For instance, 512b block of zeros will pass through HTTP possibly. HTTP at least needs a start line (and likely needs a header).
JSON actually can quickly enable this check -- in essence the stack machine must be reset after the block is parsed.
Tasks