diff options
Diffstat (limited to 'test/http_handler_long_polling.erl')
-rw-r--r-- | test/http_handler_long_polling.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_handler_long_polling.erl b/test/http_handler_long_polling.erl index 8d08265..d61d697 100644 --- a/test/http_handler_long_polling.erl +++ b/test/http_handler_long_polling.erl @@ -12,7 +12,7 @@ handle(_Req, _State) -> exit(badarg). info(timeout, Req, 0) -> - {ok, Req2} = cowboy_http_req:reply(102, Req), + {ok, Req2} = cowboy_req:reply(102, Req), {ok, Req2, 0}; info(timeout, Req, State) -> erlang:send_after(500, self(), timeout), |