diff options
Diffstat (limited to 'src/cowboy_stream.erl')
-rw-r--r-- | src/cowboy_stream.erl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/cowboy_stream.erl b/src/cowboy_stream.erl index d4ddc9f..fbad569 100644 --- a/src/cowboy_stream.erl +++ b/src/cowboy_stream.erl @@ -37,13 +37,8 @@ | {flow, auto | integer()} | {spawn, pid(), timeout()} | {error_response, cowboy:http_status(), cowboy:http_headers(), iodata()} - | {internal_error, any(), human_reason()} | {switch_protocol, cowboy:http_headers(), module(), state()} - %% @todo I'm not convinced we need this 'stop' command. - %% It's used on crashes, but error_response should - %% terminate the request instead. It's also used on - %% normal exits of children. I'm not sure what to do - %% there yet. Investigate. + | {internal_error, any(), human_reason()} | stop]. -export_type([commands/0]). |