mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Merge pull request #151 from gabrielecirulli/master
Fix typo in pull request that caused an error when trying to set the open_timeout
This commit is contained in:
commit
e4dc65f449
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue