Details
-
Improvement
-
Status: Accepted
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Currently we validate HTTP requests in multiple places in libprocess, for instance ProcessManager::handle(), StreamingRequestDecoder::decode(), process::parse(). To improve error handling when dealing with malformed HTTP requests (including libprocess messages), consider introducing a validation stage and / or make sure Request and all its components are in valid state before we start using it.