Merge "Revert "Workaround for improper timeout for Ping commands""
This commit is contained in:
commit
454f39f68b
@ -1309,12 +1309,7 @@ public class EasSyncService extends AbstractSyncService {
|
||||
HttpConnectionParams.setConnectionTimeout(params, CONNECTION_TIMEOUT);
|
||||
HttpConnectionParams.setSoTimeout(params, timeout);
|
||||
HttpConnectionParams.setSocketBufferSize(params, 8192);
|
||||
//HttpClient client = new DefaultHttpClient(getClientConnectionManager(), params);
|
||||
// STOPSHIP Replace this line with the previous, commented-out line
|
||||
// The underlying problem (socket timeout is not being updated for reused, pooled
|
||||
// connections) needs to be fixed prior to ship
|
||||
HttpClient client = new DefaultHttpClient(
|
||||
timeout == COMMAND_TIMEOUT ? getClientConnectionManager() : null, params);
|
||||
HttpClient client = new DefaultHttpClient(getClientConnectionManager(), params);
|
||||
return client;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user