]> granicus.if.org Git - curl/commit
http2: Add handling stream level error
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Wed, 17 Feb 2016 12:36:59 +0000 (21:36 +0900)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 12 Apr 2016 01:43:24 +0000 (21:43 -0400)
commit92c2a4c053f75bbfe8434379dbdd6acd714a2252
tree8e9ddd90b90500e33da0cf006a11ee6b18b47334
parentb2a0376350cb4f788ca2cdff2e89a23bdc789888
http2: Add handling stream level error

Previously, when a stream was closed with other than NGHTTP2_NO_ERROR
by RST_STREAM, underlying TCP connection was dropped.  This is
undesirable since there may be other streams multiplexed and they are
very much fine.  This change introduce new error code
CURLE_HTTP2_STREAM, which indicates stream error that only affects the
relevant stream, and connection should be kept open.  The existing
CURLE_HTTP2 means connection error in general.

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663
docs/libcurl/libcurl-errors.3
docs/libcurl/symbols-in-versions
include/curl/curl.h
lib/http2.c
lib/multi.c
lib/strerror.c
packages/OS400/curl.inc.in