lib/httpx/plugins/retries.rb in httpx-0.4.1 vs lib/httpx/plugins/retries.rb in httpx-0.5.0

- old
+ new

@@ -52,9 +52,10 @@ request.retries -= 1 log { "failed to get response, #{request.retries} tries to go..." } request.transition(:idle) connection = find_connection(request, connections, options) connection.send(request) + set_request_timeout(connection, request, options) return end response end