aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-10-22 14:53:04 +0100
committerLoïc Hoguin <[email protected]>2017-10-22 14:53:04 +0100
commit4bebe39975aab28962ac3850aa25a7d768c349bb (patch)
treea805886c2c37ed3c8827cb1572c194a8eba163cb /doc/src
parentdebaecd49ae3efab4c319f3ec67677c82fe9e9a5 (diff)
downloadcowboy-4bebe39975aab28962ac3850aa25a7d768c349bb.tar.gz
cowboy-4bebe39975aab28962ac3850aa25a7d768c349bb.tar.bz2
cowboy-4bebe39975aab28962ac3850aa25a7d768c349bb.zip
Ensure stream terminate is called when switching protocols
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/manual/cowboy_stream.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/manual/cowboy_stream.asciidoc b/doc/src/manual/cowboy_stream.asciidoc
index ffdfdae..a26d420 100644
--- a/doc/src/manual/cowboy_stream.asciidoc
+++ b/doc/src/manual/cowboy_stream.asciidoc
@@ -355,7 +355,7 @@ detected.
[source,erlang]
----
-reason() :: normal
+reason() :: normal | switch_protocol
| {internal_error, timeout | {error | exit | throw, any()}, HumanReadable}
| {socket_error, closed | atom(), HumanReadable}
| {stream_error, Error, HumanReadable}