diff options
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-02-26 23:28:30 +0900 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-02-27 21:17:27 +0000 |
commit | 48b5374e65a48a14aee18eab0f0b7e3d97850d8f (patch) | |
tree | b034b2b7e5ebfdd07c751ff32d348a8743e89939 /tests/data/test44 | |
parent | c715fa0b60c86449e09b313245de621b32e329d2 (diff) |
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.
Diffstat (limited to 'tests/data/test44')
0 files changed, 0 insertions, 0 deletions