[ https://issues.apache.org/jira/browse/KNOX-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Risden updated KNOX-1534: ------------------------------- Attachment: KNOX-1534.patch > 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)