diff options
author | Hunter Morris <[email protected]> | 2011-09-30 18:05:02 +0100 |
---|---|---|
committer | Hunter Morris <[email protected]> | 2011-10-03 14:58:12 +0100 |
commit | 6250b22384dae437892d256b50c2e91df169b7aa (patch) | |
tree | b5efcc82a8215469123d5532826aab83ba09ced1 /src/cowboy_http_protocol.erl | |
parent | eff94772018b77b969b3a3afe465789c8aa7bef1 (diff) | |
download | cowboy-6250b22384dae437892d256b50c2e91df169b7aa.tar.gz cowboy-6250b22384dae437892d256b50c2e91df169b7aa.tar.bz2 cowboy-6250b22384dae437892d256b50c2e91df169b7aa.zip |
Fix byte-by-byte Websocket handling
If the websocket frame handling code in cowboy_http_websocket receives
only 1 byte at a time, it fails with a badmatch in
cowboy_http_websocket:websocket_data/4. This commit fixes the problem
and introduces a test of the correct behaviour.
Diffstat (limited to 'src/cowboy_http_protocol.erl')
0 files changed, 0 insertions, 0 deletions