Skip to content

Commit

Permalink
Update XiaoyaProxyHandler.java
Browse files Browse the repository at this point in the history
  • Loading branch information
zengge99 authored Jul 19, 2024
1 parent 4e29057 commit e2a839e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private static class HttpDownloader extends InputStream {
String referer = null;
int blockCounter = 0;
OkHttpClient downloadClient = null;
OkHttpClient defaultClient = new OkHttpClient.Builder().connectTimeout(30, TimeUnit.SECONDS).readTimeout(30, TimeUnit.SECONDS).writeTimeout(30, TimeUnit.SECONDS).hostnameVerifier((hostname, session) -> true).sslSocketFactory(new MySSLCompat(), MySSLCompat.TM);
OkHttpClient defaultClient = new OkHttpClient.Builder().connectTimeout(30, TimeUnit.SECONDS).readTimeout(30, TimeUnit.SECONDS).writeTimeout(30, TimeUnit.SECONDS).hostnameVerifier((hostname, session) -> true).sslSocketFactory(new MySSLCompat(), MySSLCompat.TM).build();

private HttpDownloader(Map<String, String> params) {

Expand Down

0 comments on commit e2a839e

Please sign in to comment.