qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-7408) REST API streams compressed message content without a Content-Encoding header
Date Tue, 06 Sep 2016 08:18:20 GMT

    [ https://issues.apache.org/jira/browse/QPID-7408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15466792#comment-15466792

ASF subversion and git services commented on QPID-7408:

Commit 1759379 from orudyy@apache.org in branch 'java/trunk'
[ https://svn.apache.org/r1759379 ]

QPID-7408: [Java Broker] Prevent double compression and decompress compressed message content
if compression is unsupported on REST client

> REST API streams compressed message content without a Content-Encoding header
> -----------------------------------------------------------------------------
>                 Key: QPID-7408
>                 URL: https://issues.apache.org/jira/browse/QPID-7408
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.30, 0.32, qpid-java-6.0, qpid-java-6.1
>            Reporter: Keith Wall
>            Assignee: Alex Rudyy
>            Priority: Minor
>             Fix For: qpid-java-6.1
>         Attachments: new-compression-tests.diff
> The Broker for Java supports compressed messages.  If I view a compressed message through
the management console, the Broker sends the content to the client without a {{Content-Encoding}}
header, so the client treats the bytes as if they were uncompressed.  If the message's mime
type is {{text/*}}, I see seeming garbage instead of the inlined text content.  If the message's
mime type is something else the browser handles the content as if it were uncompressed.  This
could confused applications associated with the Browser.
> This could potentially hinder an operator.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message