We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd49245 commit f718a67Copy full SHA for f718a67
core/runtime/android/runtime/src/main/java/org/hapjs/common/net/OkHttpClientBuilderFactory.java
@@ -93,7 +93,7 @@ private static void setRestrictedSslConfiguration (OkHttpClient.Builder builder)
93
.tlsVersions(SECURE_TLS_VERSIONS)
94
.cipherSuites(SECURE_CIPHER_SUITES)
95
.build();
96
- builder.connectionSpecs(Collections.singletonList(spec));
+ builder.connectionSpecs(Util.immutableList(spec, ConnectionSpec.CLEARTEXT));
97
}
98
99
/**
0 commit comments