Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12746

[Go][Flight] Client Auth handler overwrites outgoing metadata

    XMLWordPrintableJSON

Details

    Description

      Current version of the Flight Client AuthHandler calls `NewOutgoingMetadata` instead of `AppendToOutgoingContext` which results in overwriting any metadata that was being passed in the request. Switching it to `AppendToOutgoingContext` alleviates the issue by adding the auth header to the metadata without overwriting any existing metadata.

      Attachments

        Issue Links

          Activity

            People

              zeroshade Matthew Topol
              zeroshade Matthew Topol
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h