[
https://issues.apache.org/jira/browse/MESOS-5990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15563174#comment-15563174
]
Joseph Wu commented on MESOS-5990:
----------------------------------
An incomplete patch showing a part of what needs to be done:
https://reviews.apache.org/r/52701/
> 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
> Labels: newbie
>
> 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)