You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2022/01/15 14:55:00 UTC
[jira] [Resolved] (SPARK-37854) Use type match to simplify TestUtils#withHttpConnection
[ https://issues.apache.org/jira/browse/SPARK-37854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean R. Owen resolved SPARK-37854.
----------------------------------
Fix Version/s: 3.3.0
Resolution: Fixed
Issue resolved by pull request 35154
[https://github.com/apache/spark/pull/35154]
> Use type match to simplify TestUtils#withHttpConnection
> -------------------------------------------------------
>
> Key: SPARK-37854
> URL: https://issues.apache.org/jira/browse/SPARK-37854
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 3.3.0
> Reporter: Yang Jie
> Assignee: Yang Jie
> Priority: Trivial
> Fix For: 3.3.0
>
>
> {code:java}
> if (connection.isInstanceOf[HttpsURLConnection]) {
> ....
> connection.asInstanceOf[HttpsURLConnection].setSSLSocketFactory(sslCtx.getSocketFactory())
> connection.asInstanceOf[HttpsURLConnection].setHostnameVerifier(verifier) {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org