aboutsummaryrefslogtreecommitdiffstats
path: root/test/chunked_handler.erl
diff options
context:
space:
mode:
authorHunter Morris <[email protected]>2011-09-30 18:05:02 +0100
committerHunter Morris <[email protected]>2011-10-03 14:58:12 +0100
commit6250b22384dae437892d256b50c2e91df169b7aa (patch)
treeb5efcc82a8215469123d5532826aab83ba09ced1 /test/chunked_handler.erl
parenteff94772018b77b969b3a3afe465789c8aa7bef1 (diff)
downloadcowboy-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 'test/chunked_handler.erl')
0 files changed, 0 insertions, 0 deletions