lib/httpx/connection/http1.rb in httpx-0.14.5 vs lib/httpx/connection/http1.rb in httpx-0.15.0
- old
+ new
@@ -22,9 +22,13 @@
@pending = []
@requests = []
@handshake_completed = false
end
+ def timeout
+ @options.timeout[:operation_timeout]
+ end
+
def interests
# this means we're processing incoming response already
return :r if @request
return if @requests.empty?