You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Dominic Hamon (JIRA)" <ji...@apache.org> on 2014/11/11 20:11:34 UTC

[jira] [Commented] (MESOS-2071) Libprocess generates invalid HTTP

    [ https://issues.apache.org/jira/browse/MESOS-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14206849#comment-14206849 ] 

Dominic Hamon commented on MESOS-2071:
--------------------------------------

I agree with the HTTP 1.0 vs 1.1, and there's been some other discussion [here|https://issues.apache.org/jira/browse/MESOS-1625] about chunked encoding and whether it's even necessary.

Changing how the PID is stored in the UA field might cause some issues if users are checking it. We should probably send an email out to the user and dev lists before making this change.

> Libprocess generates invalid HTTP
> ---------------------------------
>
>                 Key: MESOS-2071
>                 URL: https://issues.apache.org/jira/browse/MESOS-2071
>             Project: Mesos
>          Issue Type: Bug
>          Components: libprocess
>    Affects Versions: 0.18.1, 0.19.1, 0.20.1
>            Reporter: Dario Rexin
>            Priority: Minor
>              Labels: newbie, patch
>
> While working on a pure Scala driver for Mesos, I discovered that libprocess does not generate valid HTTP. It uses chunked encoding combined with HTTP 1.0, which has only been added in HTTP 1.1. Additionally it stores the PID in the User-Agent field with an incompatible format ('@' and ':' are not allowed).
> I already uploaded a patch to reviewboard: https://reviews.apache.org/r/27865/



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