pan3793 commented on code in PR #55308:
URL: https://github.com/apache/spark/pull/55308#discussion_r3260680533


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/StaticSQLConf.scala:
##########
@@ -122,6 +122,17 @@ object StaticSQLConf {
       .booleanConf
       .createWithDefault(false)
 
+  val HIVE_THRIFT_SERVER_HTTP_SNI_HOST_CHECK_ENABLED =
+    buildStaticConf("spark.sql.hive.thriftServer.http.sniHostCheckEnabled")
+      .internal()
+      .doc("Whether to enable Jetty's SNI host check on the 
ThriftHttpCLIService HTTPS " +
+        "connector. Since SPARK-45522 (Jetty 10+), Spark has disabled SNI host 
check to " +
+        "preserve backward compatibility. Set to true to enforce SNI host 
checking for " +
+        "stricter security. See SPARK-54293.")
+      .version("5.0.0")

Review Comment:
   as default value does not change the current behavior, we can deliver this 
in 4.3.0. and it's not necessary to mention which JIRA ticket added the config 
in doc.
   
   ```suggestion
           "stricter security.")
         .version("4.3.0")
   ```



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to