From 9748f9c47ec5dcd4e8ac710dd7fcb08694e0ee7c Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Thu, 21 Jul 2011 21:59:01 +0100 Subject: [PATCH] Oops, timeouts are int64 nanoseconds. --- client/connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/connection.go b/client/connection.go index a18a4e7..c1309ca 100644 --- a/client/connection.go +++ b/client/connection.go @@ -41,7 +41,7 @@ type Conn struct { SSLConfig *tls.Config // Socket timeout, in seconds. Defaulted to 5m in New(). - Timeout int + Timeout int64 // Set this to true to disable flood protection and false to re-enable Flood bool