[
https://issues.apache.org/jira/browse/KNOX-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dilli Arumugam updated KNOX-173:
--------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> leverage presence of delegation token to avoid buffering request entity
> ------------------------------------------------------------------------
>
> Key: KNOX-173
> URL: https://issues.apache.org/jira/browse/KNOX-173
> Project: Apache Knox
> Issue Type: Improvement
> Components: Server
> Affects Versions: 0.3.0
> Reporter: Dilli Arumugam
> Assignee: Dilli Arumugam
> Fix For: 0.3.0
>
> Attachments: KNOX-173.patch
>
>
> At present, HttpClientDispatch caches request entities while talking to
> services in secure cluster to replay the entity for a potential
> WWW-Authenticate challenge from service.
> This could be improved by leveraging delegation token coming down with the
> request to Knox. When we pass down the delegation token, we do not expect to
> see WWW-Authenticate challenge. When Knox gets request from client targeted
> to DataNode, it would always have DelegationToken. So, large files would be
> streamed straight without any buffering.
--
This message was sent by Atlassian JIRA
(v6.1#6144)