mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
fix typo in request timeout
This commit is contained in:
parent
2a32c7b3db
commit
7077615bb0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue