diff options
author | Loïc Hoguin <[email protected]> | 2016-08-15 18:06:16 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-08-15 18:06:16 +0200 |
commit | af88442610f9f0cc3ec620bbae9ad90f940a8176 (patch) | |
tree | 1058b26ac6e75bb984b3fc71e8ee1aaaa81ac16d /src | |
parent | d1b65a67cf093160c383071ef1bb40b0fc096d88 (diff) | |
download | cowboy-af88442610f9f0cc3ec620bbae9ad90f940a8176.tar.gz cowboy-af88442610f9f0cc3ec620bbae9ad90f940a8176.tar.bz2 cowboy-af88442610f9f0cc3ec620bbae9ad90f940a8176.zip |
Modernize the Websocket test suite
Diffstat (limited to 'src')
-rw-r--r-- | src/cowboy_websocket.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_websocket.erl b/src/cowboy_websocket.erl index 7971442..e7736fa 100644 --- a/src/cowboy_websocket.erl +++ b/src/cowboy_websocket.erl @@ -384,6 +384,7 @@ websocket_send(Frame, #state{socket=Socket, transport=Transport, extensions=Exte websocket_send_many([], _) -> ok; websocket_send_many([Frame|Tail], State) -> + %% @todo Send the frames all in one larger TCP packet rather than potentially many small. case websocket_send(Frame, State) of ok -> websocket_send_many(Tail, State); stop -> stop; |