Browse Source

Remove an outdated todo comment

Loïc Hoguin 8 years ago
parent
commit
b403f26da6
1 changed files with 1 additions and 6 deletions
  1. 1 6
      src/cowboy_stream.erl

+ 1 - 6
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]).