mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-08-12 00:01:58 -04:00
fixed API inconsistency with http-2
This commit is contained in:
parent
d301ce6ab5
commit
37bbdf1ace
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user