You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Ilya Pronin (JIRA)" <ji...@apache.org> on 2016/11/08 14:59:58 UTC
[jira] [Created] (MESOS-6561) Docker manifest fetcher fails to
handle HTTP redirects
Ilya Pronin created MESOS-6561:
----------------------------------
Summary: 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
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.4#6332)