0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Remove an outdated todo comment

This commit is contained in:
Loïc Hoguin 2017-04-18 16:36:03 +02:00
parent b7210d6d1a
commit b403f26da6
No known key found for this signature in database
GPG key ID: 71366FF21851DF03

View file

@ -37,13 +37,8 @@
| {flow, auto | integer()} | {flow, auto | integer()}
| {spawn, pid(), timeout()} | {spawn, pid(), timeout()}
| {error_response, cowboy:http_status(), cowboy:http_headers(), iodata()} | {error_response, cowboy:http_status(), cowboy:http_headers(), iodata()}
| {internal_error, any(), human_reason()}
| {switch_protocol, cowboy:http_headers(), module(), state()} | {switch_protocol, cowboy:http_headers(), module(), state()}
%% @todo I'm not convinced we need this 'stop' command. | {internal_error, any(), human_reason()}
%% 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.
| stop]. | stop].
-export_type([commands/0]). -export_type([commands/0]).