Skip to content

Commit c5cae37

Browse files
committed
Remove lock on https 1.1 protocol
1 parent 2f1cbc5 commit c5cae37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/microsoft/graph/httpcore/HttpClients.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ public static Builder custom() {
3030
return new OkHttpClient.Builder()
3131
.addInterceptor(new TelemetryHandler())
3232
.followRedirects(false)
33-
.followSslRedirects(false)
34-
.protocols(Collections.singletonList(Protocol.HTTP_1_1)); //https://stackoverflow.com/questions/62031298/sockettimeout-on-java-11-but-not-on-java-8
33+
.followSslRedirects(false);
3534
}
3635

3736
/**

0 commit comments

Comments
 (0)