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 c774527 commit 19eccb1Copy full SHA for 19eccb1
src/com/loopj/android/http/AsyncHttpClient.java
@@ -117,6 +117,7 @@ public AsyncHttpClient() {
117
ConnManagerParams.setMaxTotalConnections(httpParams, DEFAULT_MAX_CONNECTIONS);
118
119
HttpConnectionParams.setSoTimeout(httpParams, socketTimeout);
120
+ HttpConnectionParams.setConnectionTimeout(httpParams, socketTimout);
121
HttpConnectionParams.setTcpNoDelay(httpParams, true);
122
HttpConnectionParams.setSocketBufferSize(httpParams, DEFAULT_SOCKET_BUFFER_SIZE);
123
0 commit comments