Skip to content

Commit

Permalink
Respect connection timeout options (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerkahn authored Jun 30, 2020
1 parent 97e5102 commit f5539ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faraday/adapter/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def perform_request(env)
def setup_connection(env)
conn = ::HTTP

request_config(conn, env[:request]) if env[:request]
conn = request_config(conn, env[:request]) if env[:request]
conn.headers(env.request_headers)
end

Expand Down

0 comments on commit f5539ea

Please sign in to comment.