lib/httpx/io/tcp.rb in httpx-1.2.6 vs lib/httpx/io/tcp.rb in httpx-1.3.0
- old
+ new
@@ -15,10 +15,10 @@
def initialize(origin, addresses, options)
@state = :idle
@addresses = []
@hostname = origin.host
- @options = Options.new(options)
+ @options = options
@fallback_protocol = @options.fallback_protocol
@port = origin.port
@interests = :w
if @options.io
@io = case @options.io