diff options
Diffstat (limited to 'src/cowboy_stream.erl')
-rw-r--r-- | src/cowboy_stream.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_stream.erl b/src/cowboy_stream.erl index b0b570e..92f66ba 100644 --- a/src/cowboy_stream.erl +++ b/src/cowboy_stream.erl @@ -50,7 +50,7 @@ | {socket_error, closed | atom(), human_reason()} | {stream_error, cow_http2:error(), human_reason()} | {connection_error, cow_http2:error(), human_reason()} - | {stop, cow_http2:frame(), human_reason()}. + | {stop, cow_http2:frame() | {exit, any()}, human_reason()}. -export_type([reason/0]). -type partial_req() :: map(). %% @todo Take what's in cowboy_req with everything? optional. |