diff --git a/lib/faraday/adapter.rb b/lib/faraday/adapter.rb index c16227512..6ece3e357 100644 --- a/lib/faraday/adapter.rb +++ b/lib/faraday/adapter.rb @@ -60,6 +60,10 @@ def connection(env) yield conn end + # Close any persistent connections. The adapter should still be usable after calling close. + def close + end + def call(env) env.clear_body if env.needs_body? env.response = Response.new