From 7077615bb0e8810455cffcc210fcab3b06cd3ea8 Mon Sep 17 00:00:00 2001 From: Gabriele Cirulli Date: Sat, 29 Dec 2012 17:29:09 +0100 Subject: [PATCH] fix typo in request timeout --- lib/restclient/request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/restclient/request.rb b/lib/restclient/request.rb index 7ea0d43..5f9f814 100644 --- a/lib/restclient/request.rb +++ b/lib/restclient/request.rb @@ -165,7 +165,7 @@ module RestClient # disable the timeout if the timeout value is -1 net.read_timeout = nil if @timeout == -1 - net.out_timeout = nil if @open_timeout == -1 + net.open_timeout = nil if @open_timeout == -1 RestClient.before_execution_procs.each do |before_proc| before_proc.call(req, args)