diff options
Diffstat (limited to 'src/cowboy_http_handler.erl')
-rw-r--r-- | src/cowboy_http_handler.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cowboy_http_handler.erl b/src/cowboy_http_handler.erl index 0393153..3ad8f88 100644 --- a/src/cowboy_http_handler.erl +++ b/src/cowboy_http_handler.erl @@ -35,6 +35,8 @@ -type state() :: any(). -type terminate_reason() :: {normal, shutdown} | {normal, timeout} %% Only occurs in loop handlers. + | {error, closed} %% Only occurs in loop handlers. + | {error, overflow} %% Only occurs in loop handlers. | {error, atom()}. -callback init({atom(), http}, Req, opts()) |