diff options
-rw-r--r-- | src/cowboy_http_protocol.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cowboy_http_protocol.erl b/src/cowboy_http_protocol.erl index a6cedbe..7209be4 100644 --- a/src/cowboy_http_protocol.erl +++ b/src/cowboy_http_protocol.erl @@ -196,7 +196,8 @@ error_response(Code, #state{socket=Socket, transport=Transport, connection=Connection}) -> cowboy_http_req:reply(Code, [], [], #http_req{ socket=Socket, transport=Transport, - connection=Connection, resp_state=waiting}). + connection=Connection, resp_state=waiting}), + ok. -spec error_terminate(Code::http_status(), State::#state{}) -> ok. error_terminate(Code, State) -> |