You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2019/02/14 17:34:00 UTC

[jira] [Commented] (MESOS-9490) Support accepting gzipped responses in libprocess

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

Benjamin Mahler commented on MESOS-9490:
----------------------------------------

[~bennoe] hm.. this should be supported, are you referring to the http client library? Can you show some code to reproduce and the error? I suspect however you tested this is going through the streaming response decoder which does not support it:

https://github.com/apache/mesos/blob/1.7.1/3rdparty/libprocess/src/decoder.hpp#L698-L704

> Support accepting gzipped responses in libprocess
> -------------------------------------------------
>
>                 Key: MESOS-9490
>                 URL: https://issues.apache.org/jira/browse/MESOS-9490
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Benno Evers
>            Priority: Major
>              Labels: libprocess
>
> Currently all libprocess endpoints support the serving of gzipped responses when the client is requesting this with an `Accept-Encoding: gzip` header.
> However, libprocess does not support receiving gzipped responses, failing with a decode error in this case.
> For symmetry, we should try to support compression in this case as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)