diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-02-17 21:36:59 +0900 | 
|---|---|---|
| committer | Jay Satiro <raysatiro@yahoo.com> | 2016-04-11 21:43:24 -0400 | 
| commit | 92c2a4c053f75bbfe8434379dbdd6acd714a2252 (patch) | |
| tree | 8e9ddd90b90500e33da0cf006a11ee6b18b47334 /docs | |
| parent | b2a0376350cb4f788ca2cdff2e89a23bdc789888 (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/libcurl/libcurl-errors.3 | 2 | ||||
| -rw-r--r-- | docs/libcurl/symbols-in-versions | 1 | 
2 files changed, 3 insertions, 0 deletions
| diff --git a/docs/libcurl/libcurl-errors.3 b/docs/libcurl/libcurl-errors.3 index 5d525382a..0a21a7589 100644 --- a/docs/libcurl/libcurl-errors.3 +++ b/docs/libcurl/libcurl-errors.3 @@ -251,6 +251,8 @@ available, the session will be queued. (added in 7.30.0)  Failed to match the pinned key specified with \fICURLOPT_PINNEDPUBLICKEY(3)\fP.  .IP "CURLE_SSL_INVALIDCERTSTATUS (91)"  Status returned failure when asked with \fICURLOPT_SSL_VERIFYSTATUS(3)\fP. +.IP "CURLE_HTTP2_STREAM (92)" +Stream error in the HTTP/2 framing layer.  .IP "CURLE_OBSOLETE*"  These error codes will never be returned. They were used in an old libcurl  version and are currently unused. diff --git a/docs/libcurl/symbols-in-versions b/docs/libcurl/symbols-in-versions index 3e64039a4..524d4ff62 100644 --- a/docs/libcurl/symbols-in-versions +++ b/docs/libcurl/symbols-in-versions @@ -75,6 +75,7 @@ CURLE_FTP_WRITE_ERROR           7.1           7.17.0  CURLE_FUNCTION_NOT_FOUND        7.1  CURLE_GOT_NOTHING               7.9.1  CURLE_HTTP2                     7.38.0 +CURLE_HTTP2_STREAM              7.49.0  CURLE_HTTP_NOT_FOUND            7.1  CURLE_HTTP_PORT_FAILED          7.3           7.12.0  CURLE_HTTP_POST_ERROR           7.1 | 
