Merge branch 'master' of github.com:rdifalco/jedis into rdifalco-master

Conflicts:
	src/main/java/redis/clients/jedis/BinaryJedis.java
This commit is contained in:
Jungtaek Lim
2014-11-13 13:20:59 +09:00
5 changed files with 197 additions and 226 deletions

View File

@@ -54,7 +54,6 @@ public class Connection implements Closeable {
if (!isConnected()) {
connect();
}
socket.setKeepAlive(true);
socket.setSoTimeout(0);
} catch (SocketException ex) {
broken = true;
@@ -65,7 +64,6 @@ public class Connection implements Closeable {
public void rollbackTimeout() {
try {
socket.setSoTimeout(timeout);
socket.setKeepAlive(false);
} catch (SocketException ex) {
broken = true;
throw new JedisConnectionException(ex);