aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-10-28 10:20:43 +0100
committerLoïc Hoguin <[email protected]>2018-10-28 10:20:43 +0100
commitd4129e63051efb29d7955e7913571671471090a5 (patch)
tree0d881b7cb300ac4c51777ee9623834c8d5007e84 /doc/src
parent21ff3ff256acc6c56e2ab35bb9712ea7b8ef6687 (diff)
downloadcowboy-d4129e63051efb29d7955e7913571671471090a5.tar.gz
cowboy-d4129e63051efb29d7955e7913571671471090a5.tar.bz2
cowboy-d4129e63051efb29d7955e7913571671471090a5.zip
Exit gracefully on parent exit/sys:terminate/2,3
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/manual/cowboy_stream.asciidoc3
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.