aboutsummaryrefslogtreecommitdiff
path: root/src/tool_formparse.c
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-02-26 23:28:30 +0900
committerSteve Holme <steve_holme@hotmail.com>2015-02-27 21:17:27 +0000
commit48b5374e65a48a14aee18eab0f0b7e3d97850d8f (patch)
treeb034b2b7e5ebfdd07c751ff32d348a8743e89939 /src/tool_formparse.c
parentc715fa0b60c86449e09b313245de621b32e329d2 (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 'src/tool_formparse.c')
0 files changed, 0 insertions, 0 deletions