summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xlib/pure/redis.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/redis.nim b/lib/pure/redis.nim
index 7cdba9efc..921f9a3d8 100755
--- a/lib/pure/redis.nim
+++ b/lib/pure/redis.nim
@@ -34,7 +34,7 @@ type
 
 proc open*(host = "localhost", port = 6379.TPort): TRedis =
   ## Opens a connection to the redis server.
-  result.socket = socket()
+  result.socket = socket(buffered = false)
   if result.socket == InvalidSocket:
     OSError()
   result.socket.connect(host, port)