aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_protocol.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_http_protocol.erl')
-rw-r--r--src/cowboy_http_protocol.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cowboy_http_protocol.erl b/src/cowboy_http_protocol.erl
index 34f0c0d..2ac4e54 100644
--- a/src/cowboy_http_protocol.erl
+++ b/src/cowboy_http_protocol.erl
@@ -38,8 +38,7 @@ start_link(Socket, Transport, Opts) ->
%% FSM.
--spec init(Socket::socket(), Transport::module(), Opts::term())
- -> ok | {error, no_ammo}.
+-spec init(Socket::socket(), Transport::module(), Opts::term()) -> ok.
init(Socket, Transport, Opts) ->
Dispatch = proplists:get_value(dispatch, Opts, []),
Timeout = proplists:get_value(timeout, Opts, 5000),