lib/httpx/selector.rb in httpx-0.10.2 vs lib/httpx/selector.rb in httpx-0.11.0

- old
+ new

@@ -115,9 +115,10 @@ raise HTTPX::TimeoutError.new(interval, "timed out while waiting on select") unless result yield io rescue IOError, SystemCallError @selectables.reject!(&:closed?) + raise unless @selectables.empty? end def select(interval, &block) return select_one(interval, &block) if @selectables.size == 1