From d4129e63051efb29d7955e7913571671471090a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 28 Oct 2018 10:20:43 +0100 Subject: Exit gracefully on parent exit/sys:terminate/2,3 --- doc/src/manual/cowboy_stream.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/src/manual') 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. -- cgit v1.2.3