Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  2. HAWQ-972

Curl upload field should be set before sending request

    XMLWordPrintableJSON

Details

    Description

      HAWQ-932 refactored out common code from curl_init_upload and curl_init_download into curl_init, however curl_init now invokes setup_multi_handle which performs the async curl request before curl_init_upload sets the upload parameter to false. This leads to a non-deterministic error where GET requests are made to PXF endpoints that only accept POST requests leading to a 405 status return code from PXF.

      Attachments

        Issue Links

          Activity

            People

              kavinderd Kavinder Dhaliwal
              kavinderd Kavinder Dhaliwal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: