Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 8961f10

Browse files
committed
Fix Android HTTP request try issue #72
1 parent 4d58919 commit 8961f10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ public Response intercept(Chain chain) throws IOException {
309309
clientBuilder.readTimeout(options.timeout, TimeUnit.MILLISECONDS);
310310
}
311311
clientBuilder.connectionPool(pool);
312+
clientBuilder.retryOnConnectionFailure(false);
312313
OkHttpClient client = clientBuilder.build();
313314
Call call = client.newCall(req);
314315
taskTable.put(taskId, call);

0 commit comments

Comments
 (0)