Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9772

Perform HEAD request to retrieve header information

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2.0, 4.2.1, 4.3.0, 4.4.0, 4.5.0, 4.3.1, 4.4.1, 4.4.2, 4.4.3, 4.3.2, 4.5.1, 4.4.4, 4.5.2, 4.6.0, 4.6.1, 4.6.2, 4.7.0, 4.7.1, 4.8.0, 4.9.0, 4.8.1.1, 4.9.0.1, 4.5.2.2
    • Fix Version/s: None
    • Component/s: Template
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None

      Description

      The function in UriUtils which perform a check for the template file size of an arbitrary URL is sending a `GET` request to only retrieve the response header. A `HEAD` is the correct way of retrieving such information from the response header.

      This was affecting the restart of a management server since all templates were retrieved when receiving the startup command from the secondary storage sysvm.

        Attachments

          Activity

            People

            • Assignee:
              marcaurele Marc-Aurèle Brothier
              Reporter:
              marcaurele Marc-Aurèle Brothier
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: