[
https://issues.apache.org/jira/browse/MESOS-6561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilbert Song updated MESOS-6561:
--------------------------------
Labels: docker-fetcher (was: )
> Docker manifest fetcher fails to handle HTTP redirects
> ------------------------------------------------------
>
> Key: MESOS-6561
> URL: https://issues.apache.org/jira/browse/MESOS-6561
> Project: Mesos
> Issue Type: Bug
> Components: docker
> Affects Versions: 1.0.1
> Reporter: Ilya Pronin
> Priority: Minor
> Labels: docker-fetcher
>
> Internal {{curl()}} function in Docker fetcher uses {{curl}} utility with
> {{-L}} (follow {{Location}}) and {{-i}} (include headers) flags to fetch
> manifests and then parses its output (a series of raw HTTP responses).
> {{curl}} silently drops the body of a “redirect” response from it's output
> while potentially non-zero {{Content-Length}} header field is still present.
> This makes {{ResponseDecoder}} consume headers of a next response and fail
> parsing or yield incorrect results.
> Right now this is not a real issue because currently Docker Registry serves
> image manifests without redirects.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)