From b403f26da6bef8ff41855fa499c75f42b02ecb69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 18 Apr 2017 16:36:03 +0200 Subject: Remove an outdated todo comment --- src/cowboy_stream.erl | 7 +------ 1 file changed, 1 insertion(+), 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]). -- cgit v1.2.3