diff options
author | Loïc Hoguin <[email protected]> | 2018-10-28 10:20:43 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-10-28 10:20:43 +0100 |
commit | d4129e63051efb29d7955e7913571671471090a5 (patch) | |
tree | 0d881b7cb300ac4c51777ee9623834c8d5007e84 /doc | |
parent | 21ff3ff256acc6c56e2ab35bb9712ea7b8ef6687 (diff) | |
download | cowboy-d4129e63051efb29d7955e7913571671471090a5.tar.gz cowboy-d4129e63051efb29d7955e7913571671471090a5.tar.bz2 cowboy-d4129e63051efb29d7955e7913571671471090a5.zip |
Exit gracefully on parent exit/sys:terminate/2,3
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/manual/cowboy_stream.asciidoc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/manual/cowboy_stream.asciidoc b/doc/src/manual/cowboy_stream.asciidoc index 4e6e34a..24204bc 100644 --- a/doc/src/manual/cowboy_stream.asciidoc +++ b/doc/src/manual/cowboy_stream.asciidoc @@ -386,7 +386,7 @@ reason() :: normal | switch_protocol | {socket_error, closed | atom(), HumanReadable} | {stream_error, Error, HumanReadable} | {connection_error, Error, HumanReadable} - | {stop, cow_http2:frame(), HumanReadable} + | {stop, cow_http2:frame() | {exit, any()}, HumanReadable} Error = atom() HumanReadable = atom() @@ -420,6 +420,7 @@ tuple. == Changelog +* *2.6*: The `{stop, {exit, any()}, HumanReadable}` terminate reason was added. * *2.2*: The trailers command was introduced. * *2.0*: Module introduced. |