aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_loop_handler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_loop_handler.erl')
-rw-r--r--src/cowboy_loop_handler.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cowboy_loop_handler.erl b/src/cowboy_loop_handler.erl
index f8d008f..af49e57 100644
--- a/src/cowboy_loop_handler.erl
+++ b/src/cowboy_loop_handler.erl
@@ -41,6 +41,8 @@
-type state() :: any().
-type terminate_reason() :: {normal, shutdown}
| {normal, timeout}
+ | {error, closed}
+ | {error, overflow}
| {error, atom()}.
-callback init({atom(), http}, Req, opts())