mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Rename cowboy_http_websocket to cowboy_websocket
This commit is contained in:
parent
f39c001c03
commit
0e3adf1fee
7 changed files with 7 additions and 7 deletions
|
@ -327,7 +327,7 @@ handler_before_loop(HandlerState, Req, State) ->
|
|||
State2 = handler_loop_timeout(State),
|
||||
handler_loop(HandlerState, Req, State2).
|
||||
|
||||
%% Almost the same code can be found in cowboy_http_websocket.
|
||||
%% Almost the same code can be found in cowboy_websocket.
|
||||
-spec handler_loop_timeout(#state{}) -> #state{}.
|
||||
handler_loop_timeout(State=#state{loop_timeout=infinity}) ->
|
||||
State#state{loop_timeout_ref=undefined};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue