lib/httpx/connection.rb in httpx-0.15.4 vs lib/httpx/connection.rb in httpx-0.16.0

- old
+ new

@@ -67,13 +67,13 @@ else transition(:idle) end @inflight = 0 - @keep_alive_timeout = options.timeout[:keep_alive_timeout] + @keep_alive_timeout = @options.timeout[:keep_alive_timeout] @keep_alive_timer = nil - self.addresses = options.addresses if options.addresses + self.addresses = @options.addresses if @options.addresses end # this is a semi-private method, to be used by the resolver # to initiate the io object. def addresses=(addrs)