From 4bebe39975aab28962ac3850aa25a7d768c349bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Sun, 22 Oct 2017 14:53:04 +0100
Subject: Ensure stream terminate is called when switching protocols

---
 doc/src/manual/cowboy_stream.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'doc/src/manual/cowboy_stream.asciidoc')

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}
-- 
cgit v1.2.3

