Skip to content

Commit

Permalink
httpĬ��retry������Ϊ3��
Browse files Browse the repository at this point in the history
  • Loading branch information
wyouflf committed Jul 4, 2014
1 parent 07c330b commit f542d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/com/lidroid/xutils/HttpUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public void process(HttpResponse response, HttpContext httpContext) throws org.a

private final static int DEFAULT_CONN_TIMEOUT = 1000 * 15; // 15s

private final static int DEFAULT_RETRY_TIMES = 5;
private final static int DEFAULT_RETRY_TIMES = 3;

private static final String HEADER_ACCEPT_ENCODING = "Accept-Encoding";
private static final String ENCODING_GZIP = "gzip";
Expand Down

0 comments on commit f542d7f

Please sign in to comment.