diff --git a/lib/httpx/channel/http2.rb b/lib/httpx/channel/http2.rb index c266365a..c92dbc82 100644 --- a/lib/httpx/channel/http2.rb +++ b/lib/httpx/channel/http2.rb @@ -191,7 +191,7 @@ module HTTPX @connection.remote_settings[:settings_max_concurrent_streams]].min end - def on_close(error) + def on_close(_last_frame, error, _payload) if error ex = Error.new(0, error) ex.set_backtrace(caller)