aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-04-18 16:36:03 +0200
committerLoïc Hoguin <[email protected]>2017-04-18 16:36:03 +0200
commitb403f26da6bef8ff41855fa499c75f42b02ecb69 (patch)
tree30522dbb1d8f4beed2921ec4a040d59e669add24
parentb7210d6d1ab48c859c7dde0fd9290dae010ddd15 (diff)
downloadcowboy-b403f26da6bef8ff41855fa499c75f42b02ecb69.tar.gz
cowboy-b403f26da6bef8ff41855fa499c75f42b02ecb69.tar.bz2
cowboy-b403f26da6bef8ff41855fa499c75f42b02ecb69.zip
Remove an outdated todo comment2.0.0-pre.8
-rw-r--r--src/cowboy_stream.erl7
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]).