mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Ensure stream terminate is called when switching protocols
This commit is contained in:
parent
debaecd49a
commit
4bebe39975
5 changed files with 42 additions and 14 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue