lib/httpx/connection.rb in httpx-0.20.1 vs lib/httpx/connection.rb in httpx-0.20.2

- old
+ new

@@ -274,9 +274,15 @@ def open? @state == :open || @state == :inactive end + def raise_timeout_error(interval) + error = HTTPX::TimeoutError.new(interval, "timed out while waiting on select") + error.set_backtrace(caller) + on_error(error) + end + private def connect transition(:open) end