jmao-denver opened a new pull request, #48967:
URL: https://github.com/apache/arrow/pull/48967

   
   ### Rationale for this change
   
   The bug breaks a Flight SQL server that refreshens the auth token when 
cookie authentication is enabled
   
   ### What changes are included in this PR?
   
   1. In the ODBC layer, removed the code that adds a 2nd 
ClientCookieMiddlewareFactory in the client options (the 1st one is registered 
in `BuildFlightClientOptions`). This fixes the issue of the duplicate header 
cookie fields.
   2. In the flight client layer, uses the case-insensitive equality comparator 
instead of the case-insensitive less-than comparator for the cookies cache 
which is an unordered map. This fixes the issue of duplicate cookie keys.
   
   ### Are these changes tested?
   Manually on Windows, and CI
   
   ### Are there any user-facing changes?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to