You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2018/10/19 16:04:00 UTC

[jira] [Updated] (KNOX-1534) Avoid try/catch checking for gzip stream

     [ https://issues.apache.org/jira/browse/KNOX-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Risden updated KNOX-1534:
-------------------------------
    Priority: Minor  (was: Major)

> 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
>
>
> 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)