[
https://issues.apache.org/jira/browse/KNOX-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16658998#comment-16658998
]
ASF subversion and git services commented on KNOX-1534:
-------------------------------------------------------
Commit 87d7291bd3bdfe498d6f692430b3d02fe47c21ab in knox's branch
refs/heads/master from [~risdenk]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=87d7291 ]
KNOX-1534 - Avoid try/catch checking for gzip stream
Signed-off-by: Kevin Risden <[email protected]>
> Avoid try/catch checking for gzip stream
> ----------------------------------------
>
> Key: KNOX-1534
> URL: https://issues.apache.org/jira/browse/KNOX-1534
> Project: Apache Knox
> Issue Type: Sub-task
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Minor
> Fix For: 1.2.0
>
> Attachments: KNOX-1534.patch
>
>
> We should also improve the check for gzip to not be a try/catch. Try/catch is
> inefficient. Gzip has a known header that we can search for in the content
> without try/caching.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)