-
- Downloads
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
Showing
- docs/libcurl/libcurl-errors.3 2 additions, 0 deletionsdocs/libcurl/libcurl-errors.3
- docs/libcurl/symbols-in-versions 1 addition, 0 deletionsdocs/libcurl/symbols-in-versions
- include/curl/curl.h 2 additions, 0 deletionsinclude/curl/curl.h
- lib/http2.c 8 additions, 1 deletionlib/http2.c
- lib/multi.c 2 additions, 1 deletionlib/multi.c
- lib/strerror.c 3 additions, 0 deletionslib/strerror.c
- packages/OS400/curl.inc.in 2 additions, 0 deletionspackages/OS400/curl.inc.in
Please register or sign in to comment