lib/httpx/channel/http2.rb in httpx-0.0.1 vs lib/httpx/channel/http2.rb in httpx-0.0.2
- old
+ new
@@ -168,10 +168,10 @@
@connection.remote_settings[:settings_max_concurrent_streams]].min
end
def on_close(*)
return unless @connection.state == :closed && @connection.active_stream_count.zero?
- emit(:complete)
+ emit(:close)
end
def on_frame_sent(frame)
log(2, "#{frame[:stream]}: ") { "frame was sent!" }
log(2, "#{frame[:stream]}: ") do