Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6561

Docker manifest fetcher fails to handle HTTP redirects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0.1
    • None
    • docker

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ipronin Ilya
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: