Benjamin Mahler created MESOS-5990:
--------------------------------------

             Summary: Expose http parser errors.
                 Key: MESOS-5990
                 URL: https://issues.apache.org/jira/browse/MESOS-5990
             Project: Mesos
          Issue Type: Improvement
          Components: libprocess
            Reporter: Benjamin Mahler
            Priority: Minor


We use [joyent/http-parser|https://github.com/nodejs/http-parser] to decode 
HTTP requests. Since initial integration, http-parser has been updated to 
expose error codes when decoding fails.

Currently the decoder only exposes a failure boolean, we can augment this to be 
an {{Option<Error>}} or equivalent that includes the error message to improve 
logging.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to