fredjoonpark commented on code in PR #1363:
URL: https://github.com/apache/arrow-java/pull/1363#discussion_r4297194547


##########
flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/client/ArrowFlightSqlClientHandler.java:
##########
@@ -1065,6 +1101,9 @@ public ArrowFlightSqlClientHandler build() throws 
SQLException {
         buildTimeMiddlewareFactories.forEach(clientBuilder::intercept);
         if (useEncryption) {
           clientBuilder.useTls();
+          if (hostnameOverride != null) {

Review Comment:
   `withHostnameOverride` now trims the value and treats blank as unset, so 
endpoint connections fall back to the host too.



-- 
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