Revert "Workaround for improper timeout for Ping commands"
* The underlying bug was fixed by bdc in I080147b017b961502b3ba98d40841fea679491eb
This reverts commit 9166aa46da96d179b5124d96babf9a34c8e1d619.
Change-Id: I51e7e585e7b1624cc2b08ea81baba6f2602a76cf
diff --git a/src/com/android/exchange/EasSyncService.java b/src/com/android/exchange/EasSyncService.java
index 215380d..6ad000f 100644
--- a/src/com/android/exchange/EasSyncService.java
+++ b/src/com/android/exchange/EasSyncService.java
@@ -1309,12 +1309,7 @@
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;
}