Skip to content
Commit 48b5374e authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa Committed by Steve Holme
Browse files

http2: Return error if stream was closed with other than NO_ERROR

Previously, we just ignored error code passed to
on_stream_close_callback and just return 0 (success) after stream
closure even if stream was reset with error.  This patch records error
code in on_stream_close_callback, and return -1 and use CURLE_HTTP2
error code on abnormal stream closure.
parent c715fa0b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment